reactnative-plugin-appice 1.7.27 → 1.7.29
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 +7 -27
- package/android/gradle/wrapper/gradle-wrapper.properties +1 -1
- package/android/src/main/AndroidManifest.xml +3 -21
- package/android/src/main/java/com/{reactlibrary → appice/react}/AppICEUtils.java +1 -1
- package/android/src/main/java/com/{reactlibrary → appice/react}/AppIceReactPluginModule.java +8 -8
- package/android/src/main/java/com/{reactlibrary → appice/react}/AppIceReactPluginPackage.java +1 -1
- package/android/src/main/java/com/{reactlibrary → appice/react}/CampaignCampsReceiver.java +1 -1
- package/android/src/main/java/com/{reactlibrary → appice/react}/EnumConstants.java +2 -2
- package/android/src/main/java/com/{reactlibrary → appice/react}/NotificationEventService.java +1 -1
- package/android/src/main/java/com/{reactlibrary → appice/react}/StringConstants.java +1 -1
- package/example/android/.gradle/7.3.3/checksums/checksums.lock +0 -0
- package/example/android/.gradle/7.3.3/fileChanges/last-build.bin +0 -0
- package/example/android/.gradle/7.3.3/fileHashes/fileHashes.lock +0 -0
- package/example/android/.gradle/7.3.3/gc.properties +0 -0
- package/example/android/.gradle/vcs-1/gc.properties +0 -0
- package/example/android/build.gradle +1 -1
- package/example/package.json +1 -1
- package/package.json +1 -1
- package/reactnative-plugin-appice.podspec +1 -1
package/android/build.gradle
CHANGED
|
@@ -1,18 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
// based on:
|
|
4
|
-
//
|
|
5
|
-
// * https://github.com/facebook/react-native/blob/0.60-stable/template/android/build.gradle
|
|
6
|
-
// original location:
|
|
7
|
-
// - https://github.com/facebook/react-native/blob/0.58-stable/local-cli/templates/HelloWorld/android/build.gradle
|
|
8
|
-
//
|
|
9
|
-
// * https://github.com/facebook/react-native/blob/0.60-stable/template/android/app/build.gradle
|
|
10
|
-
// original location:
|
|
11
|
-
// - https://github.com/facebook/react-native/blob/0.58-stable/local-cli/templates/HelloWorld/android/app/build.gradle
|
|
12
|
-
|
|
13
|
-
def DEFAULT_COMPILE_SDK_VERSION = 34
|
|
1
|
+
def DEFAULT_COMPILE_SDK_VERSION = 35
|
|
14
2
|
def DEFAULT_MIN_SDK_VERSION = 21
|
|
15
|
-
def DEFAULT_TARGET_SDK_VERSION =
|
|
3
|
+
def DEFAULT_TARGET_SDK_VERSION = 35
|
|
16
4
|
|
|
17
5
|
def safeExtGet(prop, fallback) {
|
|
18
6
|
rootProject.ext.has(prop) ? rootProject.ext.get(prop) : fallback
|
|
@@ -21,17 +9,10 @@ def safeExtGet(prop, fallback) {
|
|
|
21
9
|
apply plugin: 'com.android.library'
|
|
22
10
|
|
|
23
11
|
buildscript {
|
|
24
|
-
|
|
25
|
-
// This avoids unnecessary downloads and potential conflicts when the library is included as a
|
|
26
|
-
// module dependency in an application project.
|
|
27
|
-
// ref: https://docs.gradle.org/current/userguide/tutorial_using_tasks.html#sec:build_script_external_dependencies
|
|
12
|
+
|
|
28
13
|
if (project == rootProject) {
|
|
29
14
|
repositories {
|
|
30
15
|
google()
|
|
31
|
-
jcenter()
|
|
32
|
-
}
|
|
33
|
-
dependencies {
|
|
34
|
-
classpath 'com.android.tools.build:gradle:3.4.3'
|
|
35
16
|
}
|
|
36
17
|
}
|
|
37
18
|
}
|
|
@@ -43,17 +24,17 @@ android {
|
|
|
43
24
|
defaultConfig {
|
|
44
25
|
minSdkVersion safeExtGet('minSdkVersion', DEFAULT_MIN_SDK_VERSION)
|
|
45
26
|
targetSdkVersion safeExtGet('targetSdkVersion', DEFAULT_TARGET_SDK_VERSION)
|
|
46
|
-
versionCode
|
|
47
|
-
versionName "
|
|
27
|
+
versionCode 3
|
|
28
|
+
versionName "3.0"
|
|
48
29
|
multiDexEnabled true
|
|
49
30
|
}
|
|
50
31
|
lintOptions {
|
|
51
32
|
abortOnError false
|
|
52
33
|
}
|
|
34
|
+
namespace 'com.appice.react'
|
|
53
35
|
}
|
|
54
36
|
|
|
55
37
|
repositories {
|
|
56
|
-
// ref: https://www.baeldung.com/maven-local-repository
|
|
57
38
|
mavenLocal()
|
|
58
39
|
maven {
|
|
59
40
|
// All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
|
|
@@ -75,7 +56,6 @@ repositories {
|
|
|
75
56
|
}
|
|
76
57
|
}
|
|
77
58
|
google()
|
|
78
|
-
jcenter()
|
|
79
59
|
}
|
|
80
60
|
|
|
81
61
|
|
|
@@ -114,7 +94,7 @@ dependencies {
|
|
|
114
94
|
annotationProcessor "androidx.lifecycle:lifecycle-compiler:2.3.1"
|
|
115
95
|
|
|
116
96
|
//appice
|
|
117
|
-
implementation "appice.io.android:sdk:2.6.
|
|
97
|
+
implementation "appice.io.android:sdk:2.6.20"
|
|
118
98
|
|
|
119
99
|
//glide
|
|
120
100
|
implementation "com.github.bumptech.glide:glide:4.11.0"
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
distributionBase=GRADLE_USER_HOME
|
|
2
2
|
distributionPath=wrapper/dists
|
|
3
|
-
distributionUrl=https\://services.gradle.org/distributions/gradle-
|
|
3
|
+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.5-all.zip
|
|
4
4
|
zipStoreBase=GRADLE_USER_HOME
|
|
5
5
|
zipStorePath=wrapper/dists
|
|
@@ -1,15 +1,6 @@
|
|
|
1
|
-
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
|
2
|
-
package="com.reactlibrary">
|
|
1
|
+
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
|
|
3
2
|
|
|
4
|
-
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
|
|
5
3
|
<uses-permission android:name="android.permission.INTERNET" />
|
|
6
|
-
<uses-permission android:name="android.permission.VIBRATE" />
|
|
7
|
-
|
|
8
|
-
<uses-permission android:name="android.permission.WAKE_LOCK" />
|
|
9
|
-
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
|
|
10
|
-
<uses-permission android:name="com.google.android.c2dm.permission.RECEIVE" />
|
|
11
|
-
|
|
12
|
-
<uses-permission android:name="com.google.android.gms.permission.AD_ID" />
|
|
13
4
|
|
|
14
5
|
<application>
|
|
15
6
|
<service
|
|
@@ -30,12 +21,6 @@
|
|
|
30
21
|
</intent-filter>
|
|
31
22
|
</receiver>
|
|
32
23
|
|
|
33
|
-
<!-- Semusi setup start -->
|
|
34
|
-
<service
|
|
35
|
-
android:name="semusi.activitysdk.Api"
|
|
36
|
-
android:exported="false"
|
|
37
|
-
android:protectionLevel="signature" />
|
|
38
|
-
|
|
39
24
|
<activity
|
|
40
25
|
android:name="semusi.context.ui.UIEventsHandler"
|
|
41
26
|
android:exported="false"
|
|
@@ -120,9 +105,8 @@
|
|
|
120
105
|
<service
|
|
121
106
|
android:protectionLevel="signature"
|
|
122
107
|
android:name="semusi.ruleengine.pushmanager.NotificationEventService"
|
|
123
|
-
android:permission="android.permission.BIND_JOB_SERVICE"
|
|
124
|
-
|
|
125
|
-
<!-- Semusi Job Start -->
|
|
108
|
+
android:permission="android.permission.BIND_JOB_SERVICE">
|
|
109
|
+
</service>
|
|
126
110
|
|
|
127
111
|
<receiver
|
|
128
112
|
android:protectionLevel="signature"
|
|
@@ -132,7 +116,5 @@
|
|
|
132
116
|
<action android:name="io.appice.CAROUSELNOTIFICATIONFIRED" />
|
|
133
117
|
</intent-filter>
|
|
134
118
|
</receiver>
|
|
135
|
-
|
|
136
|
-
|
|
137
119
|
</application>
|
|
138
120
|
</manifest>
|
package/android/src/main/java/com/{reactlibrary → appice/react}/AppIceReactPluginModule.java
RENAMED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
package com.
|
|
2
|
-
|
|
3
|
-
import static com.
|
|
4
|
-
import static com.
|
|
5
|
-
import static com.
|
|
6
|
-
import static com.
|
|
7
|
-
import static com.
|
|
8
|
-
import static com.
|
|
1
|
+
package com.appice.react;
|
|
2
|
+
|
|
3
|
+
import static com.appice.react.AppICEUtils.arrayListStringFromReadableArray;
|
|
4
|
+
import static com.appice.react.AppICEUtils.eventPropsFromReadableMap;
|
|
5
|
+
import static com.appice.react.StringConstants.MEDIA_DATA;
|
|
6
|
+
import static com.appice.react.StringConstants.MEDIA_THUMBNAIL;
|
|
7
|
+
import static com.appice.react.StringConstants.MEDIA_TYPE;
|
|
8
|
+
import static com.appice.react.StringConstants.MEDIA_URL;
|
|
9
9
|
|
|
10
10
|
import android.content.Context;
|
|
11
11
|
import android.content.Intent;
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
File without changes
|
|
File without changes
|
|
@@ -24,7 +24,7 @@ buildscript {
|
|
|
24
24
|
url "https://gitlab.com/api/v4/projects/10636887/packages/maven"
|
|
25
25
|
credentials(HttpHeaderCredentials) {
|
|
26
26
|
name = "Deploy-Token"
|
|
27
|
-
value = "
|
|
27
|
+
value = "gldt-ayJbLQtEd-nfQG6puvoD"
|
|
28
28
|
}
|
|
29
29
|
authentication {
|
|
30
30
|
header(HttpHeaderAuthentication)
|
package/example/package.json
CHANGED
package/package.json
CHANGED