react-native-acoustic-mobile-push-location-beta 3.8.17

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.
Files changed (31) hide show
  1. package/README.md +45 -0
  2. package/android/android-react-native-acoustic-mobile-push-location.iml +254 -0
  3. package/android/build.gradle +45 -0
  4. package/android/react-native-acoustic-mobile-push-location.iml +255 -0
  5. package/android/src/main/AndroidManifest.xml +3 -0
  6. package/android/src/main/java/co/acoustic/mobile/push/plugin/location/RNAcousticMobilePushBroadcastReceiver.java +107 -0
  7. package/android/src/main/java/co/acoustic/mobile/push/plugin/location/RNAcousticMobilePushLocationModule.java +105 -0
  8. package/android/src/main/java/co/acoustic/mobile/push/plugin/location/RNAcousticMobilePushLocationPackage.java +37 -0
  9. package/android/src/main/res/drawable-hdpi/ic_action_back.png +0 -0
  10. package/android/src/main/res/drawable-hdpi/ic_action_forward.png +0 -0
  11. package/android/src/main/res/drawable-mdpi/ic_action_back.png +0 -0
  12. package/android/src/main/res/drawable-mdpi/ic_action_forward.png +0 -0
  13. package/android/src/main/res/drawable-xhdpi/ic_action_back.png +0 -0
  14. package/android/src/main/res/drawable-xhdpi/ic_action_forward.png +0 -0
  15. package/android/src/main/res/drawable-xxhdpi/ic_action_back.png +0 -0
  16. package/android/src/main/res/drawable-xxhdpi/ic_action_forward.png +0 -0
  17. package/android/src/main/res/layout/activity_action_webview.xml +10 -0
  18. package/android/src/main/res/menu/menu_action_webview.xml +19 -0
  19. package/android/src/main/res/values/mce-plugin-displayweb-strings.xml +5 -0
  20. package/ios/RNAcousticMobilePushLocation.h +17 -0
  21. package/ios/RNAcousticMobilePushLocation.m +111 -0
  22. package/ios/RNAcousticMobilePushLocation.xcodeproj/project.pbxproj +278 -0
  23. package/ios/RNAcousticMobilePushLocation.xcodeproj/project.xcworkspace/contents.xcworkspacedata +7 -0
  24. package/ios/RNAcousticMobilePushLocation.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +8 -0
  25. package/ios/RNAcousticMobilePushLocation.xcodeproj/project.xcworkspace/xcuserdata/buchmanj.xcuserdatad/UserInterfaceState.xcuserstate +0 -0
  26. package/ios/RNAcousticMobilePushLocation.xcodeproj/xcshareddata/xcschemes/RNAcousticMobilePushLocation.xcscheme +67 -0
  27. package/ios/RNAcousticMobilePushLocation.xcodeproj/xcuserdata/buchmanj.xcuserdatad/xcschemes/xcschememanagement.plist +32 -0
  28. package/ios/RNAcousticMobilePushLocation.xcworkspace/contents.xcworkspacedata +9 -0
  29. package/package.json +39 -0
  30. package/postinstall.js +258 -0
  31. package/react-native-acoustic-mobile-push-location.podspec +23 -0
