reactnative-plugin-appice 1.5.9 → 1.6.1
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/README.md +37 -37
- package/android/README.md +14 -14
- package/android/android.iml +150 -150
- package/android/build.gradle +152 -152
- package/android/gitignore +47 -47
- package/android/src/main/AndroidManifest.xml +234 -234
- package/android/src/main/java/com/reactlibrary/AppICEUtils.java +38 -38
- package/android/src/main/java/com/reactlibrary/AppIceReactPluginModule.java +473 -473
- package/android/src/main/java/com/reactlibrary/AppIceReactPluginPackage.java +28 -28
- package/android/src/main/java/com/reactlibrary/CampaignCampsReceiver.java +73 -73
- package/android/src/main/java/com/reactlibrary/InAppWebView.java +67 -67
- package/android/src/main/java/com/reactlibrary/NotificationEventService.java +62 -62
- package/example/App.js +148 -148
- package/example/Gemfile +6 -6
- package/example/__tests__/App-test.js +14 -14
- package/example/android/app/_BUCK +55 -55
- package/example/android/app/build.gradle +320 -320
- package/example/android/app/build_defs.bzl +19 -19
- package/example/android/app/proguard-rules.pro +10 -10
- package/example/android/app/src/debug/AndroidManifest.xml +13 -13
- package/example/android/app/src/debug/java/com/example/ReactNativeFlipper.java +73 -73
- package/example/android/app/src/main/AndroidManifest.xml +72 -72
- package/example/android/app/src/main/java/com/example/MainActivity.java +48 -48
- package/example/android/app/src/main/java/com/example/MainApplication.java +91 -91
- package/example/android/app/src/main/java/com/example/newarchitecture/MainApplicationReactNativeHost.java +116 -116
- package/example/android/app/src/main/java/com/example/newarchitecture/components/MainComponentsRegistry.java +36 -36
- package/example/android/app/src/main/java/com/example/newarchitecture/modules/MainApplicationTurboModuleManagerDelegate.java +48 -48
- package/example/android/app/src/main/jni/Android.mk +48 -48
- package/example/android/app/src/main/jni/MainApplicationModuleProvider.cpp +24 -24
- package/example/android/app/src/main/jni/MainApplicationModuleProvider.h +16 -16
- package/example/android/app/src/main/jni/MainApplicationTurboModuleManagerDelegate.cpp +45 -45
- package/example/android/app/src/main/jni/MainApplicationTurboModuleManagerDelegate.h +38 -38
- package/example/android/app/src/main/jni/MainComponentsRegistry.cpp +61 -61
- package/example/android/app/src/main/jni/MainComponentsRegistry.h +32 -32
- package/example/android/app/src/main/jni/OnLoad.cpp +11 -11
- package/example/android/app/src/main/res/drawable/rn_edit_text_material.xml +36 -36
- package/example/android/app/src/main/res/values/strings.xml +3 -3
- package/example/android/app/src/main/res/values/styles.xml +9 -9
- package/example/android/build.gradle +53 -53
- package/example/android/gradle/wrapper/gradle-wrapper.properties +5 -5
- package/example/android/gradle.properties +40 -40
- package/example/android/gradlew +234 -234
- package/example/android/settings.gradle +11 -11
- package/example/app.json +3 -3
- package/example/babel.config.js +3 -3
- package/example/index.js +9 -9
- package/example/ios/Podfile +44 -44
- package/example/ios/Podfile.lock +561 -561
- package/example/ios/_xcode.env +11 -11
- package/example/ios/example/AppDelegate.h +8 -8
- package/example/ios/example/AppDelegate.mm +174 -174
- package/example/ios/example/Images.xcassets/AppIcon.appiconset/Contents.json +53 -53
- package/example/ios/example/Images.xcassets/Contents.json +6 -6
- package/example/ios/example/Info.plist +62 -62
- package/example/ios/example/LaunchScreen.storyboard +47 -47
- package/example/ios/example/example.entitlements +8 -8
- package/example/ios/example/main.m +10 -10
- package/example/ios/example.xcodeproj/project.pbxproj +712 -712
- package/example/ios/example.xcodeproj/xcshareddata/xcschemes/example.xcscheme +88 -88
- package/example/ios/example.xcworkspace/contents.xcworkspacedata +10 -10
- package/example/ios/example.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +8 -8
- package/example/ios/exampleTests/Info.plist +24 -24
- package/example/ios/exampleTests/exampleTests.m +66 -66
- package/example/metro.config.js +17 -17
- package/example/package.json +34 -34
- package/index.js +124 -124
- package/ios/AppICEReactEvent.h +23 -23
- package/ios/AppICEReactEvent.m +86 -77
- package/ios/AppIceReactPlugin.h +22 -22
- package/ios/AppIceReactPlugin.m +190 -191
- package/ios/AppIceReactPlugin.xcodeproj/project.pbxproj +364 -434
- package/ios/AppIceReactPlugin.xcodeproj/project.xcworkspace/contents.xcworkspacedata +4 -4
- package/ios/AppIceReactPlugin.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +8 -8
- package/ios/AppIceReactPlugin.xcodeproj/xcuserdata/Adi.xcuserdatad/xcschemes/xcschememanagement.plist +14 -14
- package/ios/AppIceReactPlugin.xcworkspace/contents.xcworkspacedata +10 -10
- package/ios/AppIceReactPlugin.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +8 -8
- package/ios/Podfile +10 -10
- package/ios/Podfile.lock +3 -3
- package/ios/Pods/Manifest.lock +3 -3
- package/ios/Pods/Pods.xcodeproj/project.pbxproj +395 -395
- package/ios/Pods/Pods.xcodeproj/xcuserdata/Adi.xcuserdatad/xcschemes/Pods-AppIceReactPlugin.xcscheme +58 -58
- package/ios/Pods/Pods.xcodeproj/xcuserdata/Adi.xcuserdatad/xcschemes/xcschememanagement.plist +18 -18
- package/ios/Pods/Target Support Files/Pods-AppIceReactPlugin/Pods-AppIceReactPlugin-Info.plist +26 -26
- package/ios/Pods/Target Support Files/Pods-AppIceReactPlugin/Pods-AppIceReactPlugin-acknowledgements.markdown +3 -3
- package/ios/Pods/Target Support Files/Pods-AppIceReactPlugin/Pods-AppIceReactPlugin-acknowledgements.plist +29 -29
- package/ios/Pods/Target Support Files/Pods-AppIceReactPlugin/Pods-AppIceReactPlugin-dummy.m +5 -5
- package/ios/Pods/Target Support Files/Pods-AppIceReactPlugin/Pods-AppIceReactPlugin-umbrella.h +16 -16
- package/ios/Pods/Target Support Files/Pods-AppIceReactPlugin/Pods-AppIceReactPlugin.debug.xcconfig +6 -6
- package/ios/Pods/Target Support Files/Pods-AppIceReactPlugin/Pods-AppIceReactPlugin.modulemap +6 -6
- package/ios/Pods/Target Support Files/Pods-AppIceReactPlugin/Pods-AppIceReactPlugin.release.xcconfig +6 -6
- package/package.json +40 -40
- package/reactnative-plugin-appice.podspec +30 -30
- package/ios/AppICESDK/appICE.momd/VersionInfo.plist +0 -0
- package/ios/AppICESDK/appICE.momd/appICE 2.mom +0 -0
- package/ios/AppICESDK/appICE.momd/appICE 3.mom +0 -0
- package/ios/AppICESDK/appICE.momd/appICE 4.mom +0 -0
- package/ios/AppICESDK/appICE.momd/appICE 4.omo +0 -0
- package/ios/AppICESDK/appICE.momd/appICE.mom +0 -0
- package/ios/AppICESDK/appICE.momd/appICE2.mom +0 -0
- package/ios/AppICESDK/appICEBundle.bundle/APPChildViewController.nib +0 -0
- package/ios/AppICESDK/appICEBundle.bundle/AppICE_btn.png +0 -0
- package/ios/AppICESDK/appICEBundle.bundle/Black button.png +0 -0
- package/ios/AppICESDK/appICEBundle.bundle/HAlfFooterNOTINAppViewController.nib +0 -0
- package/ios/AppICESDK/appICEBundle.bundle/HAlfHeaderINAppViewController.nib +0 -0
- package/ios/AppICESDK/appICEBundle.bundle/HAlfINAppViewController.nib +0 -0
- package/ios/AppICESDK/appICEBundle.bundle/INAppViewController.nib/objects-11.0+.nib +0 -0
- package/ios/AppICESDK/appICEBundle.bundle/INAppViewController.nib/runtime.nib +0 -0
- package/ios/AppICESDK/appICEBundle.bundle/Info.plist +0 -0
- package/ios/AppICESDK/appICEBundle.bundle/RatingViewController.nib +0 -0
- package/ios/AppICESDK/appICEBundle.bundle/SurveyViewController.nib +0 -0
- package/ios/AppICESDK/appICEBundle.bundle/checked.png +0 -0
- package/ios/AppICESDK/appICEBundle.bundle/close-button.png +0 -0
- package/ios/AppICESDK/appICEBundle.bundle/sound2.caf +0 -0
- package/ios/AppICESDK/appICEBundle.bundle/unchecked.png +0 -0
- package/ios/AppICESDK/include/iosAppiceSDK/AppICEInboxMessage.h +0 -43
- package/ios/AppICESDK/include/iosAppiceSDK/AppICEJSInterface.h +0 -21
- package/ios/AppICESDK/include/iosAppiceSDK/appICE.h +0 -190
- package/ios/AppICESDK/include/iosAppiceSDK/appICEUserDetails.h +0 -87
- package/ios/AppICESDK/include/iosAppiceSDK/isrgrootx1.der +0 -0
- package/ios/AppICESDK/include/iosAppiceSDK/lets-encrypt-r3.der +0 -0
- package/ios/AppICESDK/libiosAppiceSDK_v1.7.56.a +0 -0
|
@@ -1,234 +1,234 @@
|
|
|
1
|
-
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
|
2
|
-
package="com.reactlibrary">
|
|
3
|
-
|
|
4
|
-
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
|
|
5
|
-
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
|
|
6
|
-
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
|
|
7
|
-
<uses-permission android:name="android.permission.INTERNET"/>
|
|
8
|
-
<uses-permission android:name="android.permission.SCHEDULE_EXACT_ALARM" />
|
|
9
|
-
<uses-permission android:name="android.permission.VIBRATE"/>
|
|
10
|
-
|
|
11
|
-
<uses-permission android:name="android.permission.WAKE_LOCK"/>
|
|
12
|
-
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED"/>
|
|
13
|
-
<uses-permission android:name="com.google.android.c2dm.permission.RECEIVE"/>
|
|
14
|
-
|
|
15
|
-
<uses-permission android:name="com.google.android.gms.permission.AD_ID" />
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
<permission
|
|
19
|
-
android:name="${applicationId}.permission.MIPUSH_RECEIVE"
|
|
20
|
-
android:protectionLevel="signature" />
|
|
21
|
-
|
|
22
|
-
<uses-permission android:name="${applicationId}.permission.MIPUSH_RECEIVE" />
|
|
23
|
-
|
|
24
|
-
<application>
|
|
25
|
-
|
|
26
|
-
<service android:name="com.reactlibrary.NotificationEventService"
|
|
27
|
-
android:exported="false">
|
|
28
|
-
<intent-filter>
|
|
29
|
-
<action android:name="com.appice.campaignEvent" />
|
|
30
|
-
</intent-filter>
|
|
31
|
-
</service>
|
|
32
|
-
|
|
33
|
-
<receiver android:name="com.reactlibrary.CampaignCampsReceiver"
|
|
34
|
-
android:exported="false">
|
|
35
|
-
<intent-filter>
|
|
36
|
-
<action android:name="com.appice.campaignEvent" />
|
|
37
|
-
</intent-filter>
|
|
38
|
-
</receiver>
|
|
39
|
-
|
|
40
|
-
<!-- Semusi setup start -->
|
|
41
|
-
<service
|
|
42
|
-
android:name="semusi.activitysdk.Api"
|
|
43
|
-
android:exported="false"
|
|
44
|
-
android:protectionLevel="signature"/>
|
|
45
|
-
<activity
|
|
46
|
-
|
|
47
|
-
android:name="com.xiaomi.mipush.sdk.NotificationClickedActivity"
|
|
48
|
-
|
|
49
|
-
android:theme="@android:style/Theme.Translucent.NoTitleBar"
|
|
50
|
-
|
|
51
|
-
android:launchMode="singleInstance"
|
|
52
|
-
|
|
53
|
-
android:exported="false"
|
|
54
|
-
|
|
55
|
-
android:enabled="true">
|
|
56
|
-
|
|
57
|
-
</activity>
|
|
58
|
-
<activity
|
|
59
|
-
android:name="semusi.context.ui.UIEventsHandler"
|
|
60
|
-
android:exported="false"
|
|
61
|
-
android:protectionLevel="signature"
|
|
62
|
-
android:theme="@android:style/Theme.Translucent.NoTitleBar"/>
|
|
63
|
-
|
|
64
|
-
<activity android:name="semusi.context.ui.AppICENotifUI"
|
|
65
|
-
android:exported="false">
|
|
66
|
-
<intent-filter>
|
|
67
|
-
<action android:name="AppICE.Notification.FCM_Action"/>
|
|
68
|
-
<category android:name="android.intent.category.DEFAULT"/>
|
|
69
|
-
</intent-filter>
|
|
70
|
-
|
|
71
|
-
<intent-filter>
|
|
72
|
-
<action android:name="android.intent.action.VIEW"/>
|
|
73
|
-
|
|
74
|
-
<category android:name="android.intent.category.DEFAULT"/>
|
|
75
|
-
<category android:name="android.intent.category.BROWSABLE"/>
|
|
76
|
-
|
|
77
|
-
<data
|
|
78
|
-
android:host="ai.io"
|
|
79
|
-
android:scheme="https"/>
|
|
80
|
-
</intent-filter>
|
|
81
|
-
</activity>
|
|
82
|
-
|
|
83
|
-
<service
|
|
84
|
-
android:name="semusi.ruleengine.pushmanager.SdkFcmListenerService"
|
|
85
|
-
android:exported="false"
|
|
86
|
-
android:protectionLevel="signature">
|
|
87
|
-
<intent-filter>
|
|
88
|
-
<action android:name="com.google.firebase.MESSAGING_EVENT"/>
|
|
89
|
-
</intent-filter>
|
|
90
|
-
</service>
|
|
91
|
-
|
|
92
|
-
<receiver
|
|
93
|
-
android:name="semusi.context.counthandler.DataBackupReceiver"
|
|
94
|
-
android:exported="false"
|
|
95
|
-
android:protectionLevel="signature">
|
|
96
|
-
<intent-filter android:priority="9999">
|
|
97
|
-
<action android:name="android.intent.action.PACKAGE_ADDED"/>
|
|
98
|
-
<action android:name="android.intent.action.PACKAGE_REMOVED"/>
|
|
99
|
-
<action android:name="android.intent.action.PACKAGE_REPLACED"/>
|
|
100
|
-
|
|
101
|
-
<data android:scheme="package"/>
|
|
102
|
-
</intent-filter>
|
|
103
|
-
</receiver>
|
|
104
|
-
|
|
105
|
-
<receiver
|
|
106
|
-
android:name="semusi.context.counthandler.DataSyncReceiver"
|
|
107
|
-
android:exported="false"
|
|
108
|
-
android:protectionLevel="signature"/>
|
|
109
|
-
<receiver
|
|
110
|
-
android:name="semusi.context.counthandler.TimeTickReceiver"
|
|
111
|
-
android:exported="false"
|
|
112
|
-
android:protectionLevel="signature"/>
|
|
113
|
-
<receiver
|
|
114
|
-
android:name="semusi.context.counthandler.NotificationEventReceiver"
|
|
115
|
-
android:exported="false"
|
|
116
|
-
android:protectionLevel="signature"/>
|
|
117
|
-
<receiver
|
|
118
|
-
android:name="semusi.context.counthandler.ActionEventReceiver"
|
|
119
|
-
android:exported="false"
|
|
120
|
-
android:protectionLevel="signature"/>
|
|
121
|
-
<receiver
|
|
122
|
-
android:name="semusi.analytics.handler.SessionReceiver"
|
|
123
|
-
android:exported="false"
|
|
124
|
-
android:protectionLevel="signature"/>
|
|
125
|
-
|
|
126
|
-
<receiver
|
|
127
|
-
android:name="semusi.context.counthandler.DeviceBootReceiver"
|
|
128
|
-
android:protectionLevel="signature"
|
|
129
|
-
android:exported="false">
|
|
130
|
-
<intent-filter>
|
|
131
|
-
<action android:name="android.intent.action.BOOT_COMPLETED"/>
|
|
132
|
-
<action android:name="android.intent.action.QUICKBOOT_POWERON"/>
|
|
133
|
-
<action android:name="com.htc.intent.action.QUICKBOOT_POWERON"/>
|
|
134
|
-
</intent-filter>
|
|
135
|
-
</receiver>
|
|
136
|
-
|
|
137
|
-
<service
|
|
138
|
-
android:name="semusi.ruleengine.pushmanager.NotificationEventService"
|
|
139
|
-
android:permission="android.permission.BIND_JOB_SERVICE">
|
|
140
|
-
</service>
|
|
141
|
-
<!-- Semusi setup end -->
|
|
142
|
-
<!-- Semusi Job Start -->
|
|
143
|
-
|
|
144
|
-
<receiver android:name="semusi.context.ui.Carousel.CarouselEventReceiver"
|
|
145
|
-
android:exported="false">
|
|
146
|
-
<intent-filter>
|
|
147
|
-
<action android:name="io.appice.CAROUSELNOTIFICATIONFIRED"/>
|
|
148
|
-
</intent-filter>
|
|
149
|
-
</receiver>
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
<!--</receiver>-->
|
|
154
|
-
<receiver android:name="semusi.geofencing.AIGeofenceReceiver"
|
|
155
|
-
android:exported="false">
|
|
156
|
-
</receiver>
|
|
157
|
-
|
|
158
|
-
<receiver android:name="semusi.geofencing.LocationUpdateReceiver"
|
|
159
|
-
android:exported="false">
|
|
160
|
-
</receiver>
|
|
161
|
-
|
|
162
|
-
<receiver android:name="semusi.geofencing.AIGeofenceBootReceiver"
|
|
163
|
-
android:exported="false">
|
|
164
|
-
<intent-filter>
|
|
165
|
-
<action android:name="android.location.PROVIDERS_CHANGED"/>
|
|
166
|
-
<action android:name="android.intent.action.BOOT_COMPLETED"/>
|
|
167
|
-
</intent-filter>
|
|
168
|
-
</receiver>
|
|
169
|
-
<receiver android:name="semusi.geofencing.GeofenceReceiver"/>
|
|
170
|
-
|
|
171
|
-
<receiver
|
|
172
|
-
android:name="semusi.ruleengine.pushmanager.XiaomiMessageReceiver"
|
|
173
|
-
android:exported="false">
|
|
174
|
-
<intent-filter>
|
|
175
|
-
<action android:name="com.xiaomi.mipush.RECEIVE_MESSAGE" />
|
|
176
|
-
</intent-filter>
|
|
177
|
-
<intent-filter>
|
|
178
|
-
<action android:name="com.xiaomi.mipush.MESSAGE_ARRIVED" />
|
|
179
|
-
</intent-filter>
|
|
180
|
-
<intent-filter>
|
|
181
|
-
<action android:name="com.xiaomi.mipush.ERROR" />
|
|
182
|
-
</intent-filter>
|
|
183
|
-
</receiver>
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
<receiver
|
|
187
|
-
android:name="com.xiaomi.push.service.receivers.NetworkStatusReceiver"
|
|
188
|
-
android:exported="false">
|
|
189
|
-
<intent-filter>
|
|
190
|
-
<action android:name="android.net.conn.CONNECTIVITY_CHANGE" />
|
|
191
|
-
|
|
192
|
-
<category android:name="android.intent.category.DEFAULT" />
|
|
193
|
-
</intent-filter>
|
|
194
|
-
</receiver>
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
<!-- // xiaomi setting-->
|
|
199
|
-
<service
|
|
200
|
-
android:name="com.xiaomi.push.service.XMPushService"
|
|
201
|
-
android:exported="false"
|
|
202
|
-
android:enabled="false"
|
|
203
|
-
android:process=":pushservice" />
|
|
204
|
-
|
|
205
|
-
<!--Note: This service must be added to the version 3.0.1 or later (including version 3.0.1)-->
|
|
206
|
-
<service
|
|
207
|
-
android:name="com.xiaomi.push.service.XMJobService"
|
|
208
|
-
android:enabled="true"
|
|
209
|
-
android:exported="false"
|
|
210
|
-
android:permission="android.permission.BIND_JOB_SERVICE"
|
|
211
|
-
android:process=":pushservice" />
|
|
212
|
-
|
|
213
|
-
<service
|
|
214
|
-
android:name="com.xiaomi.mipush.sdk.PushMessageHandler"
|
|
215
|
-
android:enabled="true"
|
|
216
|
-
android:exported="false" />
|
|
217
|
-
|
|
218
|
-
<!--Note: This service must be added to version 2.2.5 or later (including version 2.2.5)-->
|
|
219
|
-
<service
|
|
220
|
-
android:name="com.xiaomi.mipush.sdk.MessageHandleService"
|
|
221
|
-
android:exported="false"
|
|
222
|
-
android:enabled="true" />
|
|
223
|
-
|
|
224
|
-
<receiver
|
|
225
|
-
android:name="com.xiaomi.push.service.receivers.PingReceiver"
|
|
226
|
-
android:exported="false"
|
|
227
|
-
android:process=":pushservice">
|
|
228
|
-
<intent-filter>
|
|
229
|
-
<action android:name="com.xiaomi.push.PING_TIMER" />
|
|
230
|
-
</intent-filter>
|
|
231
|
-
</receiver>
|
|
232
|
-
|
|
233
|
-
</application>
|
|
234
|
-
</manifest>
|
|
1
|
+
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
|
2
|
+
package="com.reactlibrary">
|
|
3
|
+
|
|
4
|
+
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
|
|
5
|
+
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
|
|
6
|
+
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
|
|
7
|
+
<uses-permission android:name="android.permission.INTERNET"/>
|
|
8
|
+
<uses-permission android:name="android.permission.SCHEDULE_EXACT_ALARM" />
|
|
9
|
+
<uses-permission android:name="android.permission.VIBRATE"/>
|
|
10
|
+
|
|
11
|
+
<uses-permission android:name="android.permission.WAKE_LOCK"/>
|
|
12
|
+
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED"/>
|
|
13
|
+
<uses-permission android:name="com.google.android.c2dm.permission.RECEIVE"/>
|
|
14
|
+
|
|
15
|
+
<uses-permission android:name="com.google.android.gms.permission.AD_ID" />
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
<permission
|
|
19
|
+
android:name="${applicationId}.permission.MIPUSH_RECEIVE"
|
|
20
|
+
android:protectionLevel="signature" />
|
|
21
|
+
|
|
22
|
+
<uses-permission android:name="${applicationId}.permission.MIPUSH_RECEIVE" />
|
|
23
|
+
|
|
24
|
+
<application>
|
|
25
|
+
|
|
26
|
+
<service android:name="com.reactlibrary.NotificationEventService"
|
|
27
|
+
android:exported="false">
|
|
28
|
+
<intent-filter>
|
|
29
|
+
<action android:name="com.appice.campaignEvent" />
|
|
30
|
+
</intent-filter>
|
|
31
|
+
</service>
|
|
32
|
+
|
|
33
|
+
<receiver android:name="com.reactlibrary.CampaignCampsReceiver"
|
|
34
|
+
android:exported="false">
|
|
35
|
+
<intent-filter>
|
|
36
|
+
<action android:name="com.appice.campaignEvent" />
|
|
37
|
+
</intent-filter>
|
|
38
|
+
</receiver>
|
|
39
|
+
|
|
40
|
+
<!-- Semusi setup start -->
|
|
41
|
+
<service
|
|
42
|
+
android:name="semusi.activitysdk.Api"
|
|
43
|
+
android:exported="false"
|
|
44
|
+
android:protectionLevel="signature"/>
|
|
45
|
+
<activity
|
|
46
|
+
|
|
47
|
+
android:name="com.xiaomi.mipush.sdk.NotificationClickedActivity"
|
|
48
|
+
|
|
49
|
+
android:theme="@android:style/Theme.Translucent.NoTitleBar"
|
|
50
|
+
|
|
51
|
+
android:launchMode="singleInstance"
|
|
52
|
+
|
|
53
|
+
android:exported="false"
|
|
54
|
+
|
|
55
|
+
android:enabled="true">
|
|
56
|
+
|
|
57
|
+
</activity>
|
|
58
|
+
<activity
|
|
59
|
+
android:name="semusi.context.ui.UIEventsHandler"
|
|
60
|
+
android:exported="false"
|
|
61
|
+
android:protectionLevel="signature"
|
|
62
|
+
android:theme="@android:style/Theme.Translucent.NoTitleBar"/>
|
|
63
|
+
|
|
64
|
+
<activity android:name="semusi.context.ui.AppICENotifUI"
|
|
65
|
+
android:exported="false">
|
|
66
|
+
<intent-filter>
|
|
67
|
+
<action android:name="AppICE.Notification.FCM_Action"/>
|
|
68
|
+
<category android:name="android.intent.category.DEFAULT"/>
|
|
69
|
+
</intent-filter>
|
|
70
|
+
|
|
71
|
+
<intent-filter>
|
|
72
|
+
<action android:name="android.intent.action.VIEW"/>
|
|
73
|
+
|
|
74
|
+
<category android:name="android.intent.category.DEFAULT"/>
|
|
75
|
+
<category android:name="android.intent.category.BROWSABLE"/>
|
|
76
|
+
|
|
77
|
+
<data
|
|
78
|
+
android:host="ai.io"
|
|
79
|
+
android:scheme="https"/>
|
|
80
|
+
</intent-filter>
|
|
81
|
+
</activity>
|
|
82
|
+
|
|
83
|
+
<service
|
|
84
|
+
android:name="semusi.ruleengine.pushmanager.SdkFcmListenerService"
|
|
85
|
+
android:exported="false"
|
|
86
|
+
android:protectionLevel="signature">
|
|
87
|
+
<intent-filter>
|
|
88
|
+
<action android:name="com.google.firebase.MESSAGING_EVENT"/>
|
|
89
|
+
</intent-filter>
|
|
90
|
+
</service>
|
|
91
|
+
|
|
92
|
+
<receiver
|
|
93
|
+
android:name="semusi.context.counthandler.DataBackupReceiver"
|
|
94
|
+
android:exported="false"
|
|
95
|
+
android:protectionLevel="signature">
|
|
96
|
+
<intent-filter android:priority="9999">
|
|
97
|
+
<action android:name="android.intent.action.PACKAGE_ADDED"/>
|
|
98
|
+
<action android:name="android.intent.action.PACKAGE_REMOVED"/>
|
|
99
|
+
<action android:name="android.intent.action.PACKAGE_REPLACED"/>
|
|
100
|
+
|
|
101
|
+
<data android:scheme="package"/>
|
|
102
|
+
</intent-filter>
|
|
103
|
+
</receiver>
|
|
104
|
+
|
|
105
|
+
<receiver
|
|
106
|
+
android:name="semusi.context.counthandler.DataSyncReceiver"
|
|
107
|
+
android:exported="false"
|
|
108
|
+
android:protectionLevel="signature"/>
|
|
109
|
+
<receiver
|
|
110
|
+
android:name="semusi.context.counthandler.TimeTickReceiver"
|
|
111
|
+
android:exported="false"
|
|
112
|
+
android:protectionLevel="signature"/>
|
|
113
|
+
<receiver
|
|
114
|
+
android:name="semusi.context.counthandler.NotificationEventReceiver"
|
|
115
|
+
android:exported="false"
|
|
116
|
+
android:protectionLevel="signature"/>
|
|
117
|
+
<receiver
|
|
118
|
+
android:name="semusi.context.counthandler.ActionEventReceiver"
|
|
119
|
+
android:exported="false"
|
|
120
|
+
android:protectionLevel="signature"/>
|
|
121
|
+
<receiver
|
|
122
|
+
android:name="semusi.analytics.handler.SessionReceiver"
|
|
123
|
+
android:exported="false"
|
|
124
|
+
android:protectionLevel="signature"/>
|
|
125
|
+
|
|
126
|
+
<receiver
|
|
127
|
+
android:name="semusi.context.counthandler.DeviceBootReceiver"
|
|
128
|
+
android:protectionLevel="signature"
|
|
129
|
+
android:exported="false">
|
|
130
|
+
<intent-filter>
|
|
131
|
+
<action android:name="android.intent.action.BOOT_COMPLETED"/>
|
|
132
|
+
<action android:name="android.intent.action.QUICKBOOT_POWERON"/>
|
|
133
|
+
<action android:name="com.htc.intent.action.QUICKBOOT_POWERON"/>
|
|
134
|
+
</intent-filter>
|
|
135
|
+
</receiver>
|
|
136
|
+
|
|
137
|
+
<service
|
|
138
|
+
android:name="semusi.ruleengine.pushmanager.NotificationEventService"
|
|
139
|
+
android:permission="android.permission.BIND_JOB_SERVICE">
|
|
140
|
+
</service>
|
|
141
|
+
<!-- Semusi setup end -->
|
|
142
|
+
<!-- Semusi Job Start -->
|
|
143
|
+
|
|
144
|
+
<receiver android:name="semusi.context.ui.Carousel.CarouselEventReceiver"
|
|
145
|
+
android:exported="false">
|
|
146
|
+
<intent-filter>
|
|
147
|
+
<action android:name="io.appice.CAROUSELNOTIFICATIONFIRED"/>
|
|
148
|
+
</intent-filter>
|
|
149
|
+
</receiver>
|
|
150
|
+
|
|
151
|
+
|
|
152
|
+
|
|
153
|
+
<!--</receiver>-->
|
|
154
|
+
<receiver android:name="semusi.geofencing.AIGeofenceReceiver"
|
|
155
|
+
android:exported="false">
|
|
156
|
+
</receiver>
|
|
157
|
+
|
|
158
|
+
<receiver android:name="semusi.geofencing.LocationUpdateReceiver"
|
|
159
|
+
android:exported="false">
|
|
160
|
+
</receiver>
|
|
161
|
+
|
|
162
|
+
<receiver android:name="semusi.geofencing.AIGeofenceBootReceiver"
|
|
163
|
+
android:exported="false">
|
|
164
|
+
<intent-filter>
|
|
165
|
+
<action android:name="android.location.PROVIDERS_CHANGED"/>
|
|
166
|
+
<action android:name="android.intent.action.BOOT_COMPLETED"/>
|
|
167
|
+
</intent-filter>
|
|
168
|
+
</receiver>
|
|
169
|
+
<receiver android:name="semusi.geofencing.GeofenceReceiver"/>
|
|
170
|
+
|
|
171
|
+
<receiver
|
|
172
|
+
android:name="semusi.ruleengine.pushmanager.XiaomiMessageReceiver"
|
|
173
|
+
android:exported="false">
|
|
174
|
+
<intent-filter>
|
|
175
|
+
<action android:name="com.xiaomi.mipush.RECEIVE_MESSAGE" />
|
|
176
|
+
</intent-filter>
|
|
177
|
+
<intent-filter>
|
|
178
|
+
<action android:name="com.xiaomi.mipush.MESSAGE_ARRIVED" />
|
|
179
|
+
</intent-filter>
|
|
180
|
+
<intent-filter>
|
|
181
|
+
<action android:name="com.xiaomi.mipush.ERROR" />
|
|
182
|
+
</intent-filter>
|
|
183
|
+
</receiver>
|
|
184
|
+
|
|
185
|
+
|
|
186
|
+
<receiver
|
|
187
|
+
android:name="com.xiaomi.push.service.receivers.NetworkStatusReceiver"
|
|
188
|
+
android:exported="false">
|
|
189
|
+
<intent-filter>
|
|
190
|
+
<action android:name="android.net.conn.CONNECTIVITY_CHANGE" />
|
|
191
|
+
|
|
192
|
+
<category android:name="android.intent.category.DEFAULT" />
|
|
193
|
+
</intent-filter>
|
|
194
|
+
</receiver>
|
|
195
|
+
|
|
196
|
+
|
|
197
|
+
|
|
198
|
+
<!-- // xiaomi setting-->
|
|
199
|
+
<service
|
|
200
|
+
android:name="com.xiaomi.push.service.XMPushService"
|
|
201
|
+
android:exported="false"
|
|
202
|
+
android:enabled="false"
|
|
203
|
+
android:process=":pushservice" />
|
|
204
|
+
|
|
205
|
+
<!--Note: This service must be added to the version 3.0.1 or later (including version 3.0.1)-->
|
|
206
|
+
<service
|
|
207
|
+
android:name="com.xiaomi.push.service.XMJobService"
|
|
208
|
+
android:enabled="true"
|
|
209
|
+
android:exported="false"
|
|
210
|
+
android:permission="android.permission.BIND_JOB_SERVICE"
|
|
211
|
+
android:process=":pushservice" />
|
|
212
|
+
|
|
213
|
+
<service
|
|
214
|
+
android:name="com.xiaomi.mipush.sdk.PushMessageHandler"
|
|
215
|
+
android:enabled="true"
|
|
216
|
+
android:exported="false" />
|
|
217
|
+
|
|
218
|
+
<!--Note: This service must be added to version 2.2.5 or later (including version 2.2.5)-->
|
|
219
|
+
<service
|
|
220
|
+
android:name="com.xiaomi.mipush.sdk.MessageHandleService"
|
|
221
|
+
android:exported="false"
|
|
222
|
+
android:enabled="true" />
|
|
223
|
+
|
|
224
|
+
<receiver
|
|
225
|
+
android:name="com.xiaomi.push.service.receivers.PingReceiver"
|
|
226
|
+
android:exported="false"
|
|
227
|
+
android:process=":pushservice">
|
|
228
|
+
<intent-filter>
|
|
229
|
+
<action android:name="com.xiaomi.push.PING_TIMER" />
|
|
230
|
+
</intent-filter>
|
|
231
|
+
</receiver>
|
|
232
|
+
|
|
233
|
+
</application>
|
|
234
|
+
</manifest>
|
|
@@ -1,38 +1,38 @@
|
|
|
1
|
-
package com.reactlibrary;
|
|
2
|
-
|
|
3
|
-
import android.util.Log;
|
|
4
|
-
|
|
5
|
-
import com.facebook.react.bridge.Arguments;
|
|
6
|
-
import com.facebook.react.bridge.WritableMap;
|
|
7
|
-
|
|
8
|
-
import org.json.JSONObject;
|
|
9
|
-
|
|
10
|
-
import java.util.Iterator;
|
|
11
|
-
import java.util.Map;
|
|
12
|
-
|
|
13
|
-
public class AppICEUtils {
|
|
14
|
-
private static final String TAG = "AppICEUtils";
|
|
15
|
-
|
|
16
|
-
@SuppressWarnings({"TypeParameterExplicitlyExtendsObject", "rawtypes"})
|
|
17
|
-
public static WritableMap getWritableMapFromMap(Map<String, ? extends Object> var1) {
|
|
18
|
-
JSONObject extras = var1 != null ? new JSONObject(var1) : new JSONObject();
|
|
19
|
-
WritableMap extrasParams = Arguments.createMap();
|
|
20
|
-
Iterator extrasKeys = extras.keys();
|
|
21
|
-
while (extrasKeys.hasNext()) {
|
|
22
|
-
String key = null;
|
|
23
|
-
String value = null;
|
|
24
|
-
try {
|
|
25
|
-
key = extrasKeys.next().toString();
|
|
26
|
-
value = extras.get(key).toString();
|
|
27
|
-
} catch (Throwable t) {
|
|
28
|
-
Log.e(TAG, t.getLocalizedMessage());
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
if (key != null && value != null) {
|
|
32
|
-
extrasParams.putString(key, value);
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
return extrasParams;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
}
|
|
1
|
+
package com.reactlibrary;
|
|
2
|
+
|
|
3
|
+
import android.util.Log;
|
|
4
|
+
|
|
5
|
+
import com.facebook.react.bridge.Arguments;
|
|
6
|
+
import com.facebook.react.bridge.WritableMap;
|
|
7
|
+
|
|
8
|
+
import org.json.JSONObject;
|
|
9
|
+
|
|
10
|
+
import java.util.Iterator;
|
|
11
|
+
import java.util.Map;
|
|
12
|
+
|
|
13
|
+
public class AppICEUtils {
|
|
14
|
+
private static final String TAG = "AppICEUtils";
|
|
15
|
+
|
|
16
|
+
@SuppressWarnings({"TypeParameterExplicitlyExtendsObject", "rawtypes"})
|
|
17
|
+
public static WritableMap getWritableMapFromMap(Map<String, ? extends Object> var1) {
|
|
18
|
+
JSONObject extras = var1 != null ? new JSONObject(var1) : new JSONObject();
|
|
19
|
+
WritableMap extrasParams = Arguments.createMap();
|
|
20
|
+
Iterator extrasKeys = extras.keys();
|
|
21
|
+
while (extrasKeys.hasNext()) {
|
|
22
|
+
String key = null;
|
|
23
|
+
String value = null;
|
|
24
|
+
try {
|
|
25
|
+
key = extrasKeys.next().toString();
|
|
26
|
+
value = extras.get(key).toString();
|
|
27
|
+
} catch (Throwable t) {
|
|
28
|
+
Log.e(TAG, t.getLocalizedMessage());
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
if (key != null && value != null) {
|
|
32
|
+
extrasParams.putString(key, value);
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
return extrasParams;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
}
|