reactnative-plugin-appice 1.7.19 → 1.7.21
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 +1 -1
- package/android/src/main/java/com/reactlibrary/AppIceReactPluginModule.java +0 -1
- package/campaign.js +26 -0
- package/example/android/local.properties +8 -0
- package/example/package.json +1 -1
- package/example/yarn.lock +6736 -6199
- package/index.js +10 -1
- package/package.json +2 -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/vcs-1/gc.properties +0 -0
- /package/{example/android/.gradle/7.3.3/gc.properties → android/src/main/test} +0 -0
package/android/build.gradle
CHANGED
|
@@ -113,7 +113,7 @@ dependencies {
|
|
|
113
113
|
annotationProcessor "androidx.lifecycle:lifecycle-compiler:2.3.1"
|
|
114
114
|
|
|
115
115
|
//appice
|
|
116
|
-
implementation 'appice.io.android:sdk:2.5.
|
|
116
|
+
implementation 'appice.io.android:sdk:2.5.85'
|
|
117
117
|
|
|
118
118
|
//glide
|
|
119
119
|
implementation "com.github.bumptech.glide:glide:4.11.0"
|
|
@@ -43,7 +43,6 @@ import org.json.JSONException;
|
|
|
43
43
|
import org.json.JSONObject;
|
|
44
44
|
|
|
45
45
|
import semusi.nativedisplay.Campaign;
|
|
46
|
-
import semusi.nativedisplay.NativeDisplayDataProvider;
|
|
47
46
|
|
|
48
47
|
public class AppIceReactPluginModule extends ReactContextBaseJavaModule {
|
|
49
48
|
private static ReactApplicationContext context = null;
|
package/campaign.js
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
|
|
2
|
+
export default class Campaign {
|
|
3
|
+
constructor(campId, actionUrl, actionType, customData) {
|
|
4
|
+
this._campId = campId;
|
|
5
|
+
this._actionUrl = actionUrl;
|
|
6
|
+
this._actionType = actionType;
|
|
7
|
+
this._customData = customData;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
// Getter methods for campaign properties
|
|
11
|
+
getCampaignId() {
|
|
12
|
+
return this._campId;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
getActionUrl() {
|
|
16
|
+
return this._actionUrl;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
getActionType() {
|
|
20
|
+
return this._actionType;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
getCustomData() {
|
|
24
|
+
return this._customData;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
## This file must *NOT* be checked into Version Control Systems,
|
|
2
|
+
# as it contains information specific to your local configuration.
|
|
3
|
+
#
|
|
4
|
+
# Location of the SDK. This is only used by Gradle.
|
|
5
|
+
# For customization when using a Version Control System, please read the
|
|
6
|
+
# header note.
|
|
7
|
+
#Thu Jul 11 15:09:32 IST 2024
|
|
8
|
+
sdk.dir=/Users/amit/Library/Android/sdk
|