reactnative-plugin-appice 1.7.12 → 1.7.13

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.
@@ -114,7 +114,7 @@ dependencies {
114
114
  annotationProcessor "androidx.lifecycle:lifecycle-compiler:2.3.1"
115
115
 
116
116
  //appice
117
- implementation 'appice.io.android:sdk:2.5.78'
117
+ implementation 'appice.io.android:sdk:2.5.79'
118
118
 
119
119
  //glide
120
120
  implementation "com.github.bumptech.glide:glide:4.11.0"
package/example/App.js CHANGED
@@ -119,9 +119,19 @@ const sendEvent = () => {
119
119
  };
120
120
 
121
121
  const setUserProfile = () => {
122
- var user = AppICE.User("Amit@getstream.io")
123
- console.log("userid user "+user)
124
- AppICE.setUser(user);
122
+ const userProfile = {
123
+ name: 'Rahul K',
124
+ dob: '09091992',
125
+ age:'1992',
126
+ email: 'testemail@sample.com',
127
+ phone: '9000900006',
128
+ gender: 'M',
129
+ educationType: '12th',
130
+ employmentType: 'full time',
131
+ married: true,
132
+ isEmployed: true,
133
+ };
134
+ setUser(userProfile);
125
135
  };
126
136
 
127
137
  const setSampleUserID = () => {
@@ -276,8 +276,6 @@ dependencies {
276
276
  exclude group:'com.facebook.flipper'
277
277
  }
278
278
 
279
- implementation 'appice.io.android:sdk:2.5.78'
280
-
281
279
  if (enableHermes) {
282
280
  //noinspection GradleDynamicVersion
283
281
  implementation("com.facebook.react:hermes-engine:+") { // From node_modules
@@ -13,8 +13,6 @@ import com.example.newarchitecture.MainApplicationReactNativeHost;
13
13
  import java.lang.reflect.InvocationTargetException;
14
14
  import java.util.List;
15
15
 
16
- import semusi.activitysdk.ContextApplication;
17
-
18
16
  public class MainApplication extends Application implements ReactApplication {
19
17
 
20
18
  private final ReactNativeHost mReactNativeHost =
@@ -58,8 +56,6 @@ public class MainApplication extends Application implements ReactApplication {
58
56
  ReactFeatureFlags.useTurboModules = BuildConfig.IS_NEW_ARCHITECTURE_ENABLED;
59
57
  SoLoader.init(this, /* native exopackage */ false);
60
58
  initializeFlipper(this, getReactNativeHost().getReactInstanceManager());
61
-
62
- ContextApplication.initSdk(getApplicationContext(), this);
63
59
  }
64
60
 
65
61
  /**
@@ -4,5 +4,5 @@
4
4
  # Location of the SDK. This is only used by Gradle.
5
5
  # For customization when using a Version Control System, please read the
6
6
  # header note.
7
- #Tue Nov 28 00:45:30 IST 2023
7
+ #Thu Jun 27 11:56:58 IST 2024
8
8
  sdk.dir=/Users/amit/Library/Android/sdk
@@ -16,7 +16,7 @@
16
16
  "install": "^0.13.0",
17
17
  "react": "18.0.0",
18
18
  "react-native": "0.69.4",
19
- "reactnative-plugin-appice": "^1.7.11"
19
+ "reactnative-plugin-appice": "^1.7.0"
20
20
  },
21
21
  "devDependencies": {
22
22
  "@babel/core": "^7.12.9",