EddyVerbruggen / nativescript-plugin-firebase

:fire: NativeScript plugin for Firebase
https://firebase.google.com
MIT License
1.01k stars 448 forks source link

getCurrentPushToken() not null #1816

Open anabatel1 opened 3 years ago

anabatel1 commented 3 years ago

Hi, I'm implementing this plugin within a nativescript-vue application. On iOS, some of the messages are getting lost and I'm investigating what might be the cause.

While investigating I found out that even if messaging.areNotificationsEnabled() returns false, the getCurrentPushToken() method still returns a token. Is this expected behaviour? If it is, then in which situations can I expect the token to be null?