You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Matthew Raymer
10469a084e
feat(plugin): implement P0 production-grade improvements
- P0 Priority 3: JIT freshness re-check (soft TTL)
- Add performJITFreshnessCheck() in DailyNotificationReceiver
- Check content staleness (6-hour threshold) before display
- Attempt fresh content fetch with fallback to original
- Preserve notification ID and scheduled time during refresh
- P0 Priority 4: Boot & app-startup recovery coexistence
- Create RecoveryManager singleton for centralized recovery
- Implement idempotent recovery with atomic operations
- Add 5-minute cooldown to prevent duplicate recovery
- Track recovery state with SharedPreferences persistence
- Update BootReceiver to use RecoveryManager
- Update DailyNotificationPlugin startup recovery
- Add getRecoveryStats() plugin method for debugging
Benefits:
- Notifications stay fresh with automatic content refresh
- Recovery operations are safe to call multiple times
- Boot and app startup recovery work together seamlessly
- Comprehensive logging for debugging recovery issues
- Production-ready error handling and fallbacks
|
1 week ago |
.. |
src
|
feat(plugin): implement P0 production-grade improvements
|
1 week ago |
build.gradle
|
fix(android): resolve plugin registration with capacitor.plugins.json
|
1 week ago |