addFcmToken to existing users

Actions & Logic
Resolved

Hi all!

I have a question regarding the addFcmToken cloud functions that is generated when enabling the push notifications in FF.

I can see that every new user gets the FCM token, but how can I add it also to existing users? When is the addFcmToken cloud function triggered? Can I trigger it (for example) when a user access the app and doesn't have a FCM token yet?

I have +15K existing users in my app and it would be amazing to enable push notifications also for them.

Many thanks for your help!

What have you tried so far?

Enabling push notifications and add a new user

Did you check FlutterFlow's Documentation for this topic?
Yes
3
3 replies