Azure / azure-notificationhubs-ios

Azure Notification Hubs SDK for Apple
Apache License 2.0
35 stars 33 forks source link

[BUG] First launch can't receive notification by tags on iOS. #140

Open lsaudon opened 1 year ago

lsaudon commented 1 year ago

Describe the bug First launch can't receive notification by tags on iOS.

Exception or Stack Trace Receive notification by tags on first launch

To Reproduce Steps to reproduce the behavior:

  1. Install App
  2. Send to Tag Expression
  3. Not receive

Code Snippet Add the code snippet that causes the issue.

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

Setup (please complete the following information):

Additional context If we assign the tags ourselves on the phone side. We get the notifications.

Information Checklist Kindly make sure that you have added all the following information above and checkoff the required fields otherwise we will treat the issuer as an incomplete report

lsaudon commented 1 year ago

refreshRegistrationInformation don't exist on MSInstallationManager but exist in Android SDK with url for get /Registrations/?$filter=

I think this will solve the problem.

https://github.com/Azure/azure-notificationhubs-android/blob/main/notification-hubs-sdk/src/main/java/com/microsoft/windowsazure/messaging/NotificationHub.java#L278

lex-shvets commented 8 months ago

Having same issue...