Skip to content

Not getting push token #988

Answered by aritchie
Yahya0007 asked this question in Q&A
Discussion options

You must be logged in to vote

You don't automatically get a token. OnTokenRefreshed is ONLY called when the token actually changes which is really only on firebase.

You need to call pushmanager.RequestAccess() - this will give you what you need (and request/ensure access every startup until you unregister from there)

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by aritchie
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants