appcues / appcues-android-sdk

The Appcues Android SDK
https://www.appcues.com/mobile
MIT License
10 stars 3 forks source link

♻️ Auto collecting push token whenever appcues is instanciated #605

Closed andretortolano closed 7 months ago

andretortolano commented 7 months ago

small improvement I would like to try, so on new installations of firebase it seems like the "onNewToken" is called, but then after that its never called again (unless the token changes), so this means customers would need to always get the current token and set in order to ensure we have that information set in the SDK, or else they could update Appcues on an already existing FirebaseMessagingService installation and never get setPushToken called.