I have Register my app for the windows store (by doing steps 1 to 13) as in the link
Now notification works when I'am adding notifications in developer account. Now I want to know that can I send the notification message to my app externally? For example when I enter a text on html/php page and press a button, that entered text should be send as a notification message to all app users (both foreground and background). How can I link all this?
if you registered your app to get a push notification channel your getting an uri where you can reach your app. In your php script you need to send notifications to that uri. So your app have to register the uri in your backend so you have it available in your sender. then when you push the button you need to send the notification to that uri. see more here: https://learn.microsoft.com/en-us/windows/uwp/design/shell/tiles-and-notifications/windows-push-notification-services--wns--overview
Related
I am trying to use email verification in my Xamarin/Firebase app.
I currently have:
using (var actionCode = ActionCodeSettings.NewBuilder()
.SetHandleCodeInApp(true).Build()) {
await user.SendEmailVerification(actionCode);
}
This properly sends a verification email.
What I don't know is how to specify a callback in the app to catch user clicking on the verification link.
Any advice/guidance will be appreciated.
It's still unclear to me what's the point of the SetHandleCodeInnApp option. It seems to indicate that there is a way of handling the verification event in the app
Whether the email action link will be opened in a mobile app or a web link first. The default is false. When set to true, the action code link will be be sent as a Universal Link or Android App Link and will be opened by the app if installed. In the false case, the code will be sent to the web widget first and then on continue will redirect to the app if installed.
For more details, you could check the document. https://firebase.google.com/docs/auth/android/passing-state-in-email-actions
My app has a little dialog where users can click to opt-in for push notifications. On iOS when they press this, they get the permission request and then if they approve it, I send a POST request to my server with their push tokens.
Since, Android remote notification permissions are granted during the app installation, when do I send this POST request to my server with their push tokens?
Save it on first launch.
Using AsyncStorage you can save user first launch and save the token at this time
I am using an firebase app that sends verification and lost password emails to users.
The users get the email form
noreply#admob-app-id-123456789.firebaseapp.com
How can I change this email address.
Note here that I am using firebase with angularfire for the web.
Thanks
You can set the email address in the Firebase Authentication console.
Specifically:
Open your project in the Firebase Console
Click Authentication in the leftnav
Click TEMPLATES in the topnav
Click the little pencil icon next to From
Now I need to send the message to the people:
That we custom their properties.For example whether the email is activated after they register,if they have activated the email then they can receive the notification but the inactivated one cant,we set the properties when the user login their account ,if the first one who has already activated their Email ,then if we send the notification that with that receiver who activated email tab ,then the phone can receive notification .and then we changed the account that haven't activated the email,then send the same notification ,and then the phone still can receive the notification ,and also if we send the message in a not activated email tab ,the phone cant receive the notification.
I want to the the reason of this problem and the ways of solve it .
Thank you for your help.
Edit:
if someone have registered through some specific key like email which will be stored in my database...i could send notifications to them..!
I am implementing ionic push notification to my app.
I want to know when shall I identify and register user. Is that should be done once for all (when first boot of the app), or I need to request for registration each time I start the application, so I refresh user's tokens ?