React Native version v4.0.5
· One min read
Overview
Updates the updateFCMToken method to return a Promise with either success result, or error.
Changes
updateDeviceFCMTokenreturns aPromise<Result<boolean, WeavrError>>.- If the token is updated, it will return the value
true. - If the token does not need updating, it will return the value
false. - If there's an error while attempting to update, it will return an error object.
- If the token is updated, it will return the value