-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AzurePushNotificationManager.Initialize ResetToken=false #37
Comments
If you increment the version number of the app should get registered with ResetToken false |
Thanks again, you're right by changing the version everything works |
I need to activate(create) and deactivate(delete) a single registration without change the app version number. I saw the iOS notification this is ok but with android the re registration is impossible. If I am not wrong on release 1 of your plugin this disable/enable of notification was ok. Thank you |
You want to register/unregister from the notification hub? or actually enable/disable push notifications? |
I need to register/unregister from the notification hub, thanks |
On iOS register/unregister from the notification hub is ok, but in android the registration after unregister is not working without an app version increment |
Try this beta version: https://www.nuget.org/packages/Plugin.AzurePushNotification/2.0.32-beta |
Let me know if solves your issue |
Notifications.pdf |
Thanks for this comparison it was helpful. Just released a new beta version let me know if now is fixed: https://www.nuget.org/packages/Plugin.AzurePushNotification/2.0.33-beta |
I tested the beta version 33 but the results are not the same as in version 1 when the register/unregister operations was correct. Attached the new comparison of versions. Thank you for your time |
@rdelrosario think I'm getting the same issue. When debugging to the android emulator and reset token set to true everything works as expected. I can receive a notification when the app is first launched, restart the app set up a new notification and receive that. But with the reset token set to false, it works on the first launch but fails when I restart the app. Is there an issue with setting the reset token to true in production? At the moment I am unable to do a release because of this. |
@rdelrosario after some testing debug works completely fine (reset token = true). But AdHoc build (rest token = false), has an issue with registering new tags. await CrossAzurePushNotification.Current.RegisterAsync(SecureUsersData.GetTagsToRegister().ToArray()).ConfigureAwait(false); But when I close down the app and add a new tag, no error is returned, but notifications won't be received for that tag, but the old tags that were set up on the first launch still works. |
Thanks for your great work, I tried AzurePushNotificationSample and I noticed that in MainApplication.cs AzurePushNotificationManager.Initialize if I set ResetToken = false the registration doesn't happen, if ResetToken = true the registration works.
In version 1 everything was working
The text was updated successfully, but these errors were encountered: