diff --git a/android/src/main/java/org/timesafari/dailynotification/DailyNotificationPlugin.kt b/android/src/main/java/org/timesafari/dailynotification/DailyNotificationPlugin.kt index 0bba457..04be8f3 100644 --- a/android/src/main/java/org/timesafari/dailynotification/DailyNotificationPlugin.kt +++ b/android/src/main/java/org/timesafari/dailynotification/DailyNotificationPlugin.kt @@ -35,7 +35,7 @@ import org.json.JSONObject * Bridges Capacitor calls to native Android functionality * * @author Matthew Raymer - * @version 1.3.3 + * @version 2.0.0 */ @CapacitorPlugin(name = "DailyNotification") open class DailyNotificationPlugin : Plugin() { diff --git a/android/src/main/java/org/timesafari/dailynotification/FetchWorker.kt b/android/src/main/java/org/timesafari/dailynotification/FetchWorker.kt index 24fb64d..9251ca4 100644 --- a/android/src/main/java/org/timesafari/dailynotification/FetchWorker.kt +++ b/android/src/main/java/org/timesafari/dailynotification/FetchWorker.kt @@ -17,7 +17,7 @@ import org.json.JSONObject * Implements exponential backoff and network constraints * * @author Matthew Raymer - * @version 1.3.3 + * @version 2.0.0 */ class FetchWorker( appContext: Context, @@ -205,7 +205,7 @@ class FetchWorker( val entity = org.timesafari.dailynotification.entities.NotificationContentEntity( notificationId, - "1.3.3", // Plugin version + "2.0.0", // 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.3.3" + "version": "2.0.0" } """.trimIndent() return mockData.toByteArray() diff --git a/android/src/main/java/org/timesafari/dailynotification/NotifyReceiver.kt b/android/src/main/java/org/timesafari/dailynotification/NotifyReceiver.kt index 597302a..3e5d91e 100644 --- a/android/src/main/java/org/timesafari/dailynotification/NotifyReceiver.kt +++ b/android/src/main/java/org/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.3.3 + * @version 2.0.0 */ /** * Source of schedule request - tracks which code path triggered scheduling @@ -257,7 +257,7 @@ class NotifyReceiver : BroadcastReceiver() { val roomStorage = org.timesafari.dailynotification.storage.DailyNotificationStorageRoom(context) val entity = org.timesafari.dailynotification.entities.NotificationContentEntity( notificationId, - "1.3.3", // Plugin version + "2.0.0", // Plugin version null, // timesafariDid - can be set if available "daily", config.title, diff --git a/android/src/main/java/org/timesafari/dailynotification/ReactivationManager.kt b/android/src/main/java/org/timesafari/dailynotification/ReactivationManager.kt index 00840e5..2e002cd 100644 --- a/android/src/main/java/org/timesafari/dailynotification/ReactivationManager.kt +++ b/android/src/main/java/org/timesafari/dailynotification/ReactivationManager.kt @@ -282,7 +282,7 @@ class ReactivationManager(private val context: Context) { // Create new notification content entry for missed alarm val notification = org.timesafari.dailynotification.entities.NotificationContentEntity( notificationId, - "1.3.3", // Plugin version + "2.0.0", // Plugin version null, // timesafariDid "daily", // notificationType "Daily Notification", @@ -1052,7 +1052,7 @@ class ReactivationManager(private val context: Context) { // Create new notification content entry for missed alarm val notification = org.timesafari.dailynotification.entities.NotificationContentEntity( notificationId, - "1.3.3", // Plugin version + "2.0.0", // Plugin version null, // timesafariDid "daily", // notificationType "Daily Notification", diff --git a/ios/DailyNotificationPlugin.podspec b/ios/DailyNotificationPlugin.podspec index cde3a80..d48278e 100644 --- a/ios/DailyNotificationPlugin.podspec +++ b/ios/DailyNotificationPlugin.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = 'DailyNotificationPlugin' - s.version = '1.3.3' + s.version = '2.0.0' s.summary = 'Daily Notification Plugin for Capacitor' s.license = 'MIT' s.homepage = 'https://gitea.anomalistdesign.com/trent_larson/daily-notification-plugin' diff --git a/ios/Plugin/Info.plist b/ios/Plugin/Info.plist index aeb93c7..8ee53a9 100644 --- a/ios/Plugin/Info.plist +++ b/ios/Plugin/Info.plist @@ -56,7 +56,7 @@ CFBundleShortVersionString - 1.3.3 + 2.0.0 CFBundleVersion diff --git a/package-lock.json b/package-lock.json index 78f6de9..ec2b684 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@timesafari/daily-notification-plugin", - "version": "1.3.3", + "version": "2.0.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@timesafari/daily-notification-plugin", - "version": "1.3.3", + "version": "2.0.0", "license": "MIT", "workspaces": [ "packages/*" diff --git a/package.json b/package.json index 9106cfd..ab8edb1 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@timesafari/daily-notification-plugin", - "version": "1.3.3", + "version": "2.0.0", "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/observability.ts b/src/observability.ts index 6c8d657..387a4ad 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.3.3 + * @version 2.0.0 */ import {