fix: actively fetch FCM token on login if not cached
- LoginViewModel now calls Tasks.await(FirebaseMessaging.getInstance().token) to actively fetch the FCM token if not yet saved in prefs - Previous code relied solely on onNewToken callback, which may not fire before the user logs in on a fresh install
This commit is contained in:
Binary file not shown.
Reference in New Issue
Block a user