reactnative-plugin-appice 1.4.4 → 1.4.5
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/android/build.gradle
CHANGED
|
@@ -10,10 +10,10 @@
|
|
|
10
10
|
// original location:
|
|
11
11
|
// - https://github.com/facebook/react-native/blob/0.58-stable/local-cli/templates/HelloWorld/android/app/build.gradle
|
|
12
12
|
|
|
13
|
-
def DEFAULT_COMPILE_SDK_VERSION =
|
|
14
|
-
def DEFAULT_BUILD_TOOLS_VERSION = '
|
|
13
|
+
def DEFAULT_COMPILE_SDK_VERSION = 31
|
|
14
|
+
def DEFAULT_BUILD_TOOLS_VERSION = '30.0.3'
|
|
15
15
|
def DEFAULT_MIN_SDK_VERSION = 16
|
|
16
|
-
def DEFAULT_TARGET_SDK_VERSION =
|
|
16
|
+
def DEFAULT_TARGET_SDK_VERSION = 31
|
|
17
17
|
|
|
18
18
|
def safeExtGet(prop, fallback) {
|
|
19
19
|
rootProject.ext.has(prop) ? rootProject.ext.get(prop) : fallback
|
|
@@ -32,7 +32,7 @@ buildscript {
|
|
|
32
32
|
jcenter()
|
|
33
33
|
}
|
|
34
34
|
dependencies {
|
|
35
|
-
classpath 'com.android.tools.build:gradle:3.4.
|
|
35
|
+
classpath 'com.android.tools.build:gradle:3.4.3'
|
|
36
36
|
}
|
|
37
37
|
}
|
|
38
38
|
}
|
|
@@ -45,8 +45,8 @@ android {
|
|
|
45
45
|
defaultConfig {
|
|
46
46
|
minSdkVersion safeExtGet('minSdkVersion', DEFAULT_MIN_SDK_VERSION)
|
|
47
47
|
targetSdkVersion safeExtGet('targetSdkVersion', DEFAULT_TARGET_SDK_VERSION)
|
|
48
|
-
versionCode
|
|
49
|
-
versionName "
|
|
48
|
+
versionCode 2
|
|
49
|
+
versionName "2.0"
|
|
50
50
|
}
|
|
51
51
|
lintOptions {
|
|
52
52
|
abortOnError false
|
|
@@ -73,20 +73,21 @@ dependencies {
|
|
|
73
73
|
//noinspection GradleDynamicVersion
|
|
74
74
|
implementation 'com.facebook.react:react-native:+'
|
|
75
75
|
implementation files('libs/logutility.jar') // From node_modules
|
|
76
|
-
implementation '
|
|
76
|
+
implementation fileTree(include: ['*.jar'], dir: 'libs')
|
|
77
|
+
implementation "com.google.android.gms:play-services-location:21.0.1"
|
|
77
78
|
implementation "androidx.lifecycle:lifecycle-extensions:2.2.0"
|
|
78
79
|
implementation "androidx.legacy:legacy-support-v4:1.0.0"
|
|
79
80
|
implementation "com.google.android.gms:play-services-ads:16.0.0"
|
|
80
81
|
implementation "androidx.annotation:annotation:1.2.0"
|
|
81
|
-
implementation "androidx.work:work-runtime:2.7.
|
|
82
|
+
implementation "androidx.work:work-runtime:2.7.1"
|
|
82
83
|
implementation "androidx.concurrent:concurrent-futures:1.1.0"
|
|
83
84
|
implementation "com.android.installreferrer:installreferrer:2.2"
|
|
84
|
-
implementation "com.google.firebase:firebase-
|
|
85
|
-
implementation "com.google.firebase:firebase-messaging:22.0.0"
|
|
85
|
+
implementation "com.google.firebase:firebase-messaging:23.0.6"
|
|
86
86
|
implementation "com.google.android.gms:play-services-maps:18.0.0"
|
|
87
87
|
// Utilities for Maps SDK for Android (requires Google Play Services)
|
|
88
|
+
implementation 'com.google.maps.android:android-maps-utils:2.3.0'
|
|
88
89
|
annotationProcessor "androidx.lifecycle:lifecycle-compiler:2.3.1"
|
|
89
|
-
|
|
90
|
+
implementation 'com.gitlab.grp_appice.src_android_appice-sdk:sdk:2.5.42'
|
|
90
91
|
}
|
|
91
92
|
|
|
92
93
|
def configureReactNativePom(def pom) {
|
|
@@ -1,80 +1,226 @@
|
|
|
1
1
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
|
2
2
|
package="com.reactlibrary">
|
|
3
3
|
|
|
4
|
-
<uses-permission android:name="android.permission.
|
|
5
|
-
|
|
6
|
-
<uses-permission android:name="android.permission.GET_TASKS" />
|
|
7
|
-
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
|
|
8
|
-
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
|
|
4
|
+
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
|
|
5
|
+
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
|
|
9
6
|
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
|
|
10
|
-
<uses-permission android:name="android.permission.
|
|
11
|
-
<uses-permission android:name="android.permission.
|
|
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
|
+
|
|
12
17
|
|
|
13
|
-
<
|
|
14
|
-
android:name="
|
|
15
|
-
|
|
18
|
+
<permission
|
|
19
|
+
android:name="${applicationId}.permission.MIPUSH_RECEIVE"
|
|
20
|
+
android:protectionLevel="signature" />
|
|
16
21
|
|
|
17
|
-
<uses-permission android:name="
|
|
22
|
+
<uses-permission android:name="${applicationId}.permission.MIPUSH_RECEIVE" />
|
|
18
23
|
|
|
19
24
|
<application>
|
|
25
|
+
|
|
26
|
+
<service android:name="com.reactlibrary.NotificationEventService"
|
|
27
|
+
android:exported="false"/>
|
|
28
|
+
|
|
29
|
+
<receiver android:name="com.reactlibrary.CampaignCampsReceiver"
|
|
30
|
+
android:exported="false"/>
|
|
31
|
+
|
|
20
32
|
<!-- Semusi setup start -->
|
|
21
33
|
<service
|
|
22
34
|
android:name="semusi.activitysdk.Api"
|
|
23
35
|
android:exported="false"
|
|
24
|
-
android:protectionLevel="signature"
|
|
36
|
+
android:protectionLevel="signature"/>
|
|
37
|
+
<activity
|
|
38
|
+
|
|
39
|
+
android:name="com.xiaomi.mipush.sdk.NotificationClickedActivity"
|
|
40
|
+
|
|
41
|
+
android:theme="@android:style/Theme.Translucent.NoTitleBar"
|
|
42
|
+
|
|
43
|
+
android:launchMode="singleInstance"
|
|
44
|
+
|
|
45
|
+
android:exported="false"
|
|
46
|
+
|
|
47
|
+
android:enabled="true">
|
|
25
48
|
|
|
49
|
+
</activity>
|
|
26
50
|
<activity
|
|
27
51
|
android:name="semusi.context.ui.UIEventsHandler"
|
|
28
|
-
android:exported="
|
|
52
|
+
android:exported="false"
|
|
29
53
|
android:protectionLevel="signature"
|
|
30
|
-
android:theme="@android:style/Theme.Translucent.NoTitleBar"
|
|
54
|
+
android:theme="@android:style/Theme.Translucent.NoTitleBar"/>
|
|
31
55
|
|
|
56
|
+
<activity android:name="semusi.context.ui.AppICENotifUI"
|
|
57
|
+
android:exported="false">
|
|
58
|
+
<intent-filter>
|
|
59
|
+
<action android:name="AppICE.Notification.FCM_Action"/>
|
|
60
|
+
<category android:name="android.intent.category.DEFAULT"/>
|
|
61
|
+
</intent-filter>
|
|
62
|
+
|
|
63
|
+
<intent-filter>
|
|
64
|
+
<action android:name="android.intent.action.VIEW"/>
|
|
65
|
+
|
|
66
|
+
<category android:name="android.intent.category.DEFAULT"/>
|
|
67
|
+
<category android:name="android.intent.category.BROWSABLE"/>
|
|
68
|
+
|
|
69
|
+
<data
|
|
70
|
+
android:host="ai.io"
|
|
71
|
+
android:scheme="https"/>
|
|
72
|
+
</intent-filter>
|
|
73
|
+
</activity>
|
|
32
74
|
|
|
33
75
|
<service
|
|
34
76
|
android:name="semusi.ruleengine.pushmanager.SdkFcmListenerService"
|
|
35
|
-
android:
|
|
36
|
-
android:
|
|
77
|
+
android:exported="false"
|
|
78
|
+
android:protectionLevel="signature">
|
|
37
79
|
<intent-filter>
|
|
38
|
-
<action android:name="com.google.firebase.MESSAGING_EVENT"
|
|
80
|
+
<action android:name="com.google.firebase.MESSAGING_EVENT"/>
|
|
39
81
|
</intent-filter>
|
|
40
82
|
</service>
|
|
41
83
|
|
|
84
|
+
<receiver
|
|
85
|
+
android:name="semusi.context.counthandler.DataBackupReceiver"
|
|
86
|
+
android:exported="false"
|
|
87
|
+
android:protectionLevel="signature">
|
|
88
|
+
<intent-filter android:priority="9999">
|
|
89
|
+
<action android:name="android.intent.action.PACKAGE_ADDED"/>
|
|
90
|
+
<action android:name="android.intent.action.PACKAGE_REMOVED"/>
|
|
91
|
+
<action android:name="android.intent.action.PACKAGE_REPLACED"/>
|
|
92
|
+
|
|
93
|
+
<data android:scheme="package"/>
|
|
94
|
+
</intent-filter>
|
|
95
|
+
</receiver>
|
|
96
|
+
|
|
97
|
+
<receiver
|
|
98
|
+
android:name="semusi.context.counthandler.DataSyncReceiver"
|
|
99
|
+
android:exported="false"
|
|
100
|
+
android:protectionLevel="signature"/>
|
|
101
|
+
<receiver
|
|
102
|
+
android:name="semusi.context.counthandler.TimeTickReceiver"
|
|
103
|
+
android:exported="false"
|
|
104
|
+
android:protectionLevel="signature"/>
|
|
42
105
|
<receiver
|
|
43
106
|
android:name="semusi.context.counthandler.NotificationEventReceiver"
|
|
44
|
-
android:exported="
|
|
45
|
-
android:protectionLevel="signature"
|
|
107
|
+
android:exported="false"
|
|
108
|
+
android:protectionLevel="signature"/>
|
|
109
|
+
<receiver
|
|
110
|
+
android:name="semusi.context.counthandler.ActionEventReceiver"
|
|
111
|
+
android:exported="false"
|
|
112
|
+
android:protectionLevel="signature"/>
|
|
113
|
+
<receiver
|
|
114
|
+
android:name="semusi.analytics.handler.SessionReceiver"
|
|
115
|
+
android:exported="false"
|
|
116
|
+
android:protectionLevel="signature"/>
|
|
46
117
|
|
|
47
118
|
<receiver
|
|
48
|
-
android:name="
|
|
119
|
+
android:name="semusi.context.counthandler.DeviceBootReceiver"
|
|
49
120
|
android:protectionLevel="signature"
|
|
50
|
-
android:exported="
|
|
121
|
+
android:exported="false">
|
|
51
122
|
<intent-filter>
|
|
52
|
-
<action android:name="
|
|
123
|
+
<action android:name="android.intent.action.BOOT_COMPLETED"/>
|
|
124
|
+
<action android:name="android.intent.action.QUICKBOOT_POWERON"/>
|
|
125
|
+
<action android:name="com.htc.intent.action.QUICKBOOT_POWERON"/>
|
|
53
126
|
</intent-filter>
|
|
54
127
|
</receiver>
|
|
128
|
+
|
|
55
129
|
<service
|
|
56
|
-
android:name="
|
|
57
|
-
android:permission="android.permission.BIND_JOB_SERVICE"
|
|
58
|
-
|
|
130
|
+
android:name="semusi.ruleengine.pushmanager.NotificationEventService"
|
|
131
|
+
android:permission="android.permission.BIND_JOB_SERVICE">
|
|
132
|
+
</service>
|
|
133
|
+
<!-- Semusi setup end -->
|
|
134
|
+
<!-- Semusi Job Start -->
|
|
135
|
+
|
|
136
|
+
<receiver android:name="semusi.context.ui.Carousel.CarouselEventReceiver"
|
|
137
|
+
android:exported="false">
|
|
59
138
|
<intent-filter>
|
|
60
|
-
<action android:name="
|
|
139
|
+
<action android:name="io.appice.CAROUSELNOTIFICATIONFIRED"/>
|
|
61
140
|
</intent-filter>
|
|
62
|
-
</
|
|
63
|
-
|
|
64
|
-
|
|
141
|
+
</receiver>
|
|
142
|
+
|
|
143
|
+
|
|
144
|
+
|
|
145
|
+
<!--</receiver>-->
|
|
146
|
+
<receiver android:name="semusi.geofencing.AIGeofenceReceiver"
|
|
147
|
+
android:exported="false">
|
|
148
|
+
</receiver>
|
|
65
149
|
|
|
150
|
+
<receiver android:name="semusi.geofencing.LocationUpdateReceiver"
|
|
151
|
+
android:exported="false">
|
|
152
|
+
</receiver>
|
|
153
|
+
|
|
154
|
+
<receiver android:name="semusi.geofencing.AIGeofenceBootReceiver"
|
|
155
|
+
android:exported="false">
|
|
66
156
|
<intent-filter>
|
|
67
|
-
<action android:name="android.
|
|
157
|
+
<action android:name="android.location.PROVIDERS_CHANGED"/>
|
|
158
|
+
<action android:name="android.intent.action.BOOT_COMPLETED"/>
|
|
159
|
+
</intent-filter>
|
|
160
|
+
</receiver>
|
|
161
|
+
<receiver android:name="semusi.geofencing.GeofenceReceiver"/>
|
|
68
162
|
|
|
69
|
-
|
|
70
|
-
|
|
163
|
+
<receiver
|
|
164
|
+
android:name="semusi.ruleengine.pushmanager.XiaomiMessageReceiver"
|
|
165
|
+
android:exported="false">
|
|
166
|
+
<intent-filter>
|
|
167
|
+
<action android:name="com.xiaomi.mipush.RECEIVE_MESSAGE" />
|
|
168
|
+
</intent-filter>
|
|
169
|
+
<intent-filter>
|
|
170
|
+
<action android:name="com.xiaomi.mipush.MESSAGE_ARRIVED" />
|
|
171
|
+
</intent-filter>
|
|
172
|
+
<intent-filter>
|
|
173
|
+
<action android:name="com.xiaomi.mipush.ERROR" />
|
|
174
|
+
</intent-filter>
|
|
175
|
+
</receiver>
|
|
71
176
|
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
177
|
+
|
|
178
|
+
<receiver
|
|
179
|
+
android:name="com.xiaomi.push.service.receivers.NetworkStatusReceiver"
|
|
180
|
+
android:exported="false">
|
|
181
|
+
<intent-filter>
|
|
182
|
+
<action android:name="android.net.conn.CONNECTIVITY_CHANGE" />
|
|
183
|
+
|
|
184
|
+
<category android:name="android.intent.category.DEFAULT" />
|
|
75
185
|
</intent-filter>
|
|
76
|
-
</
|
|
77
|
-
|
|
78
|
-
|
|
186
|
+
</receiver>
|
|
187
|
+
|
|
188
|
+
|
|
189
|
+
|
|
190
|
+
<!-- // xiaomi setting-->
|
|
191
|
+
<service
|
|
192
|
+
android:name="com.xiaomi.push.service.XMPushService"
|
|
193
|
+
android:exported="false"
|
|
194
|
+
android:enabled="false"
|
|
195
|
+
android:process=":pushservice" />
|
|
196
|
+
|
|
197
|
+
<!--Note: This service must be added to the version 3.0.1 or later (including version 3.0.1)-->
|
|
198
|
+
<service
|
|
199
|
+
android:name="com.xiaomi.push.service.XMJobService"
|
|
200
|
+
android:enabled="true"
|
|
201
|
+
android:exported="false"
|
|
202
|
+
android:permission="android.permission.BIND_JOB_SERVICE"
|
|
203
|
+
android:process=":pushservice" />
|
|
204
|
+
|
|
205
|
+
<service
|
|
206
|
+
android:name="com.xiaomi.mipush.sdk.PushMessageHandler"
|
|
207
|
+
android:enabled="true"
|
|
208
|
+
android:exported="false" />
|
|
79
209
|
|
|
210
|
+
<!--Note: This service must be added to version 2.2.5 or later (including version 2.2.5)-->
|
|
211
|
+
<service
|
|
212
|
+
android:name="com.xiaomi.mipush.sdk.MessageHandleService"
|
|
213
|
+
android:exported="false"
|
|
214
|
+
android:enabled="true" />
|
|
215
|
+
|
|
216
|
+
<receiver
|
|
217
|
+
android:name="com.xiaomi.push.service.receivers.PingReceiver"
|
|
218
|
+
android:exported="false"
|
|
219
|
+
android:process=":pushservice">
|
|
220
|
+
<intent-filter>
|
|
221
|
+
<action android:name="com.xiaomi.push.PING_TIMER" />
|
|
222
|
+
</intent-filter>
|
|
223
|
+
</receiver>
|
|
224
|
+
|
|
225
|
+
</application>
|
|
80
226
|
</manifest>
|
package/package.json
CHANGED
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"folders": [
|
|
3
|
-
{
|
|
4
|
-
"path": "..\\..\\..\\..\\..\\..\\..\\..\\..\\..\\..\\..\\plugin_codelab\\example"
|
|
5
|
-
},
|
|
6
|
-
{
|
|
7
|
-
"path": "..\\..\\..\\..\\..\\..\\..\\..\\..\\..\\..\\..\\plugin_appice"
|
|
8
|
-
},
|
|
9
|
-
{
|
|
10
|
-
"path": "..\\..\\..\\..\\..\\..\\..\\..\\..\\..\\..\\Cordova samples\\Cordova samples\\cordova-plugin-appice"
|
|
11
|
-
},
|
|
12
|
-
{
|
|
13
|
-
"path": "..\\..\\..\\..\\..\\..\\..\\..\\..\\..\\..\\..\\Downloads\\inapp_image_picker-0.0.1"
|
|
14
|
-
},
|
|
15
|
-
{
|
|
16
|
-
"path": "..\\..\\..\\..\\..\\..\\..\\..\\..\\..\\..\\..\\Downloads\\firebase_storage-10.2.4"
|
|
17
|
-
},
|
|
18
|
-
{
|
|
19
|
-
"path": "..\\..\\..\\..\\..\\..\\..\\..\\..\\..\\..\\..\\clevertap-flutter"
|
|
20
|
-
},
|
|
21
|
-
{
|
|
22
|
-
"path": "..\\..\\..\\..\\..\\..\\..\\.."
|
|
23
|
-
},
|
|
24
|
-
{
|
|
25
|
-
"path": "..\\..\\..\\..\\..\\..\\..\\..\\..\\..\\..\\Cordova samples\\Cordova samples"
|
|
26
|
-
}
|
|
27
|
-
],
|
|
28
|
-
"settings": {}
|
|
29
|
-
}
|