Skip to content

Releases: andrehtissot/cordova-plugin-fcm-with-dependecy-updated

Removed JS injection through webview context

28 Jun 15:08
8153678
Compare
Choose a tag to compare

Replaced native to JS context messaging, from JS injection to event subscription.

Fixes webView.sendJavascript() deprecation (https://issues.apache.org/jira/browse/CB-6851)

As a result, FCM.onNotification() and FCM.onTokenRefresh() should become slightly more reliable on Android.

First version of API and documentation refactor

27 Jun 22:33
c5b374f
Compare
Choose a tag to compare

A lot has been done and reworked to enable users of ionic to have access to new features, and non-ionic users to be able to "async-await" out-of-the-box instead of the callbacks. And Readme rewritten to bring more clarity on how to use the current available features.

Small build improvements

22 Jun 19:10
1084e3f
Compare
Choose a tag to compare
Pre-release

FCM.onNotification() and FCM.onTokenRefresh() now returns disposables.

Improvements on removing duplicate JSDoc on src.

ionic's onRefreshToken now listens to the correct event

14 Jun 16:11
Compare
Choose a tag to compare

For Ionic's wrapper, onRefreshToken was listening to the same event as onNotification, which is now fixed.

Special thanks to @dalobstah for pointing it out.

Small improvements and fixes

08 Jun 18:30
Compare
Choose a tag to compare
Pre-release
  • Lowered cordova-ios required version; (As requested by @Nogatz)
  • Removed exported="true" for FCMPluginActivity; (As implemented by @apoorvakorde)
  • Fixed build bug for apps with short name. (As requested by @apoorvakorde)
  • ionic/ngx support improvements.

Small improvements and fixes

08 Jun 18:28
Compare
Choose a tag to compare
  • Lowered cordova-ios required version; (As requested by @Nogatz)
  • Removed exported="true" for FCMPluginActivity; (As implemented by @apoorvakorde)
  • Fixed build bug for apps with short name. (As requested by @apoorvakorde)

Fixed incompatibility with [email protected]

07 Jun 22:48
Compare
Choose a tag to compare

Now, on iOS, the newly created FCMNotificationCenterDelegate class handles the sharing of UNUserNotificationCenter delegation methods. Which allows FCM and LocalNotification to work together.

Fixed incompatibility with [email protected]

07 Jun 23:05
Compare
Choose a tag to compare

Now, on iOS, the newly created FCMNotificationCenterDelegate class handles the sharing of UNUserNotificationCenter delegation methods. Which allows FCM and LocalNotification to work together.

Js methods now return Promise and Ionic support

04 Jun 17:32
Compare
Choose a tag to compare

A lot has been done and reworked to enable users of ionic to have access to new features, and non-ionic users to be able to "async-await" out-of-the-box instead of the callbacks.
More information can be found in the Readme.

onTokenRefresh and requestPushPermissionIOS fixed for Android

26 May 16:21
Compare
Choose a tag to compare

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.