diff --git a/CHANGELOG.md b/CHANGELOG.md index f944c49..97ffd69 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,16 @@ All notable changes to the Daily Notification Plugin will be documented in this The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [1.1.1] - 2026-02-05 + +### Fixed + +- **Android**: Target alarm broadcast to app package so receiver is triggered correctly + +### Documentation + +- EMULATOR_GUIDE: prerequisites, API 35, Apple Silicon; build.sh Android-only sync + ## [2.1.0] - 2025-01-02 ### Added diff --git a/README.md b/README.md index 3df24af..271fee0 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # Daily Notification Plugin **Author**: Matthew Raymer -**Version**: 1.0.11 (see `package.json` for source of truth) +**Version**: 1.1.1 (see `package.json` for source of truth) **Created**: 2025-09-22 09:22:32 UTC **Last Updated**: 2025-12-23 UTC diff --git a/android/src/main/java/com/timesafari/dailynotification/FetchWorker.kt b/android/src/main/java/com/timesafari/dailynotification/FetchWorker.kt index bbe3eea..aadcdc2 100644 --- a/android/src/main/java/com/timesafari/dailynotification/FetchWorker.kt +++ b/android/src/main/java/com/timesafari/dailynotification/FetchWorker.kt @@ -17,7 +17,7 @@ import org.json.JSONObject * Implements exponential backoff and network constraints * * @author Matthew Raymer - * @version 1.1.0 + * @version 1.1.1 */ class FetchWorker( appContext: Context, @@ -205,7 +205,7 @@ class FetchWorker( val entity = com.timesafari.dailynotification.entities.NotificationContentEntity( notificationId, - "1.0.2", // Plugin version + "1.1.1", // Plugin version null, // timesafariDid - can be set if available "daily", title, @@ -301,7 +301,7 @@ class FetchWorker( "timestamp": ${System.currentTimeMillis()}, "content": "Daily notification content", "source": "mock_generator", - "version": "1.1.0" + "version": "1.1.1" } """.trimIndent() return mockData.toByteArray() diff --git a/android/src/main/java/com/timesafari/dailynotification/NotifyReceiver.kt b/android/src/main/java/com/timesafari/dailynotification/NotifyReceiver.kt index 230dd62..70b6e25 100644 --- a/android/src/main/java/com/timesafari/dailynotification/NotifyReceiver.kt +++ b/android/src/main/java/com/timesafari/dailynotification/NotifyReceiver.kt @@ -21,7 +21,7 @@ import kotlinx.coroutines.runBlocking * Implements TTL-at-fire logic and notification delivery * * @author Matthew Raymer - * @version 1.1.0 + * @version 1.1.1 */ /** * Source of schedule request - tracks which code path triggered scheduling @@ -242,7 +242,7 @@ class NotifyReceiver : BroadcastReceiver() { val roomStorage = com.timesafari.dailynotification.storage.DailyNotificationStorageRoom(context) val entity = com.timesafari.dailynotification.entities.NotificationContentEntity( notificationId, - "1.0.2", // Plugin version + "1.1.1", // Plugin version null, // timesafariDid - can be set if available "daily", config.title, diff --git a/android/src/main/java/com/timesafari/dailynotification/ReactivationManager.kt b/android/src/main/java/com/timesafari/dailynotification/ReactivationManager.kt index 4f558d8..b3e198e 100644 --- a/android/src/main/java/com/timesafari/dailynotification/ReactivationManager.kt +++ b/android/src/main/java/com/timesafari/dailynotification/ReactivationManager.kt @@ -247,7 +247,7 @@ class ReactivationManager(private val context: Context) { // Create new notification content entry for missed alarm val notification = com.timesafari.dailynotification.entities.NotificationContentEntity( notificationId, - "1.0.2", // Plugin version + "1.1.1", // Plugin version null, // timesafariDid "daily", // notificationType "Daily Notification", @@ -1014,7 +1014,7 @@ class ReactivationManager(private val context: Context) { // Create new notification content entry for missed alarm val notification = com.timesafari.dailynotification.entities.NotificationContentEntity( notificationId, - "1.0.2", // Plugin version + "1.1.1", // Plugin version null, // timesafariDid "daily", // notificationType "Daily Notification", diff --git a/android/src/main/java/com/timesafari/dailynotification/storage/DailyNotificationStorageRoom.java b/android/src/main/java/com/timesafari/dailynotification/storage/DailyNotificationStorageRoom.java index 81fb26a..35e4d7c 100644 --- a/android/src/main/java/com/timesafari/dailynotification/storage/DailyNotificationStorageRoom.java +++ b/android/src/main/java/com/timesafari/dailynotification/storage/DailyNotificationStorageRoom.java @@ -52,7 +52,7 @@ public class DailyNotificationStorageRoom { private final ExecutorService executorService; // Plugin version for migration tracking - private static final String PLUGIN_VERSION = "1.1.0"; + private static final String PLUGIN_VERSION = "1.1.1"; /** * Constructor diff --git a/ios/DailyNotificationPlugin.podspec b/ios/DailyNotificationPlugin.podspec index 485162b..7f22686 100644 --- a/ios/DailyNotificationPlugin.podspec +++ b/ios/DailyNotificationPlugin.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = 'DailyNotificationPlugin' - s.version = '1.1.0' + s.version = '1.1.1' s.summary = 'Daily Notification Plugin for Capacitor' s.license = 'MIT' s.homepage = 'https://github.com/timesafari/daily-notification-plugin' diff --git a/package.json b/package.json index 3dc3ebe..d590613 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@timesafari/daily-notification-plugin", - "version": "1.1.0", + "version": "1.1.1", "description": "TimeSafari Daily Notification Plugin - Enterprise-grade daily notification functionality with dual scheduling, callback support, TTL-at-fire logic, and comprehensive observability across Mobile (Capacitor) and Desktop (Electron) platforms", "main": "dist/plugin.js", "module": "dist/esm/index.js", diff --git a/src/definitions.ts b/src/definitions.ts index 920a8e8..447dcd2 100644 --- a/src/definitions.ts +++ b/src/definitions.ts @@ -5,7 +5,7 @@ * Aligned with Android implementation and test requirements * * @author Matthew Raymer - * @version 1.0.11 (see package.json for source of truth) + * @version 1.1.1 (see package.json for source of truth) */ // Import SPI types from content-fetcher.ts diff --git a/src/observability.ts b/src/observability.ts index 7de278d..924019d 100644 --- a/src/observability.ts +++ b/src/observability.ts @@ -3,7 +3,7 @@ * Provides structured logging, event codes, and health monitoring * * @author Matthew Raymer - * @version 1.1.0 + * @version 1.1.1 */ import { diff --git a/src/web.ts b/src/web.ts index 7a466ca..4497093 100644 --- a/src/web.ts +++ b/src/web.ts @@ -7,7 +7,7 @@ * This implementation provides clear error messages for all methods. * * @author Matthew Raymer - * @version 1.0.0 + * @version 1.1.1 */ import type {