nativescript-plugin-firebase
nativescript-plugin-firebase copied to clipboard
getCurrentPushToken() not null
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?