chore(release): bump plugin version to 2.0.0

- package.json, package-lock.json
- ios/Plugin/Info.plist (CFBundleShortVersionString)
- ios/DailyNotificationPlugin.podspec
- Android: DailyNotificationPlugin.kt, NotifyReceiver.kt, FetchWorker.kt,
  ReactivationManager.kt (header @version and runtime version payloads)
- src/observability.ts (@version)

Major bump for com→org package rename (breaking change for consumers).
This commit is contained in:
Jose Olarte III
2026-03-12 14:37:24 +08:00
parent d8a0eaf413
commit ca6a75ded8
9 changed files with 14 additions and 14 deletions

View File

@@ -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() {

View File

@@ -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()

View File

@@ -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,

View File

@@ -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",

View File

@@ -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'

View File

@@ -56,7 +56,7 @@
<!-- Version -->
<key>CFBundleShortVersionString</key>
<string>1.3.3</string>
<string>2.0.0</string>
<!-- Build Number -->
<key>CFBundleVersion</key>

4
package-lock.json generated
View File

@@ -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/*"

View File

@@ -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",

View File

@@ -3,7 +3,7 @@
* Provides structured logging, event codes, and health monitoring
*
* @author Matthew Raymer
* @version 1.3.3
* @version 2.0.0
*/
import {