reactnative-plugin-appice 1.4.9 → 1.5.1

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.
@@ -73,6 +73,7 @@ dependencies {
73
73
  //noinspection GradleDynamicVersion
74
74
  implementation 'com.facebook.react:react-native:+'
75
75
  implementation files('libs/logutility.jar') // From node_modules
76
+ implementation files('libs/appICE_sdk_2.5.44.aar') // From node_modules
76
77
  implementation fileTree(include: ['*.jar'], dir: 'libs')
77
78
  implementation "com.google.android.gms:play-services-location:21.0.1"
78
79
  implementation "androidx.lifecycle:lifecycle-extensions:2.2.0"
@@ -87,7 +88,6 @@ dependencies {
87
88
  // Utilities for Maps SDK for Android (requires Google Play Services)
88
89
  implementation 'com.google.maps.android:android-maps-utils:2.3.0'
89
90
  annotationProcessor "androidx.lifecycle:lifecycle-compiler:2.3.1"
90
- implementation 'com.gitlab.grp_appice.src_android_appice-sdk:sdk:2.5.47'
91
91
  }
92
92
 
93
93
  def configureReactNativePom(def pom) {
@@ -88,6 +88,12 @@ NS_ASSUME_NONNULL_BEGIN
88
88
  //-(void)sendClickCallback:(CallBack*)callbackValue;
89
89
  //+(void)invokeCallback:(NSDictionary*)userInfo;
90
90
  - (void)pushNotificationReceived:(id _Nonnull)notificationData;
91
+
92
+ //inapp
93
+ -(void)resumeInApp;
94
+ -(void)suspendInApp;
95
+ -(void)discardInApp;
96
+ -(void)dismissInApp;
91
97
  @end
92
98
 
93
99
  NS_ASSUME_NONNULL_END
@@ -168,6 +168,14 @@ typedef void (^AppICEInboxCallback)(AppICEInboxMessage *AppICEInboxMessage);
168
168
 
169
169
  // will send to server only when baseUrl is not null through PutApp call
170
170
  -(void)setInitialise:(NSString*)urlString;
171
+
172
+ //inapp
173
+ -(void)resumeInApp;
174
+ -(void)suspendInApp;
175
+ -(void)discardInApp;
176
+ -(void)dismissInApp;
177
+
178
+
171
179
  @end
172
180
 
173
181
  NS_ASSUME_NONNULL_END
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "reactnative-plugin-appice",
3
- "version": "1.4.9",
3
+ "version": "1.5.1",
4
4
  "description": "appICE React Native SDK",
5
5
  "main": "index.js",
6
6
  "files": [