Skip to content

Commit 48705f3

Browse files
committed
Release 1.1.8
1 parent 70112bc commit 48705f3

6 files changed

Lines changed: 9 additions & 8 deletions

File tree

CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# ChangeLog
22

3-
## Version 1.1.8-dev
3+
## Version 1.1.8 (25.05.2025)
44

55
### Android
66

@@ -15,6 +15,7 @@
1515
- Thanks [iamAdamGoodman](https://github.com/iamAdamGoodman) noting that `trigger.at` was not functioning after adding these changes in issue [2070](https://github.com/katzer/cordova-plugin-local-notifications/issues/2070)
1616
- Throw exception if the `trigger` property is set wrong
1717
- Bugfix: Use `cordova-android` default Kotlin support mechanism. The plugin has bypassed `cordova-android` default Kotlin support mechanism by defining `kotlin-bom` in `localnotification.gradle`. To enable Cordova-Android's Kotlin support, the preference flag `GradlePluginKotlinEnabled` is set to true in `plugin.xml` and `kotlin-bom` was removed. Fixes https://github.com/katzer/cordova-plugin-local-notifications/issues/2076
18+
- Set default notification id to 1 instead of 0
1819
- Code refactoring
1920
- Renamed `DateTrigger.java` to `TriggerHandler.java`
2021
- Added `OptionsTrigger` which is a helper to read the trigger properties

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "cordova-plugin-local-notification",
3-
"version": "1.1.8-dev",
3+
"version": "1.1.8",
44
"description": "Schedules and queries for local notifications",
55
"cordova": {
66
"id": "cordova-plugin-local-notification",

plugin.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
2626
xmlns:android="http://schemas.android.com/apk/res/android"
2727
id="cordova-plugin-local-notification"
28-
version="1.1.8-dev">
28+
version="1.1.8">
2929

3030
<name>LocalNotification</name>
3131

src/android/Options.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,12 +91,12 @@ public Options(Context context, JSONObject options) {
9191
// Check if meta.version is older then current plugin version
9292
JSONObject meta = options.getJSONObject("meta");
9393

94-
if (isVersionOlder(meta.getString("version"), "1.1.8-dev")) {
94+
if (isVersionOlder(meta.getString("version"), "1.1.8")) {
9595
convertPropertiesForVersion110(options);
9696
convertPropertiesForVersion111(options);
9797
convertPropertiesForVersion118(options);
9898
// Update meta.version
99-
meta.put("version", "1.1.8-dev");
99+
meta.put("version", "1.1.8");
100100
options.put("meta", meta);
101101
}
102102
} catch (JSONException exception) {

www/local-notification.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ exports._defaults = {
185185
...exports._commonOptions,
186186
meta: {
187187
plugin: 'cordova-plugin-local-notification',
188-
version: '1.1.8-dev'
188+
version: '1.1.8'
189189
}
190190
};
191191

0 commit comments

Comments
 (0)