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 want to implement a service to manage the token using your sdk. For that, I want to be able to check if there's a token stored locally, unfortunately you only provide getToken which doesn't tell whether it got the token from FCM or from the local DB.
Searching inside your code, I noticed you have a token manager class which is private. Perhaps you could make it public or at least a couple of its methods.
Steps to reproduce:
Just check the interfaces
Relevant Code:
I'd like to be able to do something like this:
consttoken=messaging.getSavedToken();if(!!token){/* Do something */}// ORconsthasToken=messaging.hasSavedToken();if(hasToken){/* Do something */}
The text was updated successfully, but these errors were encountered:
[REQUIRED] Describe your environment
[REQUIRED] Describe the problem
I want to implement a service to manage the token using your sdk. For that, I want to be able to check if there's a token stored locally, unfortunately you only provide
getToken
which doesn't tell whether it got the token from FCM or from the local DB.Searching inside your code, I noticed you have a token manager class which is private. Perhaps you could make it public or at least a couple of its methods.
Steps to reproduce:
Just check the interfaces
Relevant Code:
I'd like to be able to do something like this:
The text was updated successfully, but these errors were encountered: