Skip to content

Function: syncFcmTokenFlag()

syncFcmTokenFlag(userId, currentFlagStatus?): Promise<void>

Defined in: src/utils/notification-helper.ts:198

Checks if the user has an FCM token and updates the hasFcmToken flag if it's currently missing or false. Used for backward compatibility/healing.

Parameters

userId

string | null | undefined

currentFlagStatus?

boolean

Returns

Promise<void>

Released under the MIT License.