chore(version): bump plugin to 1.2.0

- package.json, README.md, podspec
- src: definitions.ts, observability.ts, web.ts
- android: DailyNotificationPlugin.kt, DailyNotificationWorker.java,
  FetchWorker.kt, NotifyReceiver.kt, ReactivationManager.kt,
  DailyNotificationStorageRoom.java
This commit is contained in:
Jose Olarte III
2026-02-26 18:30:32 +08:00
parent d3df4d9115
commit cff7b659dc
12 changed files with 16 additions and 16 deletions
@@ -2705,7 +2705,7 @@ object ScheduleHelper {
try {
val entity = com.timesafari.dailynotification.entities.NotificationContentEntity(
scheduleId,
"1.1.9",
"1.2.0",
null,
"daily",
config.title ?: "Daily Notification",
@@ -734,7 +734,7 @@ public class DailyNotificationWorker extends Worker {
DailyNotificationStorageRoom room = new DailyNotificationStorageRoom(getApplicationContext());
NotificationContentEntity entity = new NotificationContentEntity(
content.getId() != null ? content.getId() : java.util.UUID.randomUUID().toString(),
"1.1.9",
"1.2.0",
null,
"daily",
content.getTitle(),
@@ -17,7 +17,7 @@ import org.json.JSONObject
* Implements exponential backoff and network constraints
*
* @author Matthew Raymer
* @version 1.1.9
* @version 1.2.0
*/
class FetchWorker(
appContext: Context,
@@ -205,7 +205,7 @@ class FetchWorker(
val entity = com.timesafari.dailynotification.entities.NotificationContentEntity(
notificationId,
"1.1.9", // Plugin version
"1.2.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.1.9"
"version": "1.2.0"
}
""".trimIndent()
return mockData.toByteArray()
@@ -21,7 +21,7 @@ import kotlinx.coroutines.runBlocking
* Implements TTL-at-fire logic and notification delivery
*
* @author Matthew Raymer
* @version 1.1.9
* @version 1.2.0
*/
/**
* Source of schedule request - tracks which code path triggered scheduling
@@ -251,7 +251,7 @@ class NotifyReceiver : BroadcastReceiver() {
val roomStorage = com.timesafari.dailynotification.storage.DailyNotificationStorageRoom(context)
val entity = com.timesafari.dailynotification.entities.NotificationContentEntity(
notificationId,
"1.1.9", // Plugin version
"1.2.0", // Plugin version
null, // timesafariDid - can be set if available
"daily",
config.title,
@@ -267,7 +267,7 @@ class ReactivationManager(private val context: Context) {
// Create new notification content entry for missed alarm
val notification = com.timesafari.dailynotification.entities.NotificationContentEntity(
notificationId,
"1.1.9", // Plugin version
"1.2.0", // Plugin version
null, // timesafariDid
"daily", // notificationType
"Daily Notification",
@@ -1037,7 +1037,7 @@ class ReactivationManager(private val context: Context) {
// Create new notification content entry for missed alarm
val notification = com.timesafari.dailynotification.entities.NotificationContentEntity(
notificationId,
"1.1.9", // Plugin version
"1.2.0", // Plugin version
null, // timesafariDid
"daily", // notificationType
"Daily Notification",
@@ -52,7 +52,7 @@ public class DailyNotificationStorageRoom {
private final ExecutorService executorService;
// Plugin version for migration tracking
private static final String PLUGIN_VERSION = "1.1.9";
private static final String PLUGIN_VERSION = "1.2.0";
/**
* Constructor