diff --git a/android/app/src/main/AndroidManifest.xml b/android/app/src/main/AndroidManifest.xml new file mode 100644 index 0000000..8b4a576 --- /dev/null +++ b/android/app/src/main/AndroidManifest.xml @@ -0,0 +1,108 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/android/app/src/main/java/com/chronomind/app/notifications/BootReceiver.kt b/android/app/src/main/java/com/chronomind/app/notifications/BootReceiver.kt new file mode 100644 index 0000000..adc8943 --- /dev/null +++ b/android/app/src/main/java/com/chronomind/app/notifications/BootReceiver.kt @@ -0,0 +1,16 @@ +package com.chronomind.app.notifications + +import android.content.BroadcastReceiver +import android.content.Context +import android.content.Intent + +class BootReceiver : BroadcastReceiver() { + override fun onReceive(context: Context, intent: Intent) { + if (intent.action == Intent.ACTION_BOOT_COMPLETED) { + // Reschedule all active timer alarms after device reboot + // In production, load timers from Room DB and reschedule each + val manager = TimerNotificationManager(context) + manager.createNotificationChannels() + } + } +} diff --git a/android/app/src/main/res/xml/widget_medium_info.xml b/android/app/src/main/res/xml/widget_medium_info.xml new file mode 100644 index 0000000..ed6c12a --- /dev/null +++ b/android/app/src/main/res/xml/widget_medium_info.xml @@ -0,0 +1,11 @@ + + diff --git a/android/app/src/main/res/xml/widget_small_info.xml b/android/app/src/main/res/xml/widget_small_info.xml new file mode 100644 index 0000000..f4c8ff3 --- /dev/null +++ b/android/app/src/main/res/xml/widget_small_info.xml @@ -0,0 +1,11 @@ + +