Releases: katzer/cordova-plugin-local-notifications
Releases Β· katzer/cordova-plugin-local-notifications
Release 1.1.7
Fix for npm: The dev version 1.1.6-dev was accidentally published to npm and there were also problems with version 1.1.6. Correct this to 1.1.7.
Release 1.1.6
Fix for npm: The dev version 1.1.6-dev was accidentally published to npm. This will correct this as published as 1.1.6.
Release 1.1.5
Android
- Bugfix: Don't crash when getting none existent notification. Calling
cancel
could crash the app, if a notification does not exist for an id.- Fixes Issue 2064
Release v1.1.4
Android
- Restore notifications correctly from old plugin versions
- Old properties were only corrected in JavaScript, but not on Java. If an app was updated with the new plugin version and had scheduled notifications before, the notifications could be triggered with no sound and the default
smallIcon
would always be used. - Fixes Issue 2059
- Old properties were only corrected in JavaScript, but not on Java. If an app was updated with the new plugin version and had scheduled notifications before, the notifications could be triggered with no sound and the default
- Refactor trigger handling
DateTrigger
: Set occurrence initial to 0 (not 1)- Don't schedule all occurrences at once when
trigger.count
is set. Schedule one after the other, like it's done whentrigger.count
is not set - Repeating notification: Don't cancel previously posted notification, when scheduling next notification, fixes Issue 2059
- Restore a trigger date exactly like it was before the restoration
- Fallback for false
unit
value when usingtrigger: {in: xxx, unit: 'xxx'}
- Unit
minute
will be used ifunit
is set wrong. - Fixes Issue 2060
- Unit
- Bugfix: Calculation of next
trigger.every
: The second occurrence oftrigger.every
was calculated wrong, because the base date was not set to the last trigger date of the last occurrence but instead to the current time. Now the trigger date will be saved in theSharedPreferences
of Android and restored when the next occurrence is scheduled and calculated.- Fixes Issue 2059
- Bugfix: Only fire
add
event, if a notification was scheduled successfully. Before it could also be fired, when an error occurred and the notification was not scheduled. - Fire event
clear
orcancel
always when a notification is cleared or canceled. Before it could be possible, that these events were not fired though notifications got cleared or canceled. - Code changes:
- Refactor
MatchTrigger
used fortrigger: every { minute: xx, hour: xx, ...}
- Remove
Request.java
and useDateTrigger
directly in aNotification
. Intialise the appropriateDateTrigger
when aNotification
is created. - Rename
Builder
toBuilderCreator
and set the builder directly in aNotification
. Don't create a Notification from the Builder.
- Refactor
Common
- Improve documentation: trigger property
Release v1.1.3
What's Changed
- Hotfix: fix(crash):
ArrayIndexOutOfBoundsException
can occur, if the user dismisses a permission request without clicking a button by @UzverNumber47 in #2058
New Contributors
- @UzverNumber47 made their first contribution in #2058
Full Changelog: v1.1.2...v1.1.3
Release v1.1.2
What's Changed
Android
- Bugfix for input actions: Make PendingIntent for actions mutable. Fixes a crash when using input actions
- New methods for handling unused app restrictions settings
getUnusedAppRestrictionsStatus
: Gets the status of the unused app restrictions statusopenManageUnusedAppRestrictions
: Opens the settings for controlling the unused app restrictions status
iOS
- Fix warnigs when using cordova-ios 8.0.0
- Remove wrong named params from code documentation.
Common
- Improve documentation
- Issue template by @DutraGames in #2057
New Contributors
- @DutraGames made their first contribution in #2057
Full Changelog: v1.1.1...v1.1.2
Release v1.1.1
See all changes in the CHANGELOG.md.
Release v1.1.0
You can see all changes in the changelog
New Contributors
- @jdevuono54 made their first contribution in #2035
- @GitFr33 made their first contribution in #2042
Full Changelog: v1.0.0...v1.1.0
Release v1.0.0
This release contains mainly changes and fixes for the Android platform and makes it compatible with Android 12-14.
For more informations see CHANGELOG.md