Releases: havesource/cordova-plugin-push
5.0.5
5.0.4
5.0.3
What's Changed
Important Note:
This patch release fixes the implementation of the forceShow
option on iOS to align with Android's behavior. The original goal was to provide identical functionality, but the iOS implementation included unintended platform-specific behavior. While this might feel like a breaking change from version 5.0.0 (2024/11/21), it is classified as a patch release because it corrects a bug where notifications were processed without user interaction and did not align with Android's implementation. This update eliminates the need for developers to handle platform-specific cases, ensuring consistency with Android.
Fixes:
5.0.2
5.0.1
What's Changed
Fixes:
- fix(ios): revert accidental change to category "
callback
" (#328) - fix(ios): update reset flags placement in
notificationReceived
(#329) - fix(ios): request new permissions based on ios config changes (#326)
- fix(android): prevent permission dialog appearing when already denied (#325)
- fix(ios): exclude configure if
FIRApp
is already configured (#321) - fix(ios): reset flags & store message after processing notification received (#319)
- fix(ios): make sure
notificationMessage
is immutable (#317)
Others:
- chore(*): typings - update comments & iOS
forceShow
option (#327) - ci: replace lock app with lock-threads workflow
5.0.0
What's Changed
Breaking:
- chore(android)!: remove before compile hook script (#307)
- fix(ios)!: duplicate notification presentation on iOS 18.0 (#303)
- feat(ios)!: move
AppDelegate
logic toPushPlugin.m
(#300) - feat(ios)!: bump
[email protected]
(#294) - feat(ios)!: extract FCM related logic to
PushPluginFCM
(#293) - chore(ios)!: remove unused & deprecated code & styling formatting (#291)
Features:
Fixes:
- fix(android):
getCircleBitmap
not displaying image (#311) - fix(*): add
clearNotification
to typescript definitions (#309) - fix(ios): on notification event payload & stop background task (#301)
- fix(ios): run
setApplicationIconBadgeNumber
on main thread (#302) - fix(android): clipped notification text and expand arrow (#286)
- fix(ios): add missing
critical
to typings (#271)
Others:
4.0.0
Breaking:
- feat(android)!: bump platform requirement cordova-android>=12.0.0 (#243)
- feat!(ios): update Firebase Messaging to ~> 8.1.1 (#152)
- fix(windows)!: remove deprecated platform (#245)
Features:
- feat(android): bump gradle plugin kotlin to 1.7.21 (#246)
- feat(android): bump GradlePluginGoogleServicesVersion to 4.3.15 (match w/ [email protected]) (#244)
- feat(android): support targetSdkVersion >= 31 (Android 12) (#185)
Fixes:
- fix(ios): callback not called when foreground is true #101 (#102)
- fix(android): deprecated warning Html.fromHtml (#230)
- fix(android): Ask for POST_NOTIFICATIONS permission if necessary (#238)
- fix(android): PushHandlerActivity permissions regression (#183)
Others:
3.0.1
Fixes:
- fix(android): add service
exported
flags w/intent-filter
(#173) - fix(android):
processPushBundle
flipped returned value (#160) - fix: doc typo (#159)
Chores:
- chore: correct Bower metadata to MIT license (#166)
- chore(npm): rebuilt
package-lock.json
& fix audit
Docs:
- doc: add 2.x and 3.x to
PLATFORM_SUPPORT.md
(#158)
3.0.0
Overview:
In this major release, there are many breaking changes to the Android platform. The primary changes in this release are dropping Android Support Library for AndroidX, updating the Google Services Gradle Plugin requirement, refactoring the code to Kotlin, and upgrading all other third-party libraries. See below for more details.
Requirement Changes:
- Cordova-Android: 9.x
Libraries & Dependencie Updates and Changes:
- Bumped
me.leolin:[email protected]
- Bumped
Google Services Gradle [email protected]
- Migrated from Android Support Library to AndroidX
- Added
androidx.core:[email protected].+
- Added
Breaking:
- feat!(android): migrate source code to kotlin w/ refactors (#123)
- [email protected]
- add before_compile hookscript for cordova-android 9.x support
- converted all java files to kotlin
- updted target-dir path for kotlin files
- refactored with improved null checks
- removed some duplicated code
- updated logging (more logging & better tagging)¥
- feat!(android): bump platform requirements (#122)
- feat!(android): bump me.leolin:[email protected] (#121)
- feat!(android): bump Google Services Gradle [email protected] (#120)
- feat!(android): Migrate to AndroidX (#119)
- feat!(android): migrate ASL to AndroidX
- feat!(android): swap framework support-v13 w/ androidx.core
- feat!(android): force AndroidXEnabled to true
- feat!(android): bump androidx.core:[email protected].+
- doc(android): add androidx core version
Fixes:
- fix(docs): update TS type import to new package name (#109)
Chores:
- chore: rebuilt package-lock.json (#131)
- chore: bump npm dev dependencies (#132) (#133)
- chore(npm): bump devDep, rebuild package-lock & fix audit (#110)
- chore(npm): bump devDep @cordova/eslint-config@^4.0.0 w/ fixes (#144)
CI:
- ci: remove old travis configs (#128)
- ci: add codacy badge (#129)
- ci: add gh-actions badge to readme (#130)
Docs:
- doc: fixed minor typo (#98)
3.0.0-dev.1
Overview:
This is a development release, future release may contain more breaking changes. This release should not be used in production as it is still being developed. This release can be used for testing and reporting feedback or issues.
In this development release, the major breaking changes to the Android platform is converting all Java code to Kotlin.
Breaking:
- feat!(android): migrate source code to kotlin w/ refactors (#123)
- [email protected]
- add before_compile hookscript for cordova-android 9.x support
- converted all java files to kotlin
- updted target-dir path for kotlin files
- refactored with improved null checks
- removed some duplicated code
- updated logging (more logging & better tagging)
Chores:
CI: