Matthew Raymer
29fb30e4ec
fix(android): resolve compilation errors in DailyNotificationPlugin
Fix all compilation errors identified in production readiness build check.
Fixes:
- Missing imports: Added AlarmManager and NotificationManagerCompat imports
- getExactAlarmStatus(): Fixed to use exactAlarmManager or fallback to PermissionManager
- canRequestExactAlarmPermission(): Implemented inline logic (method doesn't exist in PermissionManager)
- requestExactAlarmPermission(): Fixed call sites to use single-parameter signature
- JSObject.put ambiguity: Added explicit type casts for all put() calls
- enabledSchedules scope: Fixed variable scope issue in ReactivationManager.kt
Errors Fixed:
- Unresolved reference: AlarmManager (multiple locations)
- Unresolved reference: NotificationManagerCompat
- Unresolved reference: getExactAlarmStatus
- Unresolved reference: canRequestExactAlarmPermission
- Too many arguments for requestExactAlarmPermission
- Overload resolution ambiguity for JSObject.put
- Unresolved reference: enabledSchedules
Verification:
- Kotlin compilation: PASS
- Full assembleDebug build: PASS
- All compilation errors resolved
2025-12-24 08:35:26 +00:00
..
2025-11-06 06:28:00 +00:00
2025-11-05 08:08:37 +00:00
2025-12-24 08:35:26 +00:00
2025-11-05 08:08:37 +00:00
2025-12-23 03:45:12 +00:00
2025-11-05 08:08:37 +00:00
2025-11-05 08:08:37 +00:00
2025-11-05 08:08:37 +00:00
2025-11-05 08:08:37 +00:00
2025-11-06 06:28:00 +00:00