getToken() ?
See original GitHub issueHi,
The plugin works great for the case when the app is used only by one user per device since the onRegister() function is only called once.
In my app, I can logout and login with another account, but the onRegister function is not called anymore (since the device is already registered).
Is there a way to get the deviceToken from the PushNotification
object?
If not, I certainly can store the device Token in AsyncStorage, but if the token changes from APN, does it call onRegister() function ?
Issue Analytics
- State:
- Created 7 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
What method should I use now since FirebaseInstanceId ...
I would like to know what would be the correct way to get Firebase token for sending push notification now that getToken() is...
Read more >GetToken() - Lucee Documentation
Determines whether a token of the list in the delimiters parameter is present in a string. Returns the token found at position index...
Read more >FirebaseInstanceId - Google
Firebase Instance ID has been replaced with FirebaseInstallations for app instance identifiers and FirebaseMessaging.getToken() for FCM registration tokens.
Read more >GetToken Method - IBM
Returns the SecurityToken object that is currently in effect. If there is a Token associated with the current thread then this method will...
Read more >GetToken - Adobe Support
The GetToken function recognizes explicit spaces, tabs, or newline characters as the parameter delimiters. (To specify a space character, ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@Crash-- looks like you don’t get a token in the simulator, so onRegister never fires. Needs to run on a real physical device. README should probably be updated.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 30 days if no further activity occurs. Thank you for your contributions.