@@ -0,0 +1,255 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <module external.linked.project.id=":react-native-acoustic-mobile-push-location" external.linked.project.path="$MODULE_DIR$" external.root.project.path="$MODULE_DIR$/../../../../ReactNative2/SampleApp/android" external.system.id="GRADLE" type="JAVA_MODULE" version="4">
3
+ <component name="FacetManager">
4
+ <facet type="android-gradle" name="Android-Gradle">
5
+ <configuration>
6
+ <option name="GRADLE_PROJECT_PATH" value=":react-native-acoustic-mobile-push-location" />
7
+ <option name="LAST_SUCCESSFUL_SYNC_AGP_VERSION" value="3.3.1" />
8
+ <option name="LAST_KNOWN_AGP_VERSION" value="3.3.1" />
9
+ </configuration>
10
+ </facet>
11
+ <facet type="android" name="Android">
12
+ <configuration>
13
+ <option name="SELECTED_BUILD_VARIANT" value="debug" />
14
+ <option name="ASSEMBLE_TASK_NAME" value="assembleDebug" />
15
+ <option name="COMPILE_JAVA_TASK_NAME" value="compileDebugSources" />
16
+ <afterSyncTasks>
17
+ <task>generateDebugSources</task>
18
+ </afterSyncTasks>
19
+ <option name="ALLOW_USER_CONFIGURATION" value="false" />
20
+ <option name="MANIFEST_FILE_RELATIVE_PATH" value="/../../../../ReactNative2/SampleApp/node_modules/react-native-acoustic-mobile-push-location/android/src/main/AndroidManifest.xml" />
21
+ <option name="RES_FOLDER_RELATIVE_PATH" value="/../../../../ReactNative2/SampleApp/node_modules/react-native-acoustic-mobile-push-location/android/src/main/res" />
22
+ <option name="RES_FOLDERS_RELATIVE_PATH" value="" />
23
+ <option name="TEST_RES_FOLDERS_RELATIVE_PATH" value="" />
24
+ <option name="ASSETS_FOLDER_RELATIVE_PATH" value="/../../../../ReactNative2/SampleApp/node_modules/react-native-acoustic-mobile-push-location/android/src/main/assets" />
25
+ <option name="PROJECT_TYPE" value="1" />
26
+ </configuration>
27
+ </facet>
28
+ </component>
29
+ <component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_1_7">
30
+ <output url="file://$MODULE_DIR$/../../../../ReactNative2/SampleApp/node_modules/react-native-acoustic-mobile-push-location/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes" />
31
+ <output-test url="file://$MODULE_DIR$/../../../../ReactNative2/SampleApp/node_modules/react-native-acoustic-mobile-push-location/android/build/intermediates/javac/debugUnitTest/compileDebugUnitTestJavaWithJavac/classes" />
32
+ <exclude-output />
33
+ <content url="file://$MODULE_DIR$" />
34
+ <content url="file://$MODULE_DIR$/../../../../ReactNative2/SampleApp/node_modules/react-native-acoustic-mobile-push-location/android/build/generated/aidl_source_output_dir/debug/compileDebugAidl/out">
35
+ <sourceFolder url="file://$MODULE_DIR$/../../../../ReactNative2/SampleApp/node_modules/react-native-acoustic-mobile-push-location/android/build/generated/aidl_source_output_dir/debug/compileDebugAidl/out" isTestSource="false" generated="true" />
36
+ </content>
37
+ <content url="file://$MODULE_DIR$/../../../../ReactNative2/SampleApp/node_modules/react-native-acoustic-mobile-push-location/android/build/generated/aidl_source_output_dir/debugAndroidTest/compileDebugAndroidTestAidl/out">
38
+ <sourceFolder url="file://$MODULE_DIR$/../../../../ReactNative2/SampleApp/node_modules/react-native-acoustic-mobile-push-location/android/build/generated/aidl_source_output_dir/debugAndroidTest/compileDebugAndroidTestAidl/out" isTestSource="true" generated="true" />
39
+ </content>
40
+ <content url="file://$MODULE_DIR$/../../../../ReactNative2/SampleApp/node_modules/react-native-acoustic-mobile-push-location/android/build/generated/renderscript_source_output_dir/debug/compileDebugRenderscript/out">
41
+ <sourceFolder url="file://$MODULE_DIR$/../../../../ReactNative2/SampleApp/node_modules/react-native-acoustic-mobile-push-location/android/build/generated/renderscript_source_output_dir/debug/compileDebugRenderscript/out" isTestSource="false" generated="true" />
42
+ </content>
43
+ <content url="file://$MODULE_DIR$/../../../../ReactNative2/SampleApp/node_modules/react-native-acoustic-mobile-push-location/android/build/generated/renderscript_source_output_dir/debugAndroidTest/compileDebugAndroidTestRenderscript/out">
44
+ <sourceFolder url="file://$MODULE_DIR$/../../../../ReactNative2/SampleApp/node_modules/react-native-acoustic-mobile-push-location/android/build/generated/renderscript_source_output_dir/debugAndroidTest/compileDebugAndroidTestRenderscript/out" isTestSource="true" generated="true" />
45
+ </content>
46
+ <content url="file://$MODULE_DIR$/../../../../ReactNative2/SampleApp/node_modules/react-native-acoustic-mobile-push-location/android/build/generated/res/resValues/androidTest/debug">
47
+ <sourceFolder url="file://$MODULE_DIR$/../../../../ReactNative2/SampleApp/node_modules/react-native-acoustic-mobile-push-location/android/build/generated/res/resValues/androidTest/debug" type="java-test-resource" generated="true" />
48
+ </content>
49
+ <content url="file://$MODULE_DIR$/../../../../ReactNative2/SampleApp/node_modules/react-native-acoustic-mobile-push-location/android/build/generated/res/resValues/debug">
50
+ <sourceFolder url="file://$MODULE_DIR$/../../../../ReactNative2/SampleApp/node_modules/react-native-acoustic-mobile-push-location/android/build/generated/res/resValues/debug" type="java-resource" generated="true" />
51
+ </content>
52
+ <content url="file://$MODULE_DIR$/../../../../ReactNative2/SampleApp/node_modules/react-native-acoustic-mobile-push-location/android/build/generated/res/rs/androidTest/debug">
53
+ <sourceFolder url="file://$MODULE_DIR$/../../../../ReactNative2/SampleApp/node_modules/react-native-acoustic-mobile-push-location/android/build/generated/res/rs/androidTest/debug" type="java-test-resource" generated="true" />
54
+ </content>
55
+ <content url="file://$MODULE_DIR$/../../../../ReactNative2/SampleApp/node_modules/react-native-acoustic-mobile-push-location/android/build/generated/res/rs/debug">
56
+ <sourceFolder url="file://$MODULE_DIR$/../../../../ReactNative2/SampleApp/node_modules/react-native-acoustic-mobile-push-location/android/build/generated/res/rs/debug" type="java-resource" generated="true" />
57
+ </content>
58
+ <content url="file://$MODULE_DIR$/../../../../ReactNative2/SampleApp/node_modules/react-native-acoustic-mobile-push-location/android/build/generated/source/apt/androidTest/debug">
59
+ <sourceFolder url="file://$MODULE_DIR$/../../../../ReactNative2/SampleApp/node_modules/react-native-acoustic-mobile-push-location/android/build/generated/source/apt/androidTest/debug" isTestSource="true" generated="true" />
60
+ </content>
61
+ <content url="file://$MODULE_DIR$/../../../../ReactNative2/SampleApp/node_modules/react-native-acoustic-mobile-push-location/android/build/generated/source/apt/debug">
62
+ <sourceFolder url="file://$MODULE_DIR$/../../../../ReactNative2/SampleApp/node_modules/react-native-acoustic-mobile-push-location/android/build/generated/source/apt/debug" isTestSource="false" generated="true" />
63
+ </content>
64
+ <content url="file://$MODULE_DIR$/../../../../ReactNative2/SampleApp/node_modules/react-native-acoustic-mobile-push-location/android/build/generated/source/apt/test/debug">
65
+ <sourceFolder url="file://$MODULE_DIR$/../../../../ReactNative2/SampleApp/node_modules/react-native-acoustic-mobile-push-location/android/build/generated/source/apt/test/debug" isTestSource="true" generated="true" />
66
+ </content>
67
+ <content url="file://$MODULE_DIR$/../../../../ReactNative2/SampleApp/node_modules/react-native-acoustic-mobile-push-location/android/build/generated/source/buildConfig/androidTest/debug">
68
+ <sourceFolder url="file://$MODULE_DIR$/../../../../ReactNative2/SampleApp/node_modules/react-native-acoustic-mobile-push-location/android/build/generated/source/buildConfig/androidTest/debug" isTestSource="true" generated="true" />
69
+ </content>
70
+ <content url="file://$MODULE_DIR$/../../../../ReactNative2/SampleApp/node_modules/react-native-acoustic-mobile-push-location/android/build/generated/source/buildConfig/debug">
71
+ <sourceFolder url="file://$MODULE_DIR$/../../../../ReactNative2/SampleApp/node_modules/react-native-acoustic-mobile-push-location/android/build/generated/source/buildConfig/debug" isTestSource="false" generated="true" />
72
+ </content>
73
+ <content url="file://$MODULE_DIR$/../../../../ReactNative2/SampleApp/node_modules/react-native-acoustic-mobile-push-location/android/src/androidTest/aidl">
74
+ <sourceFolder url="file://$MODULE_DIR$/../../../../ReactNative2/SampleApp/node_modules/react-native-acoustic-mobile-push-location/android/src/androidTest/aidl" isTestSource="true" />
75
+ </content>
76
+ <content url="file://$MODULE_DIR$/../../../../ReactNative2/SampleApp/node_modules/react-native-acoustic-mobile-push-location/android/src/androidTest/assets">
77
+ <sourceFolder url="file://$MODULE_DIR$/../../../../ReactNative2/SampleApp/node_modules/react-native-acoustic-mobile-push-location/android/src/androidTest/assets" type="java-test-resource" />
78
+ </content>
79
+ <content url="file://$MODULE_DIR$/../../../../ReactNative2/SampleApp/node_modules/react-native-acoustic-mobile-push-location/android/src/androidTest/java">
80
+ <sourceFolder url="file://$MODULE_DIR$/../../../../ReactNative2/SampleApp/node_modules/react-native-acoustic-mobile-push-location/android/src/androidTest/java" isTestSource="true" />
81
+ </content>
82
+ <content url="file://$MODULE_DIR$/../../../../ReactNative2/SampleApp/node_modules/react-native-acoustic-mobile-push-location/android/src/androidTest/res">
83
+ <sourceFolder url="file://$MODULE_DIR$/../../../../ReactNative2/SampleApp/node_modules/react-native-acoustic-mobile-push-location/android/src/androidTest/res" type="java-test-resource" />
84
+ </content>
85
+ <content url="file://$MODULE_DIR$/../../../../ReactNative2/SampleApp/node_modules/react-native-acoustic-mobile-push-location/android/src/androidTest/resources">
86
+ <sourceFolder url="file://$MODULE_DIR$/../../../../ReactNative2/SampleApp/node_modules/react-native-acoustic-mobile-push-location/android/src/androidTest/resources" type="java-test-resource" />
87
+ </content>
88
+ <content url="file://$MODULE_DIR$/../../../../ReactNative2/SampleApp/node_modules/react-native-acoustic-mobile-push-location/android/src/androidTest/rs">
89
+ <sourceFolder url="file://$MODULE_DIR$/../../../../ReactNative2/SampleApp/node_modules/react-native-acoustic-mobile-push-location/android/src/androidTest/rs" isTestSource="true" />
90
+ </content>
91
+ <content url="file://$MODULE_DIR$/../../../../ReactNative2/SampleApp/node_modules/react-native-acoustic-mobile-push-location/android/src/androidTest/shaders">
92
+ <sourceFolder url="file://$MODULE_DIR$/../../../../ReactNative2/SampleApp/node_modules/react-native-acoustic-mobile-push-location/android/src/androidTest/shaders" isTestSource="true" />
93
+ </content>
94
+ <content url="file://$MODULE_DIR$/../../../../ReactNative2/SampleApp/node_modules/react-native-acoustic-mobile-push-location/android/src/androidTestDebug/aidl">
95
+ <sourceFolder url="file://$MODULE_DIR$/../../../../ReactNative2/SampleApp/node_modules/react-native-acoustic-mobile-push-location/android/src/androidTestDebug/aidl" isTestSource="true" />
96
+ </content>
97
+ <content url="file://$MODULE_DIR$/../../../../ReactNative2/SampleApp/node_modules/react-native-acoustic-mobile-push-location/android/src/androidTestDebug/assets">
98
+ <sourceFolder url="file://$MODULE_DIR$/../../../../ReactNative2/SampleApp/node_modules/react-native-acoustic-mobile-push-location/android/src/androidTestDebug/assets" type="java-test-resource" />
99
+ </content>
100
+ <content url="file://$MODULE_DIR$/../../../../ReactNative2/SampleApp/node_modules/react-native-acoustic-mobile-push-location/android/src/androidTestDebug/java">
101
+ <sourceFolder url="file://$MODULE_DIR$/../../../../ReactNative2/SampleApp/node_modules/react-native-acoustic-mobile-push-location/android/src/androidTestDebug/java" isTestSource="true" />
102
+ </content>
103
+ <content url="file://$MODULE_DIR$/../../../../ReactNative2/SampleApp/node_modules/react-native-acoustic-mobile-push-location/android/src/androidTestDebug/res">
104
+ <sourceFolder url="file://$MODULE_DIR$/../../../../ReactNative2/SampleApp/node_modules/react-native-acoustic-mobile-push-location/android/src/androidTestDebug/res" type="java-test-resource" />
105
+ </content>
106
+ <content url="file://$MODULE_DIR$/../../../../ReactNative2/SampleApp/node_modules/react-native-acoustic-mobile-push-location/android/src/androidTestDebug/resources">
107
+ <sourceFolder url="file://$MODULE_DIR$/../../../../ReactNative2/SampleApp/node_modules/react-native-acoustic-mobile-push-location/android/src/androidTestDebug/resources" type="java-test-resource" />
108
+ </content>
109
+ <content url="file://$MODULE_DIR$/../../../../ReactNative2/SampleApp/node_modules/react-native-acoustic-mobile-push-location/android/src/androidTestDebug/rs">
110
+ <sourceFolder url="file://$MODULE_DIR$/../../../../ReactNative2/SampleApp/node_modules/react-native-acoustic-mobile-push-location/android/src/androidTestDebug/rs" isTestSource="true" />
111
+ </content>
112
+ <content url="file://$MODULE_DIR$/../../../../ReactNative2/SampleApp/node_modules/react-native-acoustic-mobile-push-location/android/src/androidTestDebug/shaders">
113
+ <sourceFolder url="file://$MODULE_DIR$/../../../../ReactNative2/SampleApp/node_modules/react-native-acoustic-mobile-push-location/android/src/androidTestDebug/shaders" isTestSource="true" />
114
+ </content>
115
+ <content url="file://$MODULE_DIR$/../../../../ReactNative2/SampleApp/node_modules/react-native-acoustic-mobile-push-location/android/src/debug/aidl">
116
+ <sourceFolder url="file://$MODULE_DIR$/../../../../ReactNative2/SampleApp/node_modules/react-native-acoustic-mobile-push-location/android/src/debug/aidl" isTestSource="false" />
117
+ </content>
118
+ <content url="file://$MODULE_DIR$/../../../../ReactNative2/SampleApp/node_modules/react-native-acoustic-mobile-push-location/android/src/debug/assets">
119
+ <sourceFolder url="file://$MODULE_DIR$/../../../../ReactNative2/SampleApp/node_modules/react-native-acoustic-mobile-push-location/android/src/debug/assets" type="java-resource" />
120
+ </content>
121
+ <content url="file://$MODULE_DIR$/../../../../ReactNative2/SampleApp/node_modules/react-native-acoustic-mobile-push-location/android/src/debug/java">
122
+ <sourceFolder url="file://$MODULE_DIR$/../../../../ReactNative2/SampleApp/node_modules/react-native-acoustic-mobile-push-location/android/src/debug/java" isTestSource="false" />
123
+ </content>
124
+ <content url="file://$MODULE_DIR$/../../../../ReactNative2/SampleApp/node_modules/react-native-acoustic-mobile-push-location/android/src/debug/res">
125
+ <sourceFolder url="file://$MODULE_DIR$/../../../../ReactNative2/SampleApp/node_modules/react-native-acoustic-mobile-push-location/android/src/debug/res" type="java-resource" />
126
+ </content>
127
+ <content url="file://$MODULE_DIR$/../../../../ReactNative2/SampleApp/node_modules/react-native-acoustic-mobile-push-location/android/src/debug/resources">
128
+ <sourceFolder url="file://$MODULE_DIR$/../../../../ReactNative2/SampleApp/node_modules/react-native-acoustic-mobile-push-location/android/src/debug/resources" type="java-resource" />
129
+ </content>
130
+ <content url="file://$MODULE_DIR$/../../../../ReactNative2/SampleApp/node_modules/react-native-acoustic-mobile-push-location/android/src/debug/rs">
131
+ <sourceFolder url="file://$MODULE_DIR$/../../../../ReactNative2/SampleApp/node_modules/react-native-acoustic-mobile-push-location/android/src/debug/rs" isTestSource="false" />
132
+ </content>
133
+ <content url="file://$MODULE_DIR$/../../../../ReactNative2/SampleApp/node_modules/react-native-acoustic-mobile-push-location/android/src/debug/shaders">
134
+ <sourceFolder url="file://$MODULE_DIR$/../../../../ReactNative2/SampleApp/node_modules/react-native-acoustic-mobile-push-location/android/src/debug/shaders" isTestSource="false" />
135
+ </content>
136
+ <content url="file://$MODULE_DIR$/../../../../ReactNative2/SampleApp/node_modules/react-native-acoustic-mobile-push-location/android/src/main/aidl">
137
+ <sourceFolder url="file://$MODULE_DIR$/../../../../ReactNative2/SampleApp/node_modules/react-native-acoustic-mobile-push-location/android/src/main/aidl" isTestSource="false" />
138
+ </content>
139
+ <content url="file://$MODULE_DIR$/../../../../ReactNative2/SampleApp/node_modules/react-native-acoustic-mobile-push-location/android/src/main/assets">
140
+ <sourceFolder url="file://$MODULE_DIR$/../../../../ReactNative2/SampleApp/node_modules/react-native-acoustic-mobile-push-location/android/src/main/assets" type="java-resource" />
141
+ </content>
142
+ <content url="file://$MODULE_DIR$/../../../../ReactNative2/SampleApp/node_modules/react-native-acoustic-mobile-push-location/android/src/main/java">
143
+ <sourceFolder url="file://$MODULE_DIR$/../../../../ReactNative2/SampleApp/node_modules/react-native-acoustic-mobile-push-location/android/src/main/java" isTestSource="false" />
144
+ </content>
145
+ <content url="file://$MODULE_DIR$/../../../../ReactNative2/SampleApp/node_modules/react-native-acoustic-mobile-push-location/android/src/main/res">
146
+ <sourceFolder url="file://$MODULE_DIR$/../../../../ReactNative2/SampleApp/node_modules/react-native-acoustic-mobile-push-location/android/src/main/res" type="java-resource" />
147
+ </content>
148
+ <content url="file://$MODULE_DIR$/../../../../ReactNative2/SampleApp/node_modules/react-native-acoustic-mobile-push-location/android/src/main/resources">
149
+ <sourceFolder url="file://$MODULE_DIR$/../../../../ReactNative2/SampleApp/node_modules/react-native-acoustic-mobile-push-location/android/src/main/resources" type="java-resource" />
150
+ </content>
151
+ <content url="file://$MODULE_DIR$/../../../../ReactNative2/SampleApp/node_modules/react-native-acoustic-mobile-push-location/android/src/main/rs">
152
+ <sourceFolder url="file://$MODULE_DIR$/../../../../ReactNative2/SampleApp/node_modules/react-native-acoustic-mobile-push-location/android/src/main/rs" isTestSource="false" />
153
+ </content>
154
+ <content url="file://$MODULE_DIR$/../../../../ReactNative2/SampleApp/node_modules/react-native-acoustic-mobile-push-location/android/src/main/shaders">
155
+ <sourceFolder url="file://$MODULE_DIR$/../../../../ReactNative2/SampleApp/node_modules/react-native-acoustic-mobile-push-location/android/src/main/shaders" isTestSource="false" />
156
+ </content>
157
+ <content url="file://$MODULE_DIR$/../../../../ReactNative2/SampleApp/node_modules/react-native-acoustic-mobile-push-location/android/src/test/aidl">
158
+ <sourceFolder url="file://$MODULE_DIR$/../../../../ReactNative2/SampleApp/node_modules/react-native-acoustic-mobile-push-location/android/src/test/aidl" isTestSource="true" />
159
+ </content>
160
+ <content url="file://$MODULE_DIR$/../../../../ReactNative2/SampleApp/node_modules/react-native-acoustic-mobile-push-location/android/src/test/assets">
161
+ <sourceFolder url="file://$MODULE_DIR$/../../../../ReactNative2/SampleApp/node_modules/react-native-acoustic-mobile-push-location/android/src/test/assets" type="java-test-resource" />
162
+ </content>
163
+ <content url="file://$MODULE_DIR$/../../../../ReactNative2/SampleApp/node_modules/react-native-acoustic-mobile-push-location/android/src/test/java">
164
+ <sourceFolder url="file://$MODULE_DIR$/../../../../ReactNative2/SampleApp/node_modules/react-native-acoustic-mobile-push-location/android/src/test/java" isTestSource="true" />
165
+ </content>
166
+ <content url="file://$MODULE_DIR$/../../../../ReactNative2/SampleApp/node_modules/react-native-acoustic-mobile-push-location/android/src/test/res">
167
+ <sourceFolder url="file://$MODULE_DIR$/../../../../ReactNative2/SampleApp/node_modules/react-native-acoustic-mobile-push-location/android/src/test/res" type="java-test-resource" />
168
+ </content>
169
+ <content url="file://$MODULE_DIR$/../../../../ReactNative2/SampleApp/node_modules/react-native-acoustic-mobile-push-location/android/src/test/resources">
170
+ <sourceFolder url="file://$MODULE_DIR$/../../../../ReactNative2/SampleApp/node_modules/react-native-acoustic-mobile-push-location/android/src/test/resources" type="java-test-resource" />
171
+ </content>
172
+ <content url="file://$MODULE_DIR$/../../../../ReactNative2/SampleApp/node_modules/react-native-acoustic-mobile-push-location/android/src/test/rs">
173
+ <sourceFolder url="file://$MODULE_DIR$/../../../../ReactNative2/SampleApp/node_modules/react-native-acoustic-mobile-push-location/android/src/test/rs" isTestSource="true" />
174
+ </content>
175
+ <content url="file://$MODULE_DIR$/../../../../ReactNative2/SampleApp/node_modules/react-native-acoustic-mobile-push-location/android/src/test/shaders">
176
+ <sourceFolder url="file://$MODULE_DIR$/../../../../ReactNative2/SampleApp/node_modules/react-native-acoustic-mobile-push-location/android/src/test/shaders" isTestSource="true" />
177
+ </content>
178
+ <content url="file://$MODULE_DIR$/../../../../ReactNative2/SampleApp/node_modules/react-native-acoustic-mobile-push-location/android/src/testDebug/aidl">
179
+ <sourceFolder url="file://$MODULE_DIR$/../../../../ReactNative2/SampleApp/node_modules/react-native-acoustic-mobile-push-location/android/src/testDebug/aidl" isTestSource="true" />
180
+ </content>
181
+ <content url="file://$MODULE_DIR$/../../../../ReactNative2/SampleApp/node_modules/react-native-acoustic-mobile-push-location/android/src/testDebug/assets">
182
+ <sourceFolder url="file://$MODULE_DIR$/../../../../ReactNative2/SampleApp/node_modules/react-native-acoustic-mobile-push-location/android/src/testDebug/assets" type="java-test-resource" />
183
+ </content>
184
+ <content url="file://$MODULE_DIR$/../../../../ReactNative2/SampleApp/node_modules/react-native-acoustic-mobile-push-location/android/src/testDebug/java">
185
+ <sourceFolder url="file://$MODULE_DIR$/../../../../ReactNative2/SampleApp/node_modules/react-native-acoustic-mobile-push-location/android/src/testDebug/java" isTestSource="true" />
186
+ </content>
187
+ <content url="file://$MODULE_DIR$/../../../../ReactNative2/SampleApp/node_modules/react-native-acoustic-mobile-push-location/android/src/testDebug/res">
188
+ <sourceFolder url="file://$MODULE_DIR$/../../../../ReactNative2/SampleApp/node_modules/react-native-acoustic-mobile-push-location/android/src/testDebug/res" type="java-test-resource" />
189
+ </content>
190
+ <content url="file://$MODULE_DIR$/../../../../ReactNative2/SampleApp/node_modules/react-native-acoustic-mobile-push-location/android/src/testDebug/resources">
191
+ <sourceFolder url="file://$MODULE_DIR$/../../../../ReactNative2/SampleApp/node_modules/react-native-acoustic-mobile-push-location/android/src/testDebug/resources" type="java-test-resource" />
192
+ </content>
193
+ <content url="file://$MODULE_DIR$/../../../../ReactNative2/SampleApp/node_modules/react-native-acoustic-mobile-push-location/android/src/testDebug/rs">
194
+ <sourceFolder url="file://$MODULE_DIR$/../../../../ReactNative2/SampleApp/node_modules/react-native-acoustic-mobile-push-location/android/src/testDebug/rs" isTestSource="true" />
195
+ </content>
196
+ <content url="file://$MODULE_DIR$/../../../../ReactNative2/SampleApp/node_modules/react-native-acoustic-mobile-push-location/android/src/testDebug/shaders">
197
+ <sourceFolder url="file://$MODULE_DIR$/../../../../ReactNative2/SampleApp/node_modules/react-native-acoustic-mobile-push-location/android/src/testDebug/shaders" isTestSource="true" />
198
+ </content>
199
+ <orderEntry type="jdk" jdkName="Android API 26 Platform" jdkType="Android SDK" />
200
+ <orderEntry type="sourceFolder" forTests="false" />
201
+ <orderEntry type="library" name="Gradle: __local_aars__:/Users/buchmanj/Projects/Development/ReactNative2/SampleApp/node_modules/react-native-acoustic-mobile-push/android/libs/support-acoustic-mobile-push-android-sdk-3.8.0.jar:unspecified@jar" level="project" />
202
+ <orderEntry type="library" name="Gradle: com.facebook.infer.annotation:infer-annotation:0.11.2@jar" level="project" />
203
+ <orderEntry type="library" name="Gradle: javax.inject:javax.inject:1@jar" level="project" />
204
+ <orderEntry type="library" name="Gradle: com.google.code.findbugs:jsr305:3.0.2@jar" level="project" />
205
+ <orderEntry type="library" name="Gradle: com.squareup.okhttp3:okhttp-urlconnection:3.12.1@jar" level="project" />
206
+ <orderEntry type="library" name="Gradle: com.squareup.okhttp3:okhttp:3.12.1@jar" level="project" />
207
+ <orderEntry type="library" name="Gradle: com.squareup.okio:okio:1.15.0@jar" level="project" />
208
+ <orderEntry type="library" name="Gradle: com.android.support:collections:28.0.0@jar" level="project" />
209
+ <orderEntry type="library" name="Gradle: android.arch.lifecycle:common:1.1.1@jar" level="project" />
210
+ <orderEntry type="library" name="Gradle: android.arch.core:common:1.1.1@jar" level="project" />
211
+ <orderEntry type="library" name="Gradle: com.android.support:support-annotations:28.0.0@jar" level="project" />
212
+ <orderEntry type="library" name="Gradle: com.parse.bolts:bolts-tasks:1.4.0@jar" level="project" />
213
+ <orderEntry type="library" name="Gradle: com.facebook.react:react-native:0.59.9@aar" level="project" />
214
+ <orderEntry type="library" name="Gradle: com.android.support:appcompat-v7:28.0.0@aar" level="project" />
215
+ <orderEntry type="library" name="Gradle: com.google.android.gms:play-services-location:16.0.0@aar" level="project" />
216
+ <orderEntry type="library" name="Gradle: com.google.android.gms:play-services-base:16.0.1@aar" level="project" />
217
+ <orderEntry type="library" name="Gradle: com.facebook.fresco:fresco:1.10.0@aar" level="project" />
218
+ <orderEntry type="library" name="Gradle: com.facebook.fresco:imagepipeline-okhttp3:1.10.0@aar" level="project" />
219
+ <orderEntry type="library" name="Gradle: com.facebook.fresco:drawee:1.10.0@aar" level="project" />
220
+ <orderEntry type="library" name="Gradle: com.facebook.fresco:imagepipeline:1.10.0@aar" level="project" />
221
+ <orderEntry type="library" name="Gradle: com.facebook.fresco:imagepipeline-base:1.10.0@aar" level="project" />
222
+ <orderEntry type="library" name="Gradle: com.facebook.soloader:soloader:0.6.0@aar" level="project" />
223
+ <orderEntry type="library" name="Gradle: com.google.android.gms:play-services-tasks:16.0.1@aar" level="project" />
224
+ <orderEntry type="library" name="Gradle: com.google.android.gms:play-services-places-placereport:16.0.0@aar" level="project" />
225
+ <orderEntry type="library" name="Gradle: com.google.android.gms:play-services-basement:16.0.1@aar" level="project" />
226
+ <orderEntry type="library" name="Gradle: com.android.support:support-v4:26.1.0@aar" level="project" />
227
+ <orderEntry type="library" name="Gradle: com.android.support:support-fragment:28.0.0@aar" level="project" />
228
+ <orderEntry type="library" name="Gradle: com.android.support:animated-vector-drawable:28.0.0@aar" level="project" />
229
+ <orderEntry type="library" name="Gradle: com.android.support:support-core-ui:28.0.0@aar" level="project" />
230
+ <orderEntry type="library" name="Gradle: com.android.support:support-core-utils:28.0.0@aar" level="project" />
231
+ <orderEntry type="library" name="Gradle: com.android.support:support-vector-drawable:28.0.0@aar" level="project" />
232
+ <orderEntry type="library" name="Gradle: com.android.support:loader:28.0.0@aar" level="project" />
233
+ <orderEntry type="library" name="Gradle: com.android.support:viewpager:28.0.0@aar" level="project" />
234
+ <orderEntry type="library" name="Gradle: com.android.support:coordinatorlayout:28.0.0@aar" level="project" />
235
+ <orderEntry type="library" name="Gradle: com.android.support:drawerlayout:28.0.0@aar" level="project" />
236
+ <orderEntry type="library" name="Gradle: com.android.support:slidingpanelayout:28.0.0@aar" level="project" />
237
+ <orderEntry type="library" name="Gradle: com.android.support:customview:28.0.0@aar" level="project" />
238
+ <orderEntry type="library" name="Gradle: com.android.support:swiperefreshlayout:28.0.0@aar" level="project" />
239
+ <orderEntry type="library" name="Gradle: com.android.support:asynclayoutinflater:28.0.0@aar" level="project" />
240
+ <orderEntry type="library" name="Gradle: com.android.support:support-media-compat:26.1.0@aar" level="project" />
241
+ <orderEntry type="library" name="Gradle: com.android.support:support-compat:28.0.0@aar" level="project" />
242
+ <orderEntry type="library" name="Gradle: com.android.support:versionedparcelable:28.0.0@aar" level="project" />
243
+ <orderEntry type="library" name="Gradle: com.android.support:cursoradapter:28.0.0@aar" level="project" />
244
+ <orderEntry type="library" name="Gradle: android.arch.lifecycle:runtime:1.1.1@aar" level="project" />
245
+ <orderEntry type="library" name="Gradle: com.android.support:documentfile:28.0.0@aar" level="project" />
246
+ <orderEntry type="library" name="Gradle: com.android.support:localbroadcastmanager:28.0.0@aar" level="project" />
247
+ <orderEntry type="library" name="Gradle: com.android.support:print:28.0.0@aar" level="project" />
248
+ <orderEntry type="library" name="Gradle: android.arch.lifecycle:viewmodel:1.1.1@aar" level="project" />
249
+ <orderEntry type="library" name="Gradle: android.arch.lifecycle:livedata:1.1.1@aar" level="project" />
250
+ <orderEntry type="library" name="Gradle: android.arch.lifecycle:livedata-core:1.1.1@aar" level="project" />
251
+ <orderEntry type="library" name="Gradle: android.arch.core:runtime:1.1.1@aar" level="project" />
252
+ <orderEntry type="library" name="Gradle: com.android.support:interpolator:28.0.0@aar" level="project" />
253
+ <orderEntry type="library" name="Gradle: com.facebook.fresco:fbcore:1.10.0@aar" level="project" />
254
+ </component>
255
+ </module>
@@ -0,0 +1,3 @@
1
+ <manifest xmlns:android="http://schemas.android.com/apk/res/android"
2
+ package="co.acoustic.mobile.push.plugin.location">
3
+ </manifest>
@@ -0,0 +1,107 @@
1
+ /*
2
+ * Copyright © 2019, 2023 Acoustic, L.P. All rights reserved.
3
+ *
4
+ * NOTICE: This file contains material that is confidential and proprietary to
5
+ * Acoustic, L.P. and/or other developers. No license is granted under any intellectual or
6
+ * industrial property rights of Acoustic, L.P. except as may be provided in an agreement with
7
+ * Acoustic, L.P. Any unauthorized copying or distribution of content from this file is
8
+ * prohibited.
9
+ */
10
+
11
+ package co.acoustic.mobile.push.plugin.location;
12
+
13
+ import android.content.Context;
14
+ import android.content.Intent;
15
+ import android.location.Location;
16
+ import android.os.Bundle;
17
+
18
+ import co.acoustic.mobile.push.sdk.api.MceBroadcastReceiver;
19
+ import co.acoustic.mobile.push.sdk.api.attribute.AttributesOperation;
20
+ import co.acoustic.mobile.push.sdk.api.event.Event;
21
+ import co.acoustic.mobile.push.sdk.api.notification.NotificationDetails;
22
+ import co.acoustic.mobile.push.sdk.location.MceLocation;
23
+
24
+ import java.util.Date;
25
+ import java.util.List;
26
+
27
+ public class RNAcousticMobilePushBroadcastReceiver extends MceBroadcastReceiver {
28
+
29
+ private static final String TAG = "RNAcousticMobilePushBroadcastReceiver";
30
+
31
+ public static void onLocationAuthorization(Context context) {
32
+ RNAcousticMobilePushLocationModule.sendEvent("LocationAuthorization", null);
33
+ }
34
+
35
+ @Override
36
+ public void onLocationUpdate(Context context, Location location) {
37
+ RNAcousticMobilePushLocationModule.sendEvent("DownloadedLocations", null);
38
+ }
39
+
40
+ @Override
41
+ public void onActionNotYetRegistered(Context context, String actionType) {
42
+ }
43
+
44
+ @Override
45
+ public void onActionNotRegistered(Context context, String actionType) {
46
+ }
47
+
48
+ @Override
49
+ public void onSdkRegistered(Context context) {
50
+ }
51
+
52
+ @Override
53
+ public void onSdkRegistrationChanged(Context context) {
54
+ }
55
+
56
+ @Override
57
+ public void onSdkRegistrationUpdated(Context context) {
58
+ }
59
+
60
+ @Override
61
+ public void onMessagingServiceRegistered(Context context) {
62
+ }
63
+
64
+ @Override
65
+ public void onMessage(Context context, NotificationDetails notificationDetails, Bundle bundle) {
66
+ }
67
+
68
+ @Override
69
+ public void onC2dmError(Context context, String error) {
70
+ }
71
+
72
+ @Override
73
+ public void onSessionStart(Context context, Date date) {
74
+ }
75
+
76
+ @Override
77
+ public void onSessionEnd(Context context, Date date, long l) {
78
+ }
79
+
80
+ @Override
81
+ public void onNotificationAction(Context context, Date date, String type, String name, String value) {
82
+ }
83
+
84
+ @Override
85
+ public void onAttributesOperation(Context context, AttributesOperation attributesOperation) {
86
+ }
87
+
88
+ @Override
89
+ public void onEventsSend(Context context, List<Event> events) {
90
+ }
91
+
92
+ @Override
93
+ public void onIllegalNotification(Context context, Intent intent) {
94
+ }
95
+
96
+ @Override
97
+ public void onNonMceBroadcast(Context context, Intent intent) {
98
+ }
99
+
100
+ @Override
101
+ public void onLocationEvent(Context context, MceLocation location, LocationType locationType, LocationEventType locationEventType) {
102
+ }
103
+
104
+ @Override
105
+ public void onInboxCountUpdate(Context context) {
106
+ }
107
+ }
@@ -0,0 +1,105 @@
1
+ /*
2
+ * Copyright © 2019, 2023 Acoustic, L.P. All rights reserved.
3
+ *
4
+ * NOTICE: This file contains material that is confidential and proprietary to
5
+ * Acoustic, L.P. and/or other developers. No license is granted under any intellectual or
6
+ * industrial property rights of Acoustic, L.P. except as may be provided in an agreement with
7
+ * Acoustic, L.P. Any unauthorized copying or distribution of content from this file is
8
+ * prohibited.
9
+ */
10
+
11
+ package co.acoustic.mobile.push.plugin.location;
12
+
13
+ import androidx.core.app.ActivityCompat;
14
+ import androidx.core.content.ContextCompat;
15
+ import com.facebook.react.bridge.ReactApplicationContext;
16
+ import com.facebook.react.bridge.ReactContextBaseJavaModule;
17
+ import com.facebook.react.bridge.ReactMethod;
18
+ import com.facebook.react.bridge.Callback;
19
+
20
+ import android.app.Activity;
21
+ import android.content.Context;
22
+ import android.content.SharedPreferences;
23
+ import android.content.pm.PackageManager;
24
+
25
+ import com.facebook.react.bridge.WritableMap;
26
+ import com.facebook.react.modules.core.DeviceEventManagerModule;
27
+ import co.acoustic.mobile.push.sdk.location.LocationManager;
28
+ import co.acoustic.mobile.push.sdk.location.LocationRetrieveService;
29
+
30
+ public class RNAcousticMobilePushLocationModule extends ReactContextBaseJavaModule {
31
+ private static String TAG = "RNAcousticMobilePushLocationModule";
32
+
33
+ private static ReactApplicationContext reactContext;
34
+
35
+ // Send event to javascript
36
+ static protected void sendEvent(String eventName, WritableMap params) {
37
+ reactContext.getJSModule(DeviceEventManagerModule.RCTDeviceEventEmitter.class).emit(eventName, params);
38
+ }
39
+
40
+ public RNAcousticMobilePushLocationModule(ReactApplicationContext reactContext) {
41
+ super(reactContext);
42
+ RNAcousticMobilePushLocationModule.reactContext = reactContext;
43
+ }
44
+
45
+ @Override
46
+ public String getName() {
47
+ return "RNAcousticMobilePushLocation";
48
+ }
49
+
50
+ @ReactMethod
51
+ public void locationStatus(Callback callback) {
52
+ SharedPreferences prefs = reactContext.getSharedPreferences("MCE", Context.MODE_PRIVATE);
53
+ boolean status = prefs.getBoolean("locationInitialized", false);
54
+ final Activity activity = getCurrentActivity();
55
+
56
+ if(status && activity != null) {
57
+ int access = ContextCompat.checkSelfPermission(activity, android.Manifest.permission.ACCESS_FINE_LOCATION);
58
+ if(access == PackageManager.PERMISSION_GRANTED) {
59
+ callback.invoke("always");
60
+ } else {
61
+ callback.invoke("denied");
62
+ }
63
+ } else {
64
+ callback.invoke("disabled");
65
+ }
66
+
67
+ }
68
+
69
+ @ReactMethod
70
+ public void syncLocations() {
71
+ LocationRetrieveService.startLocationUpdates(reactContext, false);
72
+ }
73
+
74
+ @ReactMethod
75
+ public void enableLocation() {
76
+ SharedPreferences prefs = reactContext.getSharedPreferences("MCE", Context.MODE_PRIVATE);
77
+ SharedPreferences.Editor prefEditor = prefs.edit();
78
+ prefEditor.putBoolean("locationInitialized", true);
79
+ prefEditor.commit();
80
+
81
+ final Activity activity = getCurrentActivity();
82
+ if(activity != null) {
83
+ activity.runOnUiThread(new Runnable() {
84
+ public void run() {
85
+ if (ContextCompat.checkSelfPermission(activity, android.Manifest.permission.ACCESS_FINE_LOCATION) != PackageManager.PERMISSION_GRANTED) {
86
+ ActivityCompat.requestPermissions(activity, new String[]{android.Manifest.permission.ACCESS_FINE_LOCATION, android.Manifest.permission.ACCESS_COARSE_LOCATION, android.Manifest.permission.BLUETOOTH, android.Manifest.permission.BLUETOOTH_ADMIN}, 0);
87
+ } else {
88
+ LocationManager.enableLocationSupport(reactContext);
89
+ RNAcousticMobilePushBroadcastReceiver.onLocationAuthorization(reactContext);
90
+ }
91
+ }
92
+ });
93
+ }
94
+ }
95
+
96
+ @ReactMethod
97
+ public void addListener(String eventName) {
98
+
99
+ }
100
+
101
+ @ReactMethod
102
+ public void removeListeners(Integer count) {
103
+
104
+ }
105
+ }
@@ -0,0 +1,37 @@
1
+ /*
2
+ * Copyright © 2019, 2023 Acoustic, L.P. All rights reserved.
3
+ *
4
+ * NOTICE: This file contains material that is confidential and proprietary to
5
+ * Acoustic, L.P. and/or other developers. No license is granted under any intellectual or
6
+ * industrial property rights of Acoustic, L.P. except as may be provided in an agreement with
7
+ * Acoustic, L.P. Any unauthorized copying or distribution of content from this file is
8
+ * prohibited.
9
+ */
10
+
11
+ package co.acoustic.mobile.push.plugin.location;
12
+
13
+ import java.util.Arrays;
14
+ import java.util.Collections;
15
+ import java.util.List;
16
+
17
+ import com.facebook.react.ReactPackage;
18
+ import com.facebook.react.bridge.NativeModule;
19
+ import com.facebook.react.bridge.ReactApplicationContext;
20
+ import com.facebook.react.uimanager.ViewManager;
21
+ import com.facebook.react.bridge.JavaScriptModule;
22
+ public class RNAcousticMobilePushLocationPackage implements ReactPackage {
23
+ @Override
24
+ public List<NativeModule> createNativeModules(ReactApplicationContext reactContext) {
25
+ return Arrays.<NativeModule>asList(new RNAcousticMobilePushLocationModule(reactContext));
26
+ }
27
+
28
+ // Deprecated from RN 0.47
29
+ public List<Class<? extends JavaScriptModule>> createJSModules() {
30
+ return Collections.emptyList();
31
+ }
32
+
33
+ @Override
34
+ public List<ViewManager> createViewManagers(ReactApplicationContext reactContext) {
35
+ return Collections.emptyList();
36
+ }
37
+ }
@@ -0,0 +1,10 @@
1
+ <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
2
+ xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent"
3
+ android:layout_height="match_parent"
4
+ tools:context=".ActionWebview">
5
+
6
+ <WebView
7
+ android:layout_width="fill_parent"
8
+ android:layout_height="fill_parent"
9
+ android:id="@+id/webView" />
10
+ </RelativeLayout>
@@ -0,0 +1,19 @@
1
+ <menu xmlns:android="http://schemas.android.com/apk/res/android"
2
+ xmlns:app="http://schemas.android.com/apk/res-auto"
3
+ xmlns:tools="http://schemas.android.com/tools" tools:context=".ActionWebview">
4
+
5
+ <item android:id="@+id/action_back"
6
+ android:icon="@drawable/ic_action_back"
7
+ android:title="@string/action_back"
8
+ app:showAsAction="ifRoom"
9
+ />
10
+ <item android:id="@+id/action_forward"
11
+ android:icon="@drawable/ic_action_forward"
12
+ android:title="@string/action_forward"
13
+ app:showAsAction="ifRoom"
14
+ />
15
+ <item android:id="@+id/action_done"
16
+ android:title="@string/action_done"
17
+ app:showAsAction="always"
18
+ />
19
+ </menu>
@@ -0,0 +1,5 @@
1
+ <resources>
2
+ <string name="action_back">Back</string>
3
+ <string name="action_forward">Forward</string>
4
+ <string name="action_done">Done</string>
5
+ </resources>
@@ -0,0 +1,17 @@
1
+ /*
2
+ * Copyright © 2019, 2023 Acoustic, L.P. All rights reserved.
3
+ *
4
+ * NOTICE: This file contains material that is confidential and proprietary to
5
+ * Acoustic, L.P. and/or other developers. No license is granted under any intellectual or
6
+ * industrial property rights of Acoustic, L.P. except as may be provided in an agreement with
7
+ * Acoustic, L.P. Any unauthorized copying or distribution of content from this file is
8
+ * prohibited.
9
+ */
10
+
11
+ #import <React/RCTBridgeModule.h>
12
+ #import <Foundation/Foundation.h>
13
+ #import <React/RCTEventEmitter.h>
14
+ #import <CoreLocation/CoreLocation.h>
15
+
16
+ @interface RNAcousticMobilePushLocation : RCTEventEmitter <RCTBridgeModule>
17
+ @end