onTokenRefresh and requestPushPermissionIOS fixed for Android
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.