Releases: andrehtissot/cordova-plugin-fcm-with-dependecy-updated
hasPermission on Android and enhanced getToken on iOS
- IOS_FIREBASE_MESSAGING_VERSION upgraded to 7.4.0;
- FCM.hasPermission now supports Android;
- On iOS, getToken will now wait until fcm token is defined to return it;
- FCM.getInitialPushPayload now uses UTF8 instead of ISOLatin;
Downgraded Cordova and Cordova-Android minimal required versions.
With this update, the plugin will be able to be installed on older versions of cordova and android cordova.
Thanks to @DuaneQ for asking the support for cordova v8.1.1.
Fixed auto install of ionic-specific dependencies on Windows
Included windows-specific fix. Thanks to @Allisson95 for creating the PR #207
Added IOS_FIREBASE_MESSAGING_VERSION plugin preference
Now --variable IOS_FIREBASE_MESSAGING_VERSION=...
can be used to specify the iOS pod Firebase/Message version used.
Cordova projects, Ionic dependencies are skipped
For pure Cordova projects, Ionic dependencies are skipped for "ionic", "ionic/ngx" and "ionic/v4".
Upgraded Android and Noide dependencies
Simple maintenance update.
Avoided Android's initialPushPayload being set from data notifications
Android: Avoided setting initialPushPayload from a non-tapped notifications.
Special thanks to @lena0204, for finding this bug.
Removed optional Firebase/Analytics iOS dependency.
Removed dependency Firebase/Analytics from https://github.com/andrehtissot/cordova-plugin-fcm-with-dependecy-updated/blob/master/plugin.xml
As described in: https://firebase.google.com/docs/cloud-messaging/ios/client#add-sdks
Special thanks to @aml25 for pointing it out.
Added deleteInstanceId()
Added deleteInstanceId to allow user's "resetting" Firebase session (https://firebase.google.com/support/privacy/manage-iids#delete_an_instance_id).
Special thanks to @dgonzalez870, for requesting such a feature.
Small miscellaneous refactoring
iOS: Values sent as notification on push payload should never overwrite values sent as data.
Android: tapping action small refactor.
Ionic: Removed [email protected]
dependency due to reported incompatibility (thanks to @aminbenab for reporting)