You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am seeing a race condition of sorts. I am calling the grant permission and then immediately registering for the APNS token. As soon as that happens, the token is null. I then see this line a few seconds later
If I try to get APNS token again after that, no issue as I would expect. Is there a callback I can register for when the APNS token is ready? I tried this.firebase.onTokenRefresh() but that only seems to get called with the FCM token.
Any thought would be appreciated
The text was updated successfully, but these errors were encountered:
thanks @dpa99c works perfectly! Ironically i had done something similar last night just to try it out and your change at the very least proved my native ios skills weren't to bad ;-)
Good day,
I am seeing a race condition of sorts. I am calling the grant permission and then immediately registering for the APNS token. As soon as that happens, the token is null. I then see this line a few seconds later
didRegisterForRemoteNotificationsWithDeviceToken: {length = 32, bytes = 0x5ea7634d abffead7 92515b06 e16f387d ... 604bbc82 xxxxxxxxx }
If I try to get APNS token again after that, no issue as I would expect. Is there a callback I can register for when the APNS token is ready? I tried
this.firebase.onTokenRefresh()
but that only seems to get called with the FCM token.Any thought would be appreciated
The text was updated successfully, but these errors were encountered: