Skip to main content

addFCMToken

Adds FCM token for sending Push notifications 🔐 This method requires authorization.

Users.addFCMToken(token)

const value = await Users.addFCMToken('my-token')
Schema

token:* string
Cloud messaging token
example: xxxx-xxxxx-xxxxx

This method adds FCM token for sending Push notifications. Return true in case of successful token update.

Example return:

true