Skip to content

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

v5.0.0-beta gratuated to release

16 Apr 17:09
7358375
Compare
Choose a tag to compare

Special thanks to @jackie-d for helping on debugging and testing of the internal changes this new version brings.

Removed imports of androix classes

15 Apr 19:08
Compare
Choose a tag to compare
Pre-release

As effort to improve compatibility, demonstrative code, for custom notifications, was removed and it's imports of androidx classes.

Special thanks to @meghanadixit1 and @jackie-d, who presented issues when using with older cordova plugins.

Avoided Keychain deadlock with Watchdog

14 Apr 18:36
Compare
Choose a tag to compare
Pre-release
  • Fixed conditional execution;
  • Delayed Firebase registration, by 300ms, to avoid deadlock issues with Watchdog.

Related issue can be found at #28

Special thanks to @meghanadixit1, for creating the issue and helping testing it.

Avoided Keychain deadlock with Watchdog

14 Apr 18:33
Compare
Choose a tag to compare

Delayed Firebase registration, by 300ms, to avoid deadlock issues with Watchdog.

Related issue can be found at #28

Special thanks to @meghanadixit1, for creating the issue and helping testing it.

Created release due to npm publish mistake

11 Apr 21:46
Compare
Choose a tag to compare
v5.0.0-beta.1

Upgraded version to 5.0.0-beta.1

iOS 9 support dropped

11 Apr 21:31
Compare
Choose a tag to compare
iOS 9 support dropped Pre-release
Pre-release

This change-breaking release focus on iOS

  • On install Remote Notification is set as a Background Mode automatically;
  • Not only copies the Google Services configuration file on build, but also on install;
  • Firebase now is handled manually, due to complications of auto-swizzling;
  • Firebase dependencies are now upgraded to 6.21.0;
  • onFirebaseDataNotificationIOS removed, as relied on upstream socket connection, which will be removed in Firebase 7 (https://firebase.google.com/support/release-notes/ios#fcm, Version 6.18.0 - February 25, 2020);
  • Removed support for iOS 9;
  • Small code clean up;
  • @available used for runtime version check.

Created release due to npm publish mistake

11 Apr 21:47
Compare
Choose a tag to compare
v4.6.2

Upgraded version to 4.6.2

Fixed registerForRemoteNotifications call

10 Apr 15:30
Compare
Choose a tag to compare

Now registerForRemoteNotifications is called in the main thread.

Special thanks to @jackie-d for pointing it out.

FIRMessagingDelegate's messaging:didReceiveMessage now supported

04 Apr 18:07
48d4883
Compare
Choose a tag to compare

For the IOS, if app is on the foreground and the app receives a data push notification, the data can be retrieved by setting the callback to the new method: FCMPlugin.onFirebaseDataNotificationIOS.

FCMPlugin.onFirebaseDataNotificationIOS(
  function(payload) {
    console.info("Message id: "+payload.messageID)
    console.info("Data parameters: "+payload.appData)
  }
);

This method is specifically implemented on IOS due to specific payload format (src/FCMPlugin.d.ts).

Special thanks to @ostigley for mentioning the lack of support.

Added conditional plugin initialization

04 Apr 17:20
Compare
Choose a tag to compare

Now, if the "com.google.gms.googleservices.GoogleServicesPlugin" has already been applied, this plugin won't, avoiding the error:

Failed to apply plugin [class 'com.google.gms.googleservices.GoogleServicesPlugin']
Cannot add extension with name 'googleServices', as there is an extension already registered with that name.

Special thanks for @selombanybah, for mentioning the error.