From 7fe309de7c744b9928d101778759c04d63beb720 Mon Sep 17 00:00:00 2001 From: Manuel Beck Date: Fri, 24 Jan 2025 15:12:22 +0100 Subject: [PATCH] Release v1.1.1 --- CHANGELOG.md | 11 +++++++---- README.md | 2 +- package.json | 14 +++++++------- plugin.xml | 2 +- www/local-notification.js | 2 +- 5 files changed, 17 insertions(+), 14 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2969a144..1482e27d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,15 +1,18 @@ # ChangeLog -## Version 1.1.1-dev +## Version 1.1.1 (24.01.2025) ### Android -- Improve documentation -- `SCHEDULE_EXACT_ALARM` is not pre-configured anymore by this plugin to have more flexibility. If you want exact alarms, see [Android inexact and exact alarms](README.md#android-inexact-and-exact-alarms) +- `SCHEDULE_EXACT_ALARM` is not pre-configured anymore by this plugin to have more flexibility. If you want exact alarms, see [Schedule exact alarms](README.md#android-schedule-exact-alarms). - You can declare `USE_EXACT_ALARM` to set your app as a calendar or alarm clock app. See [Exact alarms: Define your app as a Calender or Alarm Clock app](README.md#exact-alarms-define-your-app-as-a-calender-or-alarm-clock-app) - Renamed property `vibrate` to [androidChannelEnableVibration](README.md#property-androidchannelenablevibration) - Image resources: Support `res://`, `www` and `shared://` for [attachments](README.md#property-attachments) and [attachments.personIcon](README.md#property-personicon) + ### iOS -- Since iOS 14: Show a notification in the notification center when the app is in foreground, like on Android. Happens also if [iOSForeground](#property-iosforeground) is `false`. +- Since iOS 14: Show a notification in the notification center when the app is in foreground, like on Android. Happens also if [iOSForeground](README.md#property-iosforeground) is `false`. + +### Common +- Improved documentation - Renamed internal plugin method `check` to `hasPermission` to make it consistent with `cordova.plugins.notification.local.hasPermission` ## Version 1.1.0 (23.12.2024) diff --git a/README.md b/README.md index 5589c1e0..e13c8030 100644 --- a/README.md +++ b/README.md @@ -77,7 +77,7 @@ Install from local source: ## Upgrade Notice -In Version 1.1.0 some properties were changed. Please see [Changes since Version `1.1.0`](#changes-since-version-110) +In Version 1.1.0 and newer, some properties were changed. Please see [Changed properties](#changed-properties). ## Basics diff --git a/package.json b/package.json index 9bb3067f..07f0d7bd 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "cordova-plugin-local-notification", - "version": "1.1.1-dev", + "version": "1.1.1", "description": "Schedules and queries for local notifications", "cordova": { "id": "cordova-plugin-local-notification", @@ -24,17 +24,17 @@ ], "engines": { "cordovaDependencies": { - "1.0.0": { - "cordova": ">=12.0.0", - "cordova-android": ">=13.0.0", - "cordova-ios": ">=7.0.0", - "cordova-plugin-device": ">=3.0.0" - }, "0.9.0-beta.3": { "cordova": ">=3.6.0", "cordova-android": ">=6.0.0", "cordova-ios": ">=4.3.0", "cordova-plugin-device": ">=2.0.0" + }, + "1.0.0": { + "cordova": ">=12.0.0", + "cordova-android": ">=13.0.0", + "cordova-ios": ">=7.0.0", + "cordova-plugin-device": ">=3.0.0" } } }, diff --git a/plugin.xml b/plugin.xml index e1c59445..815c8994 100644 --- a/plugin.xml +++ b/plugin.xml @@ -25,7 +25,7 @@ + version="1.1.1"> LocalNotification diff --git a/www/local-notification.js b/www/local-notification.js index a178c792..93d830fc 100644 --- a/www/local-notification.js +++ b/www/local-notification.js @@ -157,7 +157,7 @@ exports._defaults = { ...exports._commonOptions, meta: { plugin: 'cordova-plugin-local-notification', - version: '1.1.1-dev' + version: '1.1.1' } };