Skip to content

onTokenRefresh and requestPushPermissionIOS fixed for Android

Compare
Choose a tag to compare
@andrehtissot andrehtissot released this 26 May 16:21
· 159 commits to master since this release

Bug fixes!

Setting a callback by calling FCMPlugin.onTokenRefresh(callback) was only triggering for iOS, although the token shouldn't commonly refresh, it is possible.

Setting a callback by calling FCMPlugin.requestPushPermissionIOS(callback), was not triggering the callback on Android. Now it always does with the first argument as true.

Special thanks to @expcapitaldev, for reporting the FCMPlugin.onTokenRefresh bug.