diff --git a/CHANGELOG.md b/CHANGELOG.md index 7e1407a..37d8496 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). +## [2.1.3] - 2026-03-20 + +### Fixed + +- **Android**: `scheduleDualNotification` / `parseContentFetchConfig` no longer requires `timeout`, `retryAttempts`, and `retryDelay` in `contentFetch` (optional fields per TypeScript). Omitted values defer to `FetchWorker` defaults. + +### Documentation + +- **README**: Note default behavior when those `contentFetch` fields are omitted. + ## [1.1.6] - 2026-02-16 ### Fixed diff --git a/android/src/main/java/org/timesafari/dailynotification/FetchWorker.kt b/android/src/main/java/org/timesafari/dailynotification/FetchWorker.kt index 8182d5c..9c003df 100644 --- a/android/src/main/java/org/timesafari/dailynotification/FetchWorker.kt +++ b/android/src/main/java/org/timesafari/dailynotification/FetchWorker.kt @@ -308,7 +308,7 @@ class FetchWorker( "timestamp": ${System.currentTimeMillis()}, "content": "Daily notification content", "source": "mock_generator", - "version": "2.1.2" + "version": "2.1.3" } """.trimIndent() return mockData.toByteArray() diff --git a/ios/DailyNotificationPlugin.podspec b/ios/DailyNotificationPlugin.podspec index 0c4ee0f..f8f367f 100644 --- a/ios/DailyNotificationPlugin.podspec +++ b/ios/DailyNotificationPlugin.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = 'DailyNotificationPlugin' - s.version = '2.1.2' + s.version = '2.1.3' s.summary = 'Daily Notification Plugin for Capacitor' s.license = 'MIT' s.homepage = 'https://gitea.anomalistdesign.com/trent_larson/daily-notification-plugin' diff --git a/package-lock.json b/package-lock.json index d38c6a7..6c61979 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@timesafari/daily-notification-plugin", - "version": "2.1.2", + "version": "2.1.3", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@timesafari/daily-notification-plugin", - "version": "2.1.2", + "version": "2.1.3", "license": "MIT", "workspaces": [ "packages/*" diff --git a/package.json b/package.json index 2d03d8a..338fea8 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@timesafari/daily-notification-plugin", - "version": "2.1.2", + "version": "2.1.3", "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 b19922a..56c0df2 100644 --- a/src/definitions.ts +++ b/src/definitions.ts @@ -5,7 +5,7 @@ * Aligned with Android implementation and test requirements * * @author Matthew Raymer - * @version 2.1.2 (see package.json for source of truth) + * @version 2.1.3 (see package.json for source of truth) */ // Import SPI types from content-fetcher.ts