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.
- package/android/build.gradle +1 -1
- package/example/App.js +13 -3
- package/example/android/app/build.gradle +0 -2
- package/example/android/app/src/main/java/com/example/MainApplication.java +0 -4
- package/example/android/local.properties +1 -1
- package/example/package.json +1 -1
- package/example/yarn.lock +7176 -0
- package/package.json +1 -1
- package/example/HelloWorldApp.js +0 -483
- package/example/android/app/google-services.json +0 -275
- package/example/package-lock.json +0 -16722
package/android/build.gradle
CHANGED
|
@@ -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.
|
|
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
|
-
|
|
123
|
-
|
|
124
|
-
|
|
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
|
/**
|