Releases: andrehtissot/cordova-plugin-fcm-with-dependecy-updated
v5.0.0-beta gratuated to release
Special thanks to @jackie-d for helping on debugging and testing of the internal changes this new version brings.
Removed imports of androix classes
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
- 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
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
v5.0.0-beta.1 Upgraded version to 5.0.0-beta.1
iOS 9 support dropped
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
v4.6.2 Upgraded version to 4.6.2
Fixed registerForRemoteNotifications call
Now registerForRemoteNotifications is called in the main thread.
Special thanks to @jackie-d for pointing it out.
FIRMessagingDelegate's messaging:didReceiveMessage now supported
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
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.