react-native-notifyvisitors 4.3.1 → 4.3.2
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
CHANGED
|
@@ -34,8 +34,7 @@ android {
|
|
|
34
34
|
dependencies {
|
|
35
35
|
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
|
36
36
|
implementation 'com.facebook.react:react-native:+'
|
|
37
|
-
|
|
38
|
-
implementation 'com.notifyvisitors.notifyvisitors:notifyvisitors:v5.4.7.1
|
|
37
|
+
implementation 'com.notifyvisitors.notifyvisitors:notifyvisitors:v5.4.7.1'
|
|
39
38
|
|
|
40
39
|
implementation platform('com.google.firebase:firebase-bom:30.3.1')
|
|
41
40
|
implementation ('com.google.firebase:firebase-messaging')
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
<application>
|
|
15
15
|
<service
|
|
16
16
|
android:name="com.notifyvisitors.notifyvisitors.NVFirebaseMessagingService"
|
|
17
|
-
android:exported="
|
|
17
|
+
android:exported="false">
|
|
18
18
|
<intent-filter>
|
|
19
19
|
<action android:name="com.google.firebase.MESSAGING_EVENT" />
|
|
20
20
|
</intent-filter>
|
|
@@ -44,7 +44,7 @@ public class RNNotifyvisitorsModule extends ReactContextBaseJavaModule implement
|
|
|
44
44
|
|
|
45
45
|
private final ReactApplicationContext reactContext;
|
|
46
46
|
private static final String TAG = "RN-NotifyVisitors";
|
|
47
|
-
private static final String PLUGIN_VERSION = "4.3.
|
|
47
|
+
private static final String PLUGIN_VERSION = "4.3.2";
|
|
48
48
|
|
|
49
49
|
private String PUSH_BANNER_CLICK_EVENT = "nv_push_banner_click";
|
|
50
50
|
private String CHAT_BOT_BUTTON_CLICK = "nv_chat_bot_button_click";
|
|
@@ -432,13 +432,13 @@ public class RNNotifyvisitorsModule extends ReactContextBaseJavaModule implement
|
|
|
432
432
|
mActivity.runOnUiThread(new Runnable() {
|
|
433
433
|
@Override
|
|
434
434
|
public void run() {
|
|
435
|
-
NotifyVisitorsApi.getInstance(mActivity).startChatBot(screenName, new OnNotifyBotClickListener() {
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
});
|
|
435
|
+
// NotifyVisitorsApi.getInstance(mActivity).startChatBot(screenName, new OnNotifyBotClickListener() {
|
|
436
|
+
// @Override
|
|
437
|
+
// public void onInAppRedirection(JSONObject data) {
|
|
438
|
+
// String strI = data.toString();
|
|
439
|
+
// sendEvent(CHAT_BOT_BUTTON_CLICK, strI);
|
|
440
|
+
// }
|
|
441
|
+
// });
|
|
442
442
|
}
|
|
443
443
|
});
|
|
444
444
|
} else {
|
|
@@ -32,7 +32,7 @@ int nvCheckPushClickTimeCounter = 0;
|
|
|
32
32
|
|
|
33
33
|
+(void)Initialize{
|
|
34
34
|
NSLog(@"RN-NotifyVisitors : INITIALIZE !!");
|
|
35
|
-
NSLog(@"RN-NotifyVisitors PLUGIN VERSION : 4.3.
|
|
35
|
+
NSLog(@"RN-NotifyVisitors PLUGIN VERSION : 4.3.2 !!");
|
|
36
36
|
NSString *nvMode = nil;
|
|
37
37
|
#if DEBUG
|
|
38
38
|
nvMode = @"debug";
|