Releases: havesource/cordova-plugin-push
7.0.0
What's Changed
Breaking Changes:
-
feat(android)!: bump library versions (#355)
androidx.core:core:1.16.0com.google.firebase:firebase-messaging:24.1.0
-
feat(ios)!: bump pod
Firebase/Messaging@11.8.0(#356)Note: If you are using the Cordova-iOS platform version 7.x or lower, the
deployment-targetconfig preference must be set to at least13.0to work withFirebase/Messaging@11.8.0.Example
config.xml:<platform name="ios"> <preference name="deployment-target" value="13.0" /> </platform>
-
fix(android)!: also clear notifications when
clearBadgeistrue(#358)This fix ensures that notifications in the message center are also cleared when the clearBadge flag is set to true.
Previously, the flag was only documented to clear the badge counter (or dots, in Android’s case). However, it was not possible to clear only the badge on Android. The badge counter/dot is not fully independent of notifications—attempting to clear the badge may fail if the associated notification is not also cleared. The behavior can also vary depending on the Android version or device.
Additionally, there was an inconsistency between iOS and Android: iOS cleared both the badge and the notification, while Android attempted to clear only the badge.
This update aligns the behavior across platforms, making it more consistent.
-
chore!: update dependencies (#360)
While this commit is marked as a breaking change, it primarily affects plugin development, as it increases the required Node.js engine version. This should not impact plugin usage directly, but it is still recommended to use the latest supported Node.js release, preferably the Long-Term Support (LTS) release.
Chores, CI, & Docs:
- chore: update
package-lock.json(#361) - chore: move token higher and cleanup exception block (#359)
- ci: update workflow (#362)
- doc: clean & update
Full Changelog: 6.0.1...7.0.0
5.0.6
While this major branch is no longer supported, this patch release was made solely to apply the following update:
Security Release Notes:
To strengthen application security, we have updated the android:exported flag for all relevant activities and services to false.
Affected components:
PushHandlerActivity(Activity)BackgroundHandlerActivity(Activity)com.adobe.phonegap.push.FCMService(Service)
We also added the <uses-permission> and <permission> declarations for BackgroundHandlerActivity with android:protectionLevel="signature". While these permissions are likely redundant given that all components are no longer exported, it will be an added safe-guard.
- fix(android): set exported to false & add missing permissions w/ protectionLevel signature
Full Changelog: 5.0.5...5.0.6
4.0.1
While this major branch is no longer supported, this patch release was made solely to apply the following update:
Security Release Notes:
To strengthen application security, we have updated the android:exported flag for all relevant activities and services to false.
Affected components:
PushHandlerActivity(Activity)BackgroundHandlerActivity(Activity)com.adobe.phonegap.push.FCMService(Service)
We also added the <uses-permission> and <permission> declarations for BackgroundHandlerActivity with android:protectionLevel="signature". While these permissions are likely redundant given that all components are no longer exported, it will be an added safe-guard.
- fix(android): set exported to false & add missing permissions w/ protectionLevel signature
Full Changelog: 4.0.0...4.0.1
3.0.2
While this major branch is no longer supported, this patch release was made solely to apply the following update:
Security Release Notes:
To strengthen application security, we have updated the android:exported flag for all relevant activities and services to false.
Affected components:
PushHandlerActivity(Activity)BackgroundHandlerActivity(Activity)com.adobe.phonegap.push.FCMService(Service)com.adobe.phonegap.push.PushInstanceIDListenerService(Service)
We also added the <uses-permission> and <permission> declarations for PushHandlerActivity and BackgroundHandlerActivity with android:protectionLevel="signature". While these permissions are likely redundant given that all components are no longer exported, it will be an added safe-guard.
- fix(android): set exported to false & add missing permissions w/ protectionLevel signature
Full Changelog: 3.0.1...3.0.2
2.0.1
While this major branch is no longer supported, this patch release was made solely to apply the following update:
Security Release Notes:
To strengthen application security, we have updated the android:exported flag for all relevant activities and services to false.
Affected components:
PushHandlerActivity(Activity)BackgroundHandlerActivity(Activity)com.adobe.phonegap.push.FCMService(Service)com.adobe.phonegap.push.PushInstanceIDListenerService(Service)
We also added the <uses-permission> and <permission> declarations for PushHandlerActivity and BackgroundHandlerActivity with android:protectionLevel="signature". While these permissions are likely redundant given that all components are no longer exported, it will be an added safe-guard.
- fix(android): set exported to false & add missing permissions w/ protectionLevel signature
Full Changelog: 2.0.0...2.0.1
1.0.1
While this major branch is no longer supported, this patch release was made solely to apply the following update:
Security Release Notes:
To strengthen application security, we have updated the android:exported flag for all relevant activities and services to false.
Affected components:
PushHandlerActivity(Activity)BackgroundHandlerActivity(Activity)com.adobe.phonegap.push.FCMService(Service)com.adobe.phonegap.push.PushInstanceIDListenerService(Service)
We also added the <uses-permission> and <permission> declarations for PushHandlerActivity and BackgroundHandlerActivity with android:protectionLevel="signature". While these permissions are likely redundant given that all components are no longer exported, it will be an added safe-guard.
- fix(android): set exported to false & add missing permissions w/ protectionLevel signature
Full Changelog: 1.0.0...1.0.1
6.0.1
Forgot to update the version in plugin.xml for the previous release.
This release corrects that and ensures the version is set to 6.0.1 in the following files:
package.jsonpackage-lock.jsonplugin.xml
6.0.0
Security Release Notes
To strengthen application security, we have updated the android:exported flag for all relevant activities and services to false.
Affected components:
PushHandlerActivity(Activity)BackgroundHandlerActivity(Activity)com.adobe.phonegap.push.FCMService(Service)
Although PushHandlerActivity had already defined android:permission with a protectionLevel of signature, BackgroundHandlerActivity — which was originally a copy of PushHandlerActivity with minor changes — had inadvertently omitted this permission configuration.
We have now correctly added both the <uses-permission> and <permission> declarations to BackgroundHandlerActivity with android:protectionLevel="signature". While these permissions are likely redundant given that all components are no longer exported, it will be an added safe-guard.
- fix(android)!: set exported to false (#353) #87
- fix(android): add BackgroundHandlerActivity protectionLevel signature (#261)
Breaking Changes
- feat(android)!: remove some version overrides (#351)
Rely on the Cordova-Android platform defaults for
- Google Services (GradlePluginGoogleServicesVersion)
- Kotlin (GradlePluginKotlinVersion)
App developers can still override the version in config.xml if needed. - fix(android)!: notification audio not to be controlled by ringtone (#352)
Features
- feat(ios): add forceRegister option (#337)
Fixes
- fix(android): replace initialize with pluginInitialize (#347)
- fix(android): catch all Firebase exceptions (#341)
New Contributors
- @maxs15 made their first contribution in #341
- @kumo01GitHub made their first contribution in #347
- @JGreenlee made their first contribution in #337
Full Changelog: 5.0.5...6.0.0