Skip to content
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

Random Registration Issue #60

Open
eyeveye opened this issue May 14, 2021 · 0 comments
Open

Random Registration Issue #60

eyeveye opened this issue May 14, 2021 · 0 comments

Comments

@eyeveye
Copy link

eyeveye commented May 14, 2021

Hi,

For the production release, I encounter a random issue. Some devices at first launch it got registered but after a while, it will sort of de-register. These devices will not be able to receive any push notifications.

After I disable the "AutoRegistration", and On Demand RegisterForPushNotification, it works 100%.
`#if DEBUG
AzurePushNotificationManager.Initialize(this, Constants.ListenConnectionString, Constants.NotificationHubName, true, false);
#else
AzurePushNotificationManager.Initialize(this, Constants.ListenConnectionString, Constants.NotificationHubName, false, true,false);
CrossAzurePushNotification.Current.RegisterForPushNotifications();

#endif`

Please help to investigate if this is a real defect.

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant