react-native-alarmageddon 1.1.0 → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +1 -1
- package/README.md +169 -189
- package/android/build/.transforms/33d69af0aa8d226a34981fd71aab63e2/results.bin +1 -0
- package/android/build/.transforms/33d69af0aa8d226a34981fd71aab63e2/transformed/classes/classes_dex/classes.dex +0 -0
- package/android/build/generated/source/buildConfig/debug/com/rnalarmmodule/BuildConfig.java +10 -0
- package/android/build/intermediates/aapt_friendly_merged_manifests/debug/processDebugManifest/aapt/AndroidManifest.xml +41 -0
- package/android/build/intermediates/aapt_friendly_merged_manifests/debug/processDebugManifest/aapt/output-metadata.json +18 -0
- package/android/build/intermediates/aar_metadata/debug/writeDebugAarMetadata/aar-metadata.properties +6 -0
- package/android/build/intermediates/annotation_processor_list/debug/javaPreCompileDebug/annotationProcessors.json +1 -0
- package/android/build/intermediates/compile_library_classes_jar/debug/bundleLibCompileToJarDebug/classes.jar +0 -0
- package/android/build/intermediates/compile_r_class_jar/debug/generateDebugRFile/R.jar +0 -0
- package/android/build/intermediates/compile_symbol_list/debug/generateDebugRFile/R.txt +1 -0
- package/android/build/intermediates/compiled_local_resources/debug/compileDebugLibraryResources/out/raw_alarm_default.wav.flat +0 -0
- package/android/build/intermediates/incremental/debug/packageDebugResources/compile-file-map.properties +2 -0
- package/android/build/intermediates/incremental/debug/packageDebugResources/merger.xml +2 -0
- package/android/build/intermediates/incremental/mergeDebugAssets/merger.xml +2 -0
- package/android/build/intermediates/incremental/mergeDebugJniLibFolders/merger.xml +2 -0
- package/android/build/intermediates/incremental/mergeDebugShaders/merger.xml +2 -0
- package/android/build/intermediates/java_res/debug/processDebugJavaRes/out/META-INF/react-native-alarmageddon_debug.kotlin_module +0 -0
- package/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/rnalarmmodule/BuildConfig.class +0 -0
- package/android/build/intermediates/local_only_symbol_list/debug/parseDebugLocalResources/R-def.txt +3 -0
- package/android/build/intermediates/manifest_merge_blame_file/debug/processDebugManifest/manifest-merger-blame-debug-report.txt +68 -0
- package/android/build/intermediates/merged_manifest/debug/processDebugManifest/AndroidManifest.xml +41 -0
- package/android/build/intermediates/navigation_json/debug/extractDeepLinksDebug/navigation.json +1 -0
- package/android/build/intermediates/nested_resources_validation_report/debug/generateDebugResources/nestedResourcesValidationReport.txt +1 -0
- package/android/build/intermediates/packaged_res/debug/packageDebugResources/raw/alarm_default.wav +0 -0
- package/android/build/intermediates/runtime_library_classes_jar/debug/bundleLibRuntimeToJarDebug/classes.jar +0 -0
- package/android/build/intermediates/symbol_list_with_package_name/debug/generateDebugRFile/package-aware-r.txt +2 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/counters.tab +2 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/last-build.bin +0 -0
- package/android/build/kotlin/compileDebugKotlin/classpath-snapshot/shrunk-classpath-snapshot.bin +0 -0
- package/android/build/kotlin/compileDebugKotlin/local-state/build-history.bin +0 -0
- package/android/build/outputs/logs/manifest-merger-debug-report.txt +71 -0
- package/android/build/tmp/compileDebugJavaWithJavac/previous-compilation-data.bin +0 -0
- package/android/build/tmp/kotlin-classes/debug/META-INF/react-native-alarmageddon_debug.kotlin_module +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/rnalarmmodule/AlarmModule$Companion.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/rnalarmmodule/AlarmModule.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/rnalarmmodule/AlarmPackage.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/rnalarmmodule/AlarmReceiver$Companion.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/rnalarmmodule/AlarmReceiver.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/rnalarmmodule/BootReceiver$Companion.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/rnalarmmodule/BootReceiver.class +0 -0
- package/android/build.gradle +11 -21
- package/android/src/main/AndroidManifest.xml +16 -35
- package/android/src/main/java/com/rnalarmmodule/AlarmModule.kt +154 -390
- package/android/src/main/java/com/rnalarmmodule/AlarmPackage.kt +0 -1
- package/android/src/main/java/com/rnalarmmodule/AlarmReceiver.kt +290 -129
- package/android/src/main/java/com/rnalarmmodule/BootReceiver.kt +66 -124
- package/android/src/main/res/raw/alarm_default.wav +0 -0
- package/ios/{RNAlarmModule.m → AlarmModule.m} +9 -20
- package/ios/AlarmModule.swift +190 -36
- package/ios/RNAlarmModule-Bridging-Header.h +5 -1
- package/lib/index.d.ts +47 -85
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +60 -120
- package/lib/index.js.map +1 -1
- package/package.json +14 -23
- package/react-native-alarmageddon.podspec +10 -8
- package/react-native.config.js +3 -1
- package/src/index.ts +94 -201
- package/android/gradle.properties +0 -13
- package/android/src/main/java/com/rnalarmmodule/AlarmActivity.kt +0 -79
- package/android/src/main/java/com/rnalarmmodule/AlarmService.kt +0 -290
- package/android/src/main/res/raw/README.md +0 -36
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
1<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
+
2<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
|
3
|
+
3 package="com.rnalarmmodule" >
|
|
4
|
+
4
|
|
5
|
+
5 <uses-sdk android:minSdkVersion="21" />
|
|
6
|
+
6
|
|
7
|
+
7 <!-- Alarm scheduling permissions -->
|
|
8
|
+
8 <uses-permission android:name="android.permission.SCHEDULE_EXACT_ALARM" />
|
|
9
|
+
8-->/Users/quaresma/projects/my-meds-times/react-native-alarmageddon/android/src/main/AndroidManifest.xml:5:5-79
|
|
10
|
+
8-->/Users/quaresma/projects/my-meds-times/react-native-alarmageddon/android/src/main/AndroidManifest.xml:5:22-76
|
|
11
|
+
9 <uses-permission android:name="android.permission.USE_EXACT_ALARM" />
|
|
12
|
+
9-->/Users/quaresma/projects/my-meds-times/react-native-alarmageddon/android/src/main/AndroidManifest.xml:6:5-74
|
|
13
|
+
9-->/Users/quaresma/projects/my-meds-times/react-native-alarmageddon/android/src/main/AndroidManifest.xml:6:22-71
|
|
14
|
+
10
|
|
15
|
+
11 <!-- Wake device and play sound -->
|
|
16
|
+
12 <uses-permission android:name="android.permission.WAKE_LOCK" />
|
|
17
|
+
12-->/Users/quaresma/projects/my-meds-times/react-native-alarmageddon/android/src/main/AndroidManifest.xml:9:5-68
|
|
18
|
+
12-->/Users/quaresma/projects/my-meds-times/react-native-alarmageddon/android/src/main/AndroidManifest.xml:9:22-65
|
|
19
|
+
13 <uses-permission android:name="android.permission.VIBRATE" />
|
|
20
|
+
13-->/Users/quaresma/projects/my-meds-times/react-native-alarmageddon/android/src/main/AndroidManifest.xml:10:5-66
|
|
21
|
+
13-->/Users/quaresma/projects/my-meds-times/react-native-alarmageddon/android/src/main/AndroidManifest.xml:10:22-63
|
|
22
|
+
14
|
|
23
|
+
15 <!-- Boot persistence -->
|
|
24
|
+
16 <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
|
|
25
|
+
16-->/Users/quaresma/projects/my-meds-times/react-native-alarmageddon/android/src/main/AndroidManifest.xml:13:5-81
|
|
26
|
+
16-->/Users/quaresma/projects/my-meds-times/react-native-alarmageddon/android/src/main/AndroidManifest.xml:13:22-78
|
|
27
|
+
17
|
|
28
|
+
18 <!-- Notifications (Android 13+) -->
|
|
29
|
+
19 <uses-permission android:name="android.permission.POST_NOTIFICATIONS" />
|
|
30
|
+
19-->/Users/quaresma/projects/my-meds-times/react-native-alarmageddon/android/src/main/AndroidManifest.xml:16:5-77
|
|
31
|
+
19-->/Users/quaresma/projects/my-meds-times/react-native-alarmageddon/android/src/main/AndroidManifest.xml:16:22-74
|
|
32
|
+
20
|
|
33
|
+
21 <application>
|
|
34
|
+
21-->/Users/quaresma/projects/my-meds-times/react-native-alarmageddon/android/src/main/AndroidManifest.xml:18:5-35:19
|
|
35
|
+
22
|
|
36
|
+
23 <!-- Alarm broadcast receiver -->
|
|
37
|
+
24 <receiver
|
|
38
|
+
24-->/Users/quaresma/projects/my-meds-times/react-native-alarmageddon/android/src/main/AndroidManifest.xml:20:9-22:40
|
|
39
|
+
25 android:name="com.rnalarmmodule.AlarmReceiver"
|
|
40
|
+
25-->/Users/quaresma/projects/my-meds-times/react-native-alarmageddon/android/src/main/AndroidManifest.xml:21:13-42
|
|
41
|
+
26 android:exported="false" />
|
|
42
|
+
26-->/Users/quaresma/projects/my-meds-times/react-native-alarmageddon/android/src/main/AndroidManifest.xml:22:13-37
|
|
43
|
+
27
|
|
44
|
+
28 <!-- Boot and time change receiver for rescheduling alarms -->
|
|
45
|
+
29 <receiver
|
|
46
|
+
29-->/Users/quaresma/projects/my-meds-times/react-native-alarmageddon/android/src/main/AndroidManifest.xml:25:9-34:20
|
|
47
|
+
30 android:name="com.rnalarmmodule.BootReceiver"
|
|
48
|
+
30-->/Users/quaresma/projects/my-meds-times/react-native-alarmageddon/android/src/main/AndroidManifest.xml:26:13-41
|
|
49
|
+
31 android:enabled="true"
|
|
50
|
+
31-->/Users/quaresma/projects/my-meds-times/react-native-alarmageddon/android/src/main/AndroidManifest.xml:27:13-35
|
|
51
|
+
32 android:exported="true" >
|
|
52
|
+
32-->/Users/quaresma/projects/my-meds-times/react-native-alarmageddon/android/src/main/AndroidManifest.xml:28:13-36
|
|
53
|
+
33 <intent-filter>
|
|
54
|
+
33-->/Users/quaresma/projects/my-meds-times/react-native-alarmageddon/android/src/main/AndroidManifest.xml:29:13-33:29
|
|
55
|
+
34 <action android:name="android.intent.action.BOOT_COMPLETED" />
|
|
56
|
+
34-->/Users/quaresma/projects/my-meds-times/react-native-alarmageddon/android/src/main/AndroidManifest.xml:30:17-79
|
|
57
|
+
34-->/Users/quaresma/projects/my-meds-times/react-native-alarmageddon/android/src/main/AndroidManifest.xml:30:25-76
|
|
58
|
+
35 <action android:name="android.intent.action.TIME_SET" />
|
|
59
|
+
35-->/Users/quaresma/projects/my-meds-times/react-native-alarmageddon/android/src/main/AndroidManifest.xml:31:17-73
|
|
60
|
+
35-->/Users/quaresma/projects/my-meds-times/react-native-alarmageddon/android/src/main/AndroidManifest.xml:31:25-70
|
|
61
|
+
36 <action android:name="android.intent.action.TIMEZONE_CHANGED" />
|
|
62
|
+
36-->/Users/quaresma/projects/my-meds-times/react-native-alarmageddon/android/src/main/AndroidManifest.xml:32:17-81
|
|
63
|
+
36-->/Users/quaresma/projects/my-meds-times/react-native-alarmageddon/android/src/main/AndroidManifest.xml:32:25-78
|
|
64
|
+
37 </intent-filter>
|
|
65
|
+
38 </receiver>
|
|
66
|
+
39 </application>
|
|
67
|
+
40
|
|
68
|
+
41</manifest>
|
package/android/build/intermediates/merged_manifest/debug/processDebugManifest/AndroidManifest.xml
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
+
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
|
3
|
+
package="com.rnalarmmodule" >
|
|
4
|
+
|
|
5
|
+
<uses-sdk android:minSdkVersion="21" />
|
|
6
|
+
|
|
7
|
+
<!-- Alarm scheduling permissions -->
|
|
8
|
+
<uses-permission android:name="android.permission.SCHEDULE_EXACT_ALARM" />
|
|
9
|
+
<uses-permission android:name="android.permission.USE_EXACT_ALARM" />
|
|
10
|
+
|
|
11
|
+
<!-- Wake device and play sound -->
|
|
12
|
+
<uses-permission android:name="android.permission.WAKE_LOCK" />
|
|
13
|
+
<uses-permission android:name="android.permission.VIBRATE" />
|
|
14
|
+
|
|
15
|
+
<!-- Boot persistence -->
|
|
16
|
+
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
|
|
17
|
+
|
|
18
|
+
<!-- Notifications (Android 13+) -->
|
|
19
|
+
<uses-permission android:name="android.permission.POST_NOTIFICATIONS" />
|
|
20
|
+
|
|
21
|
+
<application>
|
|
22
|
+
|
|
23
|
+
<!-- Alarm broadcast receiver -->
|
|
24
|
+
<receiver
|
|
25
|
+
android:name="com.rnalarmmodule.AlarmReceiver"
|
|
26
|
+
android:exported="false" />
|
|
27
|
+
|
|
28
|
+
<!-- Boot and time change receiver for rescheduling alarms -->
|
|
29
|
+
<receiver
|
|
30
|
+
android:name="com.rnalarmmodule.BootReceiver"
|
|
31
|
+
android:enabled="true"
|
|
32
|
+
android:exported="true" >
|
|
33
|
+
<intent-filter>
|
|
34
|
+
<action android:name="android.intent.action.BOOT_COMPLETED" />
|
|
35
|
+
<action android:name="android.intent.action.TIME_SET" />
|
|
36
|
+
<action android:name="android.intent.action.TIMEZONE_CHANGED" />
|
|
37
|
+
</intent-filter>
|
|
38
|
+
</receiver>
|
|
39
|
+
</application>
|
|
40
|
+
|
|
41
|
+
</manifest>
|
package/android/build/intermediates/navigation_json/debug/extractDeepLinksDebug/navigation.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
[]
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
0 Warning/Error
|
package/android/build/intermediates/packaged_res/debug/packageDebugResources/raw/alarm_default.wav
ADDED
|
Binary file
|
|
Binary file
|
package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab
ADDED
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.len
ADDED
|
Binary file
|
|
Binary file
|
package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab_i
ADDED
|
Binary file
|
|
Binary file
|
package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab
ADDED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab.len
ADDED
|
Binary file
|
|
Binary file
|
package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab_i
ADDED
|
Binary file
|
package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab_i.len
ADDED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.keystream
ADDED
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.values.at
ADDED
|
Binary file
|
|
Binary file
|
package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab_i.len
ADDED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab.len
ADDED
|
Binary file
|
|
Binary file
|
package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab_i
ADDED
|
Binary file
|
package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab_i.len
ADDED
|
Binary file
|
package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab
ADDED
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab.len
ADDED
|
Binary file
|
|
Binary file
|
package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab_i
ADDED
|
Binary file
|
package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab_i.len
ADDED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.len
ADDED
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab_i.len
ADDED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.len
ADDED
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab_i.len
ADDED
|
Binary file
|
|
Binary file
|
package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.keystream
ADDED
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.values.at
ADDED
|
Binary file
|
|
Binary file
|
package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab_i.len
ADDED
|
Binary file
|
|
Binary file
|
package/android/build/kotlin/compileDebugKotlin/classpath-snapshot/shrunk-classpath-snapshot.bin
ADDED
|
Binary file
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
-- Merging decision tree log ---
|
|
2
|
+
manifest
|
|
3
|
+
ADDED from /Users/quaresma/projects/my-meds-times/react-native-alarmageddon/android/src/main/AndroidManifest.xml:1:1-36:12
|
|
4
|
+
INJECTED from /Users/quaresma/projects/my-meds-times/react-native-alarmageddon/android/src/main/AndroidManifest.xml:1:1-36:12
|
|
5
|
+
package
|
|
6
|
+
ADDED from /Users/quaresma/projects/my-meds-times/react-native-alarmageddon/android/src/main/AndroidManifest.xml:2:5-32
|
|
7
|
+
INJECTED from /Users/quaresma/projects/my-meds-times/react-native-alarmageddon/android/src/main/AndroidManifest.xml
|
|
8
|
+
xmlns:android
|
|
9
|
+
ADDED from /Users/quaresma/projects/my-meds-times/react-native-alarmageddon/android/src/main/AndroidManifest.xml:1:11-69
|
|
10
|
+
uses-permission#android.permission.SCHEDULE_EXACT_ALARM
|
|
11
|
+
ADDED from /Users/quaresma/projects/my-meds-times/react-native-alarmageddon/android/src/main/AndroidManifest.xml:5:5-79
|
|
12
|
+
android:name
|
|
13
|
+
ADDED from /Users/quaresma/projects/my-meds-times/react-native-alarmageddon/android/src/main/AndroidManifest.xml:5:22-76
|
|
14
|
+
uses-permission#android.permission.USE_EXACT_ALARM
|
|
15
|
+
ADDED from /Users/quaresma/projects/my-meds-times/react-native-alarmageddon/android/src/main/AndroidManifest.xml:6:5-74
|
|
16
|
+
android:name
|
|
17
|
+
ADDED from /Users/quaresma/projects/my-meds-times/react-native-alarmageddon/android/src/main/AndroidManifest.xml:6:22-71
|
|
18
|
+
uses-permission#android.permission.WAKE_LOCK
|
|
19
|
+
ADDED from /Users/quaresma/projects/my-meds-times/react-native-alarmageddon/android/src/main/AndroidManifest.xml:9:5-68
|
|
20
|
+
android:name
|
|
21
|
+
ADDED from /Users/quaresma/projects/my-meds-times/react-native-alarmageddon/android/src/main/AndroidManifest.xml:9:22-65
|
|
22
|
+
uses-permission#android.permission.VIBRATE
|
|
23
|
+
ADDED from /Users/quaresma/projects/my-meds-times/react-native-alarmageddon/android/src/main/AndroidManifest.xml:10:5-66
|
|
24
|
+
android:name
|
|
25
|
+
ADDED from /Users/quaresma/projects/my-meds-times/react-native-alarmageddon/android/src/main/AndroidManifest.xml:10:22-63
|
|
26
|
+
uses-permission#android.permission.RECEIVE_BOOT_COMPLETED
|
|
27
|
+
ADDED from /Users/quaresma/projects/my-meds-times/react-native-alarmageddon/android/src/main/AndroidManifest.xml:13:5-81
|
|
28
|
+
android:name
|
|
29
|
+
ADDED from /Users/quaresma/projects/my-meds-times/react-native-alarmageddon/android/src/main/AndroidManifest.xml:13:22-78
|
|
30
|
+
uses-permission#android.permission.POST_NOTIFICATIONS
|
|
31
|
+
ADDED from /Users/quaresma/projects/my-meds-times/react-native-alarmageddon/android/src/main/AndroidManifest.xml:16:5-77
|
|
32
|
+
android:name
|
|
33
|
+
ADDED from /Users/quaresma/projects/my-meds-times/react-native-alarmageddon/android/src/main/AndroidManifest.xml:16:22-74
|
|
34
|
+
application
|
|
35
|
+
ADDED from /Users/quaresma/projects/my-meds-times/react-native-alarmageddon/android/src/main/AndroidManifest.xml:18:5-35:19
|
|
36
|
+
receiver#com.rnalarmmodule.AlarmReceiver
|
|
37
|
+
ADDED from /Users/quaresma/projects/my-meds-times/react-native-alarmageddon/android/src/main/AndroidManifest.xml:20:9-22:40
|
|
38
|
+
android:exported
|
|
39
|
+
ADDED from /Users/quaresma/projects/my-meds-times/react-native-alarmageddon/android/src/main/AndroidManifest.xml:22:13-37
|
|
40
|
+
android:name
|
|
41
|
+
ADDED from /Users/quaresma/projects/my-meds-times/react-native-alarmageddon/android/src/main/AndroidManifest.xml:21:13-42
|
|
42
|
+
receiver#com.rnalarmmodule.BootReceiver
|
|
43
|
+
ADDED from /Users/quaresma/projects/my-meds-times/react-native-alarmageddon/android/src/main/AndroidManifest.xml:25:9-34:20
|
|
44
|
+
android:enabled
|
|
45
|
+
ADDED from /Users/quaresma/projects/my-meds-times/react-native-alarmageddon/android/src/main/AndroidManifest.xml:27:13-35
|
|
46
|
+
android:exported
|
|
47
|
+
ADDED from /Users/quaresma/projects/my-meds-times/react-native-alarmageddon/android/src/main/AndroidManifest.xml:28:13-36
|
|
48
|
+
android:name
|
|
49
|
+
ADDED from /Users/quaresma/projects/my-meds-times/react-native-alarmageddon/android/src/main/AndroidManifest.xml:26:13-41
|
|
50
|
+
intent-filter#action:name:android.intent.action.BOOT_COMPLETED+action:name:android.intent.action.TIMEZONE_CHANGED+action:name:android.intent.action.TIME_SET
|
|
51
|
+
ADDED from /Users/quaresma/projects/my-meds-times/react-native-alarmageddon/android/src/main/AndroidManifest.xml:29:13-33:29
|
|
52
|
+
action#android.intent.action.BOOT_COMPLETED
|
|
53
|
+
ADDED from /Users/quaresma/projects/my-meds-times/react-native-alarmageddon/android/src/main/AndroidManifest.xml:30:17-79
|
|
54
|
+
android:name
|
|
55
|
+
ADDED from /Users/quaresma/projects/my-meds-times/react-native-alarmageddon/android/src/main/AndroidManifest.xml:30:25-76
|
|
56
|
+
action#android.intent.action.TIME_SET
|
|
57
|
+
ADDED from /Users/quaresma/projects/my-meds-times/react-native-alarmageddon/android/src/main/AndroidManifest.xml:31:17-73
|
|
58
|
+
android:name
|
|
59
|
+
ADDED from /Users/quaresma/projects/my-meds-times/react-native-alarmageddon/android/src/main/AndroidManifest.xml:31:25-70
|
|
60
|
+
action#android.intent.action.TIMEZONE_CHANGED
|
|
61
|
+
ADDED from /Users/quaresma/projects/my-meds-times/react-native-alarmageddon/android/src/main/AndroidManifest.xml:32:17-81
|
|
62
|
+
android:name
|
|
63
|
+
ADDED from /Users/quaresma/projects/my-meds-times/react-native-alarmageddon/android/src/main/AndroidManifest.xml:32:25-78
|
|
64
|
+
uses-sdk
|
|
65
|
+
INJECTED from /Users/quaresma/projects/my-meds-times/react-native-alarmageddon/android/src/main/AndroidManifest.xml reason: use-sdk injection requested
|
|
66
|
+
INJECTED from /Users/quaresma/projects/my-meds-times/react-native-alarmageddon/android/src/main/AndroidManifest.xml
|
|
67
|
+
INJECTED from /Users/quaresma/projects/my-meds-times/react-native-alarmageddon/android/src/main/AndroidManifest.xml
|
|
68
|
+
android:targetSdkVersion
|
|
69
|
+
INJECTED from /Users/quaresma/projects/my-meds-times/react-native-alarmageddon/android/src/main/AndroidManifest.xml
|
|
70
|
+
android:minSdkVersion
|
|
71
|
+
INJECTED from /Users/quaresma/projects/my-meds-times/react-native-alarmageddon/android/src/main/AndroidManifest.xml
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/android/build/tmp/kotlin-classes/debug/com/rnalarmmodule/AlarmReceiver$Companion.class
ADDED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/android/build.gradle
CHANGED
|
@@ -1,9 +1,5 @@
|
|
|
1
|
-
def safeExtGet(prop, fallback) {
|
|
2
|
-
rootProject.ext.has(prop) ? rootProject.ext.get(prop) : fallback
|
|
3
|
-
}
|
|
4
|
-
|
|
5
1
|
buildscript {
|
|
6
|
-
|
|
2
|
+
ext.kotlin_version = '1.9.22'
|
|
7
3
|
repositories {
|
|
8
4
|
google()
|
|
9
5
|
mavenCentral()
|
|
@@ -17,19 +13,19 @@ apply plugin: 'com.android.library'
|
|
|
17
13
|
apply plugin: 'kotlin-android'
|
|
18
14
|
|
|
19
15
|
android {
|
|
20
|
-
namespace
|
|
21
|
-
|
|
22
|
-
compileSdkVersion safeExtGet('compileSdkVersion', 34)
|
|
16
|
+
namespace "com.rnalarmmodule"
|
|
17
|
+
compileSdkVersion 34
|
|
23
18
|
|
|
24
19
|
defaultConfig {
|
|
25
|
-
minSdkVersion
|
|
26
|
-
targetSdkVersion
|
|
20
|
+
minSdkVersion 21
|
|
21
|
+
targetSdkVersion 34
|
|
27
22
|
}
|
|
28
23
|
|
|
29
24
|
sourceSets {
|
|
30
25
|
main {
|
|
31
26
|
java.srcDirs = ['src/main/java']
|
|
32
27
|
res.srcDirs = ['src/main/res']
|
|
28
|
+
manifest.srcFile 'src/main/AndroidManifest.xml'
|
|
33
29
|
}
|
|
34
30
|
}
|
|
35
31
|
|
|
@@ -42,6 +38,10 @@ android {
|
|
|
42
38
|
jvmTarget = '17'
|
|
43
39
|
}
|
|
44
40
|
|
|
41
|
+
buildFeatures {
|
|
42
|
+
buildConfig = false
|
|
43
|
+
}
|
|
44
|
+
|
|
45
45
|
lintOptions {
|
|
46
46
|
abortOnError false
|
|
47
47
|
}
|
|
@@ -53,17 +53,7 @@ repositories {
|
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
dependencies {
|
|
56
|
-
def kotlin_version = safeExtGet('kotlinVersion', '1.9.22')
|
|
57
|
-
|
|
58
56
|
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
|
|
59
|
-
|
|
60
|
-
// React Native dependency - works with both old and new architecture
|
|
61
|
-
if (rootProject.hasProperty('reactNativeVersion')) {
|
|
62
|
-
implementation "com.facebook.react:react-android:${rootProject.reactNativeVersion}"
|
|
63
|
-
} else {
|
|
64
|
-
implementation 'com.facebook.react:react-android:+'
|
|
65
|
-
}
|
|
66
|
-
|
|
57
|
+
implementation 'com.facebook.react:react-android:+'
|
|
67
58
|
implementation 'androidx.core:core-ktx:1.12.0'
|
|
68
|
-
implementation 'androidx.appcompat:appcompat:1.6.1'
|
|
69
59
|
}
|
|
@@ -1,55 +1,36 @@
|
|
|
1
1
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
|
2
2
|
package="com.rnalarmmodule">
|
|
3
3
|
|
|
4
|
-
<!--
|
|
4
|
+
<!-- Alarm scheduling permissions -->
|
|
5
5
|
<uses-permission android:name="android.permission.SCHEDULE_EXACT_ALARM" />
|
|
6
6
|
<uses-permission android:name="android.permission.USE_EXACT_ALARM" />
|
|
7
|
+
|
|
8
|
+
<!-- Wake device and play sound -->
|
|
7
9
|
<uses-permission android:name="android.permission.WAKE_LOCK" />
|
|
8
10
|
<uses-permission android:name="android.permission.VIBRATE" />
|
|
11
|
+
|
|
12
|
+
<!-- Boot persistence -->
|
|
9
13
|
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
|
|
14
|
+
|
|
15
|
+
<!-- Notifications (Android 13+) -->
|
|
10
16
|
<uses-permission android:name="android.permission.POST_NOTIFICATIONS" />
|
|
11
|
-
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
|
|
12
|
-
<uses-permission android:name="android.permission.FOREGROUND_SERVICE_MEDIA_PLAYBACK" />
|
|
13
17
|
|
|
14
18
|
<application>
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
android:
|
|
18
|
-
|
|
19
|
-
<action android:name="com.rnalarmmodule.ALARM_TRIGGER" />
|
|
20
|
-
<action android:name="com.rnalarmmodule.ALARM_STOP" />
|
|
21
|
-
<action android:name="com.rnalarmmodule.ALARM_SNOOZE" />
|
|
22
|
-
</intent-filter>
|
|
23
|
-
</receiver>
|
|
19
|
+
<!-- Alarm broadcast receiver -->
|
|
20
|
+
<receiver
|
|
21
|
+
android:name=".AlarmReceiver"
|
|
22
|
+
android:exported="false" />
|
|
24
23
|
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
android:
|
|
28
|
-
android:
|
|
24
|
+
<!-- Boot and time change receiver for rescheduling alarms -->
|
|
25
|
+
<receiver
|
|
26
|
+
android:name=".BootReceiver"
|
|
27
|
+
android:enabled="true"
|
|
28
|
+
android:exported="true">
|
|
29
29
|
<intent-filter>
|
|
30
30
|
<action android:name="android.intent.action.BOOT_COMPLETED" />
|
|
31
|
-
<action android:name="android.intent.action.LOCKED_BOOT_COMPLETED" />
|
|
32
31
|
<action android:name="android.intent.action.TIME_SET" />
|
|
33
32
|
<action android:name="android.intent.action.TIMEZONE_CHANGED" />
|
|
34
|
-
<action android:name="android.intent.action.MY_PACKAGE_REPLACED" />
|
|
35
33
|
</intent-filter>
|
|
36
34
|
</receiver>
|
|
37
|
-
|
|
38
|
-
<activity
|
|
39
|
-
android:name=".AlarmActivity"
|
|
40
|
-
android:exported="false"
|
|
41
|
-
android:showOnLockScreen="true"
|
|
42
|
-
android:turnScreenOn="true"
|
|
43
|
-
android:showWhenLocked="true"
|
|
44
|
-
android:theme="@android:style/Theme.NoDisplay"
|
|
45
|
-
android:noHistory="true"
|
|
46
|
-
android:excludeFromRecents="true"
|
|
47
|
-
android:launchMode="singleInstance"
|
|
48
|
-
android:taskAffinity="" />
|
|
49
|
-
|
|
50
|
-
<service
|
|
51
|
-
android:name=".AlarmService"
|
|
52
|
-
android:exported="false"
|
|
53
|
-
android:foregroundServiceType="mediaPlayback" />
|
|
54
35
|
</application>
|
|
55
36
|
</manifest>
|