quickstart-js icon indicating copy to clipboard operation
quickstart-js copied to clipboard

How to detect FCM instance id refresh in chrome extension?

Open mehran-prs opened this issue 6 years ago • 2 comments

In my chrome extension, Where should I register my messaging.onTokenRefresh listener to detect user instance ID changes?

If I register it in the background.js, so it calls every time a user's token refresh?

mehran-prs avatar Dec 05 '19 07:12 mehran-prs

That's a great question. I'm not sure, but background.js sounds right to me. @kroikie do you know?

jhuleatt avatar Dec 12 '19 22:12 jhuleatt

any info regarding this after long time :) @mehran-prs @jhuleatt ?

thekoko89 avatar Apr 25 '22 19:04 thekoko89