react-native-notifyvisitors 4.5.1 → 4.5.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.
|
@@ -5,7 +5,7 @@ connection.gradle.distribution=GRADLE_DISTRIBUTION(VERSION(8.9))
|
|
|
5
5
|
connection.project.dir=
|
|
6
6
|
eclipse.preferences.version=1
|
|
7
7
|
gradle.user.home=
|
|
8
|
-
java.home=/
|
|
8
|
+
java.home=/opt/homebrew/Cellar/openjdk/21.0.1/libexec/openjdk.jdk/Contents/Home
|
|
9
9
|
jvm.arguments=
|
|
10
10
|
offline.mode=false
|
|
11
11
|
override.workspace.settings=true
|
package/android/build.gradle
CHANGED
|
@@ -35,7 +35,7 @@ android {
|
|
|
35
35
|
dependencies {
|
|
36
36
|
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
|
37
37
|
implementation 'com.facebook.react:react-native:+'
|
|
38
|
-
implementation('com.notifyvisitors.notifyvisitors:notifyvisitors:v5.5.3') {
|
|
38
|
+
implementation('com.notifyvisitors.notifyvisitors:notifyvisitors:v5.5.3.1') {
|
|
39
39
|
exclude group: 'com.google.firebase', module: 'firebase-core'
|
|
40
40
|
}
|
|
41
41
|
implementation platform('com.google.firebase:firebase-bom:30.3.1')
|
|
@@ -49,7 +49,7 @@ public class RNNotifyvisitorsModule extends ReactContextBaseJavaModule implement
|
|
|
49
49
|
|
|
50
50
|
private final ReactApplicationContext reactContext;
|
|
51
51
|
private static final String TAG = "RN-NotifyVisitors";
|
|
52
|
-
private static final String PLUGIN_VERSION = "4.5.
|
|
52
|
+
private static final String PLUGIN_VERSION = "4.5.2";
|
|
53
53
|
|
|
54
54
|
private String PUSH_BANNER_CLICK_EVENT = "nv_push_banner_click";
|
|
55
55
|
private String CHAT_BOT_BUTTON_CLICK = "nv_chat_bot_button_click";
|
|
@@ -23,7 +23,7 @@ int nvCheckPushClickTimeCounter = 0;
|
|
|
23
23
|
|
|
24
24
|
@implementation RNNotifyvisitors
|
|
25
25
|
|
|
26
|
-
static NSString *const kNVPluginVersion = @"4.5.
|
|
26
|
+
static NSString *const kNVPluginVersion = @"4.5.2";
|
|
27
27
|
|
|
28
28
|
- (dispatch_queue_t)methodQueue{
|
|
29
29
|
return dispatch_get_main_queue();
|
|
@@ -46,7 +46,7 @@ static NSString *const kNVPluginVersion = @"4.5.1";
|
|
|
46
46
|
NSLog(@"RN-NotifyVisitors : INITIALIZE WITH BRANDID SECRETKEY & LAUNCHING-OPTIONS !!");
|
|
47
47
|
NSLog(@"RN-NotifyVisitors PLUGIN VERSION : %@ !!", kNVPluginVersion);
|
|
48
48
|
|
|
49
|
-
[[self sharedInstance]
|
|
49
|
+
[[self sharedInstance] nvTurnOffAutomaticScreenViewEventForReactNative];
|
|
50
50
|
NSString *nvMode = nil;
|
|
51
51
|
#if DEBUG
|
|
52
52
|
nvMode = @"debug";
|
|
@@ -60,7 +60,7 @@ NSLog(@"RN-NotifyVisitors PLUGIN VERSION : %@ !!", kNVPluginVersion);
|
|
|
60
60
|
NSLog(@"RN-NotifyVisitors : INITIALIZE !!");
|
|
61
61
|
NSLog(@"RN-NotifyVisitors PLUGIN VERSION : %@ !!", kNVPluginVersion);
|
|
62
62
|
|
|
63
|
-
[[self sharedInstance]
|
|
63
|
+
[[self sharedInstance] nvTurnOffAutomaticScreenViewEventForReactNative];
|
|
64
64
|
NSString *nvMode = nil;
|
|
65
65
|
#if DEBUG
|
|
66
66
|
nvMode = @"debug";
|
|
@@ -68,7 +68,6 @@ NSLog(@"RN-NotifyVisitors PLUGIN VERSION : %@ !!", kNVPluginVersion);
|
|
|
68
68
|
nvMode = @"live";
|
|
69
69
|
#endif
|
|
70
70
|
[notifyvisitors Initialize:nvMode];
|
|
71
|
-
|
|
72
71
|
}
|
|
73
72
|
|
|
74
73
|
+(void)applicationDidEnterBackground:(UIApplication *)application {
|
|
@@ -314,7 +313,7 @@ NSLog(@"RN-NotifyVisitors PLUGIN VERSION : %@ !!", kNVPluginVersion);
|
|
|
314
313
|
});
|
|
315
314
|
}
|
|
316
315
|
|
|
317
|
-
-(void)
|
|
316
|
+
-(void)nvTurnOffAutomaticScreenViewEventForReactNative {
|
|
318
317
|
NSUserDefaults *nvflutterCustomUserDefaults = [[NSUserDefaults alloc] initWithSuiteName: @"com.cp.plugin.notifyvisitors"];
|
|
319
318
|
[nvflutterCustomUserDefaults setBool: YES forKey: @"nv_isSDKRunningInCP"];
|
|
320
319
|
[nvflutterCustomUserDefaults synchronize];
|