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.
@@ -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.84'
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
@@ -17,7 +17,7 @@
17
17
  "install": "^0.13.0",
18
18
  "react": "18.0.0",
19
19
  "react-native": "0.69.4",
20
- "reactnative-plugin-appice": "1.7.19",
20
+ "reactnative-plugin-appice": "1.7.21",
21
21
  "react-native-mmkv": "2.12.2"
22
22
  },
23
23
  "devDependencies": {