react-native-notifyvisitors 4.4.4 → 4.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.
- package/android/.settings/org.eclipse.buildship.core.prefs +1 -1
- package/android/build.gradle +4 -3
- package/android/src/main/AndroidManifest.xml +1 -0
- package/android/src/main/java/com/rn_notifyvisitors/RNNotifyvisitorsModule.java +18 -1
- package/index.d.ts +5 -0
- package/index.js +21 -2
- package/ios/RNNotifyvisitors/RCTNVEventEmitter.m +27 -12
- package/ios/RNNotifyvisitors/RNNotifyvisitors.m +22 -19
- package/ios/RNNotifyvisitors.xcodeproj/project.pbxproj +4 -4
- package/ios/notifyvisitors.xcframework/Info.plist +6 -6
- package/ios/notifyvisitors.xcframework/ios-arm64/notifyvisitors.framework/Assets.car +0 -0
- package/ios/notifyvisitors.xcframework/ios-arm64/notifyvisitors.framework/Headers/notifyvisitors.h +2 -1
- package/ios/notifyvisitors.xcframework/ios-arm64/notifyvisitors.framework/Info.plist +0 -0
- package/ios/notifyvisitors.xcframework/ios-arm64/notifyvisitors.framework/_CodeSignature/CodeResources +5 -5
- package/ios/notifyvisitors.xcframework/ios-arm64/notifyvisitors.framework/notifyvisitors +0 -0
- package/ios/notifyvisitors.xcframework/ios-arm64_x86_64-maccatalyst/notifyvisitors.framework/Versions/A/Headers/notifyvisitors.h +2 -1
- package/ios/notifyvisitors.xcframework/ios-arm64_x86_64-maccatalyst/notifyvisitors.framework/Versions/A/Resources/Assets.car +0 -0
- package/ios/notifyvisitors.xcframework/ios-arm64_x86_64-maccatalyst/notifyvisitors.framework/Versions/A/Resources/Info.plist +9 -9
- package/ios/notifyvisitors.xcframework/ios-arm64_x86_64-maccatalyst/notifyvisitors.framework/Versions/A/_CodeSignature/CodeResources +5 -5
- package/ios/notifyvisitors.xcframework/ios-arm64_x86_64-maccatalyst/notifyvisitors.framework/Versions/A/notifyvisitors +0 -0
- package/ios/notifyvisitors.xcframework/ios-arm64_x86_64-simulator/notifyvisitors.framework/Assets.car +0 -0
- package/ios/notifyvisitors.xcframework/ios-arm64_x86_64-simulator/notifyvisitors.framework/Headers/notifyvisitors.h +2 -1
- package/ios/notifyvisitors.xcframework/ios-arm64_x86_64-simulator/notifyvisitors.framework/Info.plist +0 -0
- package/ios/notifyvisitors.xcframework/ios-arm64_x86_64-simulator/notifyvisitors.framework/_CodeSignature/CodeResources +5 -5
- package/ios/notifyvisitors.xcframework/ios-arm64_x86_64-simulator/notifyvisitors.framework/notifyvisitors +0 -0
- package/package.json +1 -1
- package/react-native-notifyvisitors.podspec +1 -1
|
@@ -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=/Library/Java/JavaVirtualMachines/jdk-19.jdk/Contents/Home
|
|
9
9
|
jvm.arguments=
|
|
10
10
|
offline.mode=false
|
|
11
11
|
override.workspace.settings=true
|
package/android/build.gradle
CHANGED
|
@@ -12,11 +12,12 @@ buildscript {
|
|
|
12
12
|
}
|
|
13
13
|
|
|
14
14
|
android {
|
|
15
|
-
compileSdk safeExtGet('compileSdk',
|
|
15
|
+
compileSdk safeExtGet('compileSdk', 34)
|
|
16
|
+
namespace = "com.rn_notifyvisitors"
|
|
16
17
|
|
|
17
18
|
defaultConfig {
|
|
18
19
|
minSdkVersion safeExtGet('minSdkVersion', 23)
|
|
19
|
-
targetSdkVersion safeExtGet('targetSdkVersion',
|
|
20
|
+
targetSdkVersion safeExtGet('targetSdkVersion', 34)
|
|
20
21
|
}
|
|
21
22
|
|
|
22
23
|
buildTypes {
|
|
@@ -34,7 +35,7 @@ android {
|
|
|
34
35
|
dependencies {
|
|
35
36
|
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
|
36
37
|
implementation 'com.facebook.react:react-native:+'
|
|
37
|
-
implementation('com.notifyvisitors.notifyvisitors:notifyvisitors:v5.
|
|
38
|
+
implementation('com.notifyvisitors.notifyvisitors:notifyvisitors:v5.5.3') {
|
|
38
39
|
exclude group: 'com.google.firebase', module: 'firebase-core'
|
|
39
40
|
}
|
|
40
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.
|
|
52
|
+
private static final String PLUGIN_VERSION = "4.5.1";
|
|
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";
|
|
@@ -1423,6 +1423,23 @@ public class RNNotifyvisitorsModule extends ReactContextBaseJavaModule implement
|
|
|
1423
1423
|
}
|
|
1424
1424
|
}
|
|
1425
1425
|
|
|
1426
|
+
@ReactMethod
|
|
1427
|
+
public void trackScreen(String screenName) {
|
|
1428
|
+
try {
|
|
1429
|
+
Log.i(TAG, "TRACK SCREEN !!");
|
|
1430
|
+
|
|
1431
|
+
if (screenName != null) {
|
|
1432
|
+
Log.i(TAG, "Screen Name : " + screenName);
|
|
1433
|
+
} else {
|
|
1434
|
+
Log.i(TAG, "Screen Name : null");
|
|
1435
|
+
}
|
|
1436
|
+
|
|
1437
|
+
NotifyVisitorsApi.getInstance(reactContext).trackScreen(screenName);
|
|
1438
|
+
} catch (Exception e) {
|
|
1439
|
+
Log.i(TAG, "TRACK SCREEN ERROR : " + e);
|
|
1440
|
+
}
|
|
1441
|
+
}
|
|
1442
|
+
|
|
1426
1443
|
/* On Activity Result */
|
|
1427
1444
|
@Override
|
|
1428
1445
|
public void onActivityResult(Activity activity, int requestCode, int resultCode, Intent data) {
|
package/index.d.ts
CHANGED
|
@@ -93,6 +93,11 @@ export default class Notifyvisitors {
|
|
|
93
93
|
static isPayloadFromNvPlatform(pushPayload: any, callback: any): void;
|
|
94
94
|
static getNV_FCMPayload(pushPayload: any): void;
|
|
95
95
|
|
|
96
|
+
/* 3 - Track Screen */
|
|
97
|
+
static trackScreen(
|
|
98
|
+
screenName: String
|
|
99
|
+
): void;
|
|
100
|
+
|
|
96
101
|
/* 10 - iOS Specific methods */
|
|
97
102
|
static scrollViewDidScroll_iOS_only(): void;
|
|
98
103
|
// static promptForPushNotificationsWithUserResponse(callback: any): void;
|
package/index.js
CHANGED
|
@@ -60,7 +60,12 @@ export default class Notifyvisitors {
|
|
|
60
60
|
console.log("NV- Show InApp Message !!");
|
|
61
61
|
try {
|
|
62
62
|
CALLBACKS_STACK[NV_CALLBACKS.NV_SHOW] = nvCallback;
|
|
63
|
-
RNNotifyvisitors.showInAppMessage(
|
|
63
|
+
RNNotifyvisitors.showInAppMessage(
|
|
64
|
+
tokens,
|
|
65
|
+
customObjects,
|
|
66
|
+
fragmentName,
|
|
67
|
+
nvCallback
|
|
68
|
+
);
|
|
64
69
|
} catch (e) {
|
|
65
70
|
console.log(e);
|
|
66
71
|
}
|
|
@@ -90,7 +95,11 @@ export default class Notifyvisitors {
|
|
|
90
95
|
dismissValue = parseInt(dismissValue);
|
|
91
96
|
}
|
|
92
97
|
CALLBACKS_STACK[NV_CALLBACKS.NV_CENTER] = callback;
|
|
93
|
-
RNNotifyvisitors.openNotificationCenter(
|
|
98
|
+
RNNotifyvisitors.openNotificationCenter(
|
|
99
|
+
mAppInboxInfo,
|
|
100
|
+
dismissValue,
|
|
101
|
+
callback
|
|
102
|
+
);
|
|
94
103
|
} catch (e) {
|
|
95
104
|
console.log(e);
|
|
96
105
|
}
|
|
@@ -481,6 +490,16 @@ export default class Notifyvisitors {
|
|
|
481
490
|
console.log(e);
|
|
482
491
|
}
|
|
483
492
|
}
|
|
493
|
+
|
|
494
|
+
/* - Trck Screen */
|
|
495
|
+
static trackScreen(screenName) {
|
|
496
|
+
console.log("NV- Track Screen !!");
|
|
497
|
+
try {
|
|
498
|
+
RNNotifyvisitors.trackScreen(screenName);
|
|
499
|
+
} catch (e) {
|
|
500
|
+
console.log(e);
|
|
501
|
+
}
|
|
502
|
+
}
|
|
484
503
|
}
|
|
485
504
|
|
|
486
505
|
export class PushPromptInfo {
|
|
@@ -204,17 +204,17 @@ RCT_EXPORT_METHOD(openNotificationCenter:(NSDictionary* _Nullable)tmpAppInboxInf
|
|
|
204
204
|
notificationCenterCallback = nvcallback;
|
|
205
205
|
@try{
|
|
206
206
|
[self showNotifications: tmpAppInboxInfo dismiss: dismissValue];
|
|
207
|
-
// NSError *nvError = nil;
|
|
208
|
-
// NSData *nvJsonData = nil;
|
|
209
|
-
// NSString *nvJsonString = nil;
|
|
210
|
-
// if([nvNotificationCenterData count] > 0){
|
|
211
|
-
// nvJsonData = [NSJSONSerialization dataWithJSONObject: nvNotificationCenterData options:NSJSONWritingPrettyPrinted error: &nvError];
|
|
212
|
-
// } else {
|
|
213
|
-
// NSDictionary *nvErrorDataResponse = @{@"message" : @"no notification(s)", @"notifications": @[]};
|
|
214
|
-
// nvJsonData = [NSJSONSerialization dataWithJSONObject: nvErrorDataResponse options:NSJSONWritingPrettyPrinted error: &nvError];
|
|
215
|
-
// }
|
|
216
|
-
//nvJsonString = [[NSString alloc] initWithData: nvJsonData encoding: NSUTF8StringEncoding];
|
|
217
|
-
// [self sendEventWithName:@"nv_center_callback" body:@{@"data": nvJsonString}];
|
|
207
|
+
// NSError *nvError = nil;
|
|
208
|
+
// NSData *nvJsonData = nil;
|
|
209
|
+
// NSString *nvJsonString = nil;
|
|
210
|
+
// if([nvNotificationCenterData count] > 0){
|
|
211
|
+
// nvJsonData = [NSJSONSerialization dataWithJSONObject: nvNotificationCenterData options:NSJSONWritingPrettyPrinted error: &nvError];
|
|
212
|
+
// } else {
|
|
213
|
+
// NSDictionary *nvErrorDataResponse = @{@"message" : @"no notification(s)", @"notifications": @[]};
|
|
214
|
+
// nvJsonData = [NSJSONSerialization dataWithJSONObject: nvErrorDataResponse options:NSJSONWritingPrettyPrinted error: &nvError];
|
|
215
|
+
// }
|
|
216
|
+
//nvJsonString = [[NSString alloc] initWithData: nvJsonData encoding: NSUTF8StringEncoding];
|
|
217
|
+
// [self sendEventWithName:@"nv_center_callback" body:@{@"data": nvJsonString}];
|
|
218
218
|
}
|
|
219
219
|
@catch(NSException *exception){
|
|
220
220
|
NSLog(@"RN-NotifyVisitors ERROR : %@", exception.reason);
|
|
@@ -584,6 +584,21 @@ RCT_EXPORT_METHOD(event:(NSString*_Nullable)eventName Attributes:(NSDictionary*
|
|
|
584
584
|
}
|
|
585
585
|
}
|
|
586
586
|
|
|
587
|
+
RCT_EXPORT_METHOD(trackScreen:(NSString*_Nullable)nvScreenName) {
|
|
588
|
+
@try{
|
|
589
|
+
NSLog(@"RN-NotifyVisitors : TRACK SCREEN !!");
|
|
590
|
+
|
|
591
|
+
if ([nvScreenName length] > 0 && ![nvScreenName isEqualToString: @""] && ![nvScreenName isEqual: [NSNull null]] && ![nvScreenName isEqualToString: @"(null)"]) {
|
|
592
|
+
[notifyvisitors trackScreen: nvScreenName];
|
|
593
|
+
} else {
|
|
594
|
+
NSLog(@"RN-NotifyVisitors ERROR : Invalid or empty screen name found in trackScreen() method");
|
|
595
|
+
}
|
|
596
|
+
}
|
|
597
|
+
@catch(NSException *exception){
|
|
598
|
+
NSLog(@"RN-NotifyVisitors ERROR : %@", exception.reason);
|
|
599
|
+
}
|
|
600
|
+
}
|
|
601
|
+
|
|
587
602
|
#pragma mark - Push Notifications related methods
|
|
588
603
|
|
|
589
604
|
/* 13 - Schedule Push Notification */
|
|
@@ -809,7 +824,7 @@ RCT_EXPORT_METHOD(getLinkInfo) {
|
|
|
809
824
|
NSError *nvError = nil;
|
|
810
825
|
NSData *nvJsonData = [NSJSONSerialization dataWithJSONObject: nvUserInfo options: NSJSONWritingPrettyPrinted error: &nvError];
|
|
811
826
|
NSString *nvJsonString = [[NSString alloc] initWithData: nvJsonData encoding: NSUTF8StringEncoding];
|
|
812
|
-
[self sendEventWithName:@"nv_push_banner_click" body
|
|
827
|
+
[self sendEventWithName:@"nv_push_banner_click" body: @{@"data": nvJsonString}];
|
|
813
828
|
}
|
|
814
829
|
}];
|
|
815
830
|
|
|
@@ -23,7 +23,7 @@ int nvCheckPushClickTimeCounter = 0;
|
|
|
23
23
|
|
|
24
24
|
@implementation RNNotifyvisitors
|
|
25
25
|
|
|
26
|
-
static NSString *const kNVPluginVersion = @"4.
|
|
26
|
+
static NSString *const kNVPluginVersion = @"4.5.1";
|
|
27
27
|
|
|
28
28
|
- (dispatch_queue_t)methodQueue{
|
|
29
29
|
return dispatch_get_main_queue();
|
|
@@ -32,10 +32,21 @@ static NSString *const kNVPluginVersion = @"4.4.4";
|
|
|
32
32
|
|
|
33
33
|
//app delegate methods
|
|
34
34
|
|
|
35
|
+
+ (instancetype)sharedInstance {
|
|
36
|
+
static RNNotifyvisitors *sharedInstance = nil;
|
|
37
|
+
static dispatch_once_t onceToken;
|
|
38
|
+
dispatch_once(&onceToken, ^{
|
|
39
|
+
sharedInstance = [[RNNotifyvisitors alloc] init];
|
|
40
|
+
});
|
|
41
|
+
return sharedInstance;
|
|
42
|
+
}
|
|
43
|
+
|
|
35
44
|
+(void)initializeWithBrandId:(NSInteger)brandID secretKey:(NSString *)secretKey launchingOptions:(NSDictionary *)launchingOptions {
|
|
36
45
|
|
|
37
46
|
NSLog(@"RN-NotifyVisitors : INITIALIZE WITH BRANDID SECRETKEY & LAUNCHING-OPTIONS !!");
|
|
38
47
|
NSLog(@"RN-NotifyVisitors PLUGIN VERSION : %@ !!", kNVPluginVersion);
|
|
48
|
+
|
|
49
|
+
[[self sharedInstance] nvTurnOffAutomaticScreenViewEventForFlutter];
|
|
39
50
|
NSString *nvMode = nil;
|
|
40
51
|
#if DEBUG
|
|
41
52
|
nvMode = @"debug";
|
|
@@ -48,6 +59,8 @@ NSLog(@"RN-NotifyVisitors PLUGIN VERSION : %@ !!", kNVPluginVersion);
|
|
|
48
59
|
+(void)Initialize{
|
|
49
60
|
NSLog(@"RN-NotifyVisitors : INITIALIZE !!");
|
|
50
61
|
NSLog(@"RN-NotifyVisitors PLUGIN VERSION : %@ !!", kNVPluginVersion);
|
|
62
|
+
|
|
63
|
+
[[self sharedInstance] nvTurnOffAutomaticScreenViewEventForFlutter];
|
|
51
64
|
NSString *nvMode = nil;
|
|
52
65
|
#if DEBUG
|
|
53
66
|
nvMode = @"debug";
|
|
@@ -58,7 +71,7 @@ NSLog(@"RN-NotifyVisitors PLUGIN VERSION : %@ !!", kNVPluginVersion);
|
|
|
58
71
|
|
|
59
72
|
}
|
|
60
73
|
|
|
61
|
-
+(void)applicationDidEnterBackground:(UIApplication *)application{
|
|
74
|
+
+(void)applicationDidEnterBackground:(UIApplication *)application {
|
|
62
75
|
@try{
|
|
63
76
|
NSLog(@"RN-NotifyVisitors : APPLICATION DID ENTER BACKGROUND !!");
|
|
64
77
|
[notifyvisitors applicationDidEnterBackground: application];
|
|
@@ -233,7 +246,6 @@ NSLog(@"RN-NotifyVisitors PLUGIN VERSION : %@ !!", kNVPluginVersion);
|
|
|
233
246
|
NSLog(@"RN-NotifyVisitors : WILL PRESENT NOTIFICATION !!");
|
|
234
247
|
@try{
|
|
235
248
|
[notifyvisitors willPresentNotification: notification withCompletionHandler: completionHandler];
|
|
236
|
-
[notifyvisitors willPresentNotification: notification withCompletionHandler: completionHandler];
|
|
237
249
|
}
|
|
238
250
|
@catch(NSException *exception){
|
|
239
251
|
NSLog(@"RN-NotifyVisitors ERROR : %@", exception.reason);
|
|
@@ -265,7 +277,7 @@ NSLog(@"RN-NotifyVisitors PLUGIN VERSION : %@ !!", kNVPluginVersion);
|
|
|
265
277
|
+(void)application:(UIApplication *)application didReceiveRemoteNotification:(NSDictionary *)userInfo fetchCompletionHandler:(void (^)(UIBackgroundFetchResult))completionHandler {
|
|
266
278
|
NSLog(@"RN-NotifyVisitors : DID RECEIVE REMOTE NOTIFICATION !!");
|
|
267
279
|
@try{
|
|
268
|
-
[notifyvisitors didReceiveRemoteNotification:userInfo fetchCompletionHandler:completionHandler];
|
|
280
|
+
[notifyvisitors didReceiveRemoteNotification: userInfo fetchCompletionHandler: completionHandler];
|
|
269
281
|
}
|
|
270
282
|
@catch(NSException *exception){
|
|
271
283
|
NSLog(@"RN-NotifyVisitors ERROR : %@", exception.reason);
|
|
@@ -273,21 +285,6 @@ NSLog(@"RN-NotifyVisitors PLUGIN VERSION : %@ !!", kNVPluginVersion);
|
|
|
273
285
|
|
|
274
286
|
}
|
|
275
287
|
|
|
276
|
-
|
|
277
|
-
//Geofencing Methods
|
|
278
|
-
|
|
279
|
-
//+(void)NotifyVisitorsGeofencingReceivedNotificationWithApplication:(UIApplication *)application localNotification:(UILocalNotification *) notification{
|
|
280
|
-
// @try{
|
|
281
|
-
// NSLog(@"RN-NotifyVisitors : NOTIFYVISITORS GEOFENCING RECEIVED NOTIFICATION WITH APPLICATION !!");
|
|
282
|
-
// //[notifyvisitors NotifyVisitorsGeofencingReceivedNotificationWithApplication:application window:[UIApplication sharedApplication].keyWindow didReceiveGeofencingNotification:notification];
|
|
283
|
-
//
|
|
284
|
-
// }@catch(NSException *exception){
|
|
285
|
-
// NSLog(@"RN-NotifyVisitors ERROR : %@", exception.reason);
|
|
286
|
-
// }
|
|
287
|
-
//
|
|
288
|
-
//}
|
|
289
|
-
|
|
290
|
-
|
|
291
288
|
+(void)nvPushClickCheckInSeconds:(int)seconds withBlock: (nvPushClickCheckRepeatBlock) nvPushCheckBlock {
|
|
292
289
|
dispatch_after(dispatch_time(DISPATCH_TIME_NOW, seconds * NSEC_PER_SEC), dispatch_get_main_queue(), ^{
|
|
293
290
|
nvCheckPushClickTimeCounter = nvCheckPushClickTimeCounter + seconds;
|
|
@@ -317,5 +314,11 @@ NSLog(@"RN-NotifyVisitors PLUGIN VERSION : %@ !!", kNVPluginVersion);
|
|
|
317
314
|
});
|
|
318
315
|
}
|
|
319
316
|
|
|
317
|
+
-(void)nvTurnOffAutomaticScreenViewEventForFlutter {
|
|
318
|
+
NSUserDefaults *nvflutterCustomUserDefaults = [[NSUserDefaults alloc] initWithSuiteName: @"com.cp.plugin.notifyvisitors"];
|
|
319
|
+
[nvflutterCustomUserDefaults setBool: YES forKey: @"nv_isSDKRunningInCP"];
|
|
320
|
+
[nvflutterCustomUserDefaults synchronize];
|
|
321
|
+
}
|
|
322
|
+
|
|
320
323
|
@end
|
|
321
324
|
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
/* Begin PBXBuildFile section */
|
|
10
10
|
138AE09F22A7ACA600F403E1 /* RNNVExtensionService.m in Sources */ = {isa = PBXBuildFile; fileRef = 138AE09E22A7ACA600F403E1 /* RNNVExtensionService.m */; };
|
|
11
11
|
13B25F2D22BA35B000C4D0B7 /* RCTNVEventEmitter.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B25F2C22BA35B000C4D0B7 /* RCTNVEventEmitter.m */; };
|
|
12
|
-
|
|
12
|
+
352527672E019B11002B0622 /* notifyvisitors.xcframework in Frameworks */ = {isa = PBXBuildFile; fileRef = 352527662E019B11002B0622 /* notifyvisitors.xcframework */; };
|
|
13
13
|
B3E7B58A1CC2AC0600A0062D /* RNNotifyvisitors.m in Sources */ = {isa = PBXBuildFile; fileRef = B3E7B5891CC2AC0600A0062D /* RNNotifyvisitors.m */; };
|
|
14
14
|
DC31F4E523BC9CC900AAB2DB /* SystemConfiguration.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = DC31F4E423BC9CC900AAB2DB /* SystemConfiguration.framework */; };
|
|
15
15
|
/* End PBXBuildFile section */
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
138AE09E22A7ACA600F403E1 /* RNNVExtensionService.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RNNVExtensionService.m; sourceTree = "<group>"; };
|
|
33
33
|
13B25F2B22BA35B000C4D0B7 /* RCTNVEventEmitter.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = RCTNVEventEmitter.h; sourceTree = "<group>"; };
|
|
34
34
|
13B25F2C22BA35B000C4D0B7 /* RCTNVEventEmitter.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = RCTNVEventEmitter.m; sourceTree = "<group>"; };
|
|
35
|
-
|
|
35
|
+
352527662E019B11002B0622 /* notifyvisitors.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; path = notifyvisitors.xcframework; sourceTree = "<group>"; };
|
|
36
36
|
B3E7B5881CC2AC0600A0062D /* RNNotifyvisitors.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RNNotifyvisitors.h; sourceTree = "<group>"; };
|
|
37
37
|
B3E7B5891CC2AC0600A0062D /* RNNotifyvisitors.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RNNotifyvisitors.m; sourceTree = "<group>"; };
|
|
38
38
|
DC31F4E423BC9CC900AAB2DB /* SystemConfiguration.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = SystemConfiguration.framework; path = Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/SystemConfiguration.framework; sourceTree = DEVELOPER_DIR; };
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
buildActionMask = 2147483647;
|
|
45
45
|
files = (
|
|
46
46
|
DC31F4E523BC9CC900AAB2DB /* SystemConfiguration.framework in Frameworks */,
|
|
47
|
-
|
|
47
|
+
352527672E019B11002B0622 /* notifyvisitors.xcframework in Frameworks */,
|
|
48
48
|
);
|
|
49
49
|
runOnlyForDeploymentPostprocessing = 0;
|
|
50
50
|
};
|
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
58B511D21A9E6C8500147676 = {
|
|
63
63
|
isa = PBXGroup;
|
|
64
64
|
children = (
|
|
65
|
-
|
|
65
|
+
352527662E019B11002B0622 /* notifyvisitors.xcframework */,
|
|
66
66
|
DC4962D123BE131B005E63F5 /* RNNotifyvisitors */,
|
|
67
67
|
134814211AA4EA7D00B7C361 /* Products */,
|
|
68
68
|
DC31F4E323BC9CC900AAB2DB /* Frameworks */,
|
|
@@ -6,9 +6,9 @@
|
|
|
6
6
|
<array>
|
|
7
7
|
<dict>
|
|
8
8
|
<key>BinaryPath</key>
|
|
9
|
-
<string>notifyvisitors.framework/notifyvisitors</string>
|
|
9
|
+
<string>notifyvisitors.framework/Versions/A/notifyvisitors</string>
|
|
10
10
|
<key>LibraryIdentifier</key>
|
|
11
|
-
<string>ios-arm64_x86_64-
|
|
11
|
+
<string>ios-arm64_x86_64-maccatalyst</string>
|
|
12
12
|
<key>LibraryPath</key>
|
|
13
13
|
<string>notifyvisitors.framework</string>
|
|
14
14
|
<key>SupportedArchitectures</key>
|
|
@@ -19,13 +19,13 @@
|
|
|
19
19
|
<key>SupportedPlatform</key>
|
|
20
20
|
<string>ios</string>
|
|
21
21
|
<key>SupportedPlatformVariant</key>
|
|
22
|
-
<string>
|
|
22
|
+
<string>maccatalyst</string>
|
|
23
23
|
</dict>
|
|
24
24
|
<dict>
|
|
25
25
|
<key>BinaryPath</key>
|
|
26
|
-
<string>notifyvisitors.framework/
|
|
26
|
+
<string>notifyvisitors.framework/notifyvisitors</string>
|
|
27
27
|
<key>LibraryIdentifier</key>
|
|
28
|
-
<string>ios-arm64_x86_64-
|
|
28
|
+
<string>ios-arm64_x86_64-simulator</string>
|
|
29
29
|
<key>LibraryPath</key>
|
|
30
30
|
<string>notifyvisitors.framework</string>
|
|
31
31
|
<key>SupportedArchitectures</key>
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
<key>SupportedPlatform</key>
|
|
37
37
|
<string>ios</string>
|
|
38
38
|
<key>SupportedPlatformVariant</key>
|
|
39
|
-
<string>
|
|
39
|
+
<string>simulator</string>
|
|
40
40
|
</dict>
|
|
41
41
|
<dict>
|
|
42
42
|
<key>BinaryPath</key>
|
|
Binary file
|
package/ios/notifyvisitors.xcframework/ios-arm64/notifyvisitors.framework/Headers/notifyvisitors.h
CHANGED
|
@@ -82,7 +82,6 @@ typedef void(^nv_UID)(NSString *_Nullable);
|
|
|
82
82
|
|
|
83
83
|
#pragma mark - INITIAL INTEGRATION METHODS (INITIALIZE Notifyvisitors SDK and Basic Integration Methods)
|
|
84
84
|
|
|
85
|
-
//+(NVSDKCallbackUtils *_Nullable)nvRreturnSwiftClassInstance;
|
|
86
85
|
+(void)Initialize:(NSString *_Nullable)nvMode;
|
|
87
86
|
|
|
88
87
|
+(void)initializeWithBrandId:(NSInteger)brandID secretKey:(NSString *_Nullable)secretKey appMode:(NSString *_Nullable)nvMode launchingOptions:(NSDictionary *_Nullable)launchingOptions;
|
|
@@ -120,6 +119,8 @@ typedef void(^nv_UID)(NSString *_Nullable);
|
|
|
120
119
|
|
|
121
120
|
+(void)trackEvents:(NSString *_Nullable)event_name Attributes:(NSMutableDictionary *_Nullable)attributes lifetimeValue:(NSString *_Nullable)ltv Scope:(int)scope;
|
|
122
121
|
|
|
122
|
+
+(void)trackScreen:(NSString *_Nullable)screenName;
|
|
123
|
+
|
|
123
124
|
#pragma mark - USER TRACKING METHODS
|
|
124
125
|
|
|
125
126
|
+(void)UserIdentifier:(NSString *_Nullable) userID UserParams:(NSMutableDictionary *_Nullable) UserParams;
|
|
Binary file
|
|
@@ -6,15 +6,15 @@
|
|
|
6
6
|
<dict>
|
|
7
7
|
<key>Assets.car</key>
|
|
8
8
|
<data>
|
|
9
|
-
|
|
9
|
+
BqV1Z+DYrBBlVS+34+nyQzTaAI8=
|
|
10
10
|
</data>
|
|
11
11
|
<key>Headers/notifyvisitors.h</key>
|
|
12
12
|
<data>
|
|
13
|
-
|
|
13
|
+
Q/63KHXhLos4bTfN5trsOrD3Pug=
|
|
14
14
|
</data>
|
|
15
15
|
<key>Info.plist</key>
|
|
16
16
|
<data>
|
|
17
|
-
|
|
17
|
+
vIEI70IiruUFQXGmDSLCKN/5j0I=
|
|
18
18
|
</data>
|
|
19
19
|
<key>Modules/module.modulemap</key>
|
|
20
20
|
<data>
|
|
@@ -31,14 +31,14 @@
|
|
|
31
31
|
<dict>
|
|
32
32
|
<key>hash2</key>
|
|
33
33
|
<data>
|
|
34
|
-
|
|
34
|
+
JNKqyrEui/80nqiDIGTlghbmxv2UrEUPHK+Ps1v0HSU=
|
|
35
35
|
</data>
|
|
36
36
|
</dict>
|
|
37
37
|
<key>Headers/notifyvisitors.h</key>
|
|
38
38
|
<dict>
|
|
39
39
|
<key>hash2</key>
|
|
40
40
|
<data>
|
|
41
|
-
|
|
41
|
+
Oeyg+vp6JNxbo0xFTN7AemS3NrzYg3fFQZfw/DcADjk=
|
|
42
42
|
</data>
|
|
43
43
|
</dict>
|
|
44
44
|
<key>Modules/module.modulemap</key>
|
|
Binary file
|
|
@@ -82,7 +82,6 @@ typedef void(^nv_UID)(NSString *_Nullable);
|
|
|
82
82
|
|
|
83
83
|
#pragma mark - INITIAL INTEGRATION METHODS (INITIALIZE Notifyvisitors SDK and Basic Integration Methods)
|
|
84
84
|
|
|
85
|
-
//+(NVSDKCallbackUtils *_Nullable)nvRreturnSwiftClassInstance;
|
|
86
85
|
+(void)Initialize:(NSString *_Nullable)nvMode;
|
|
87
86
|
|
|
88
87
|
+(void)initializeWithBrandId:(NSInteger)brandID secretKey:(NSString *_Nullable)secretKey appMode:(NSString *_Nullable)nvMode launchingOptions:(NSDictionary *_Nullable)launchingOptions;
|
|
@@ -120,6 +119,8 @@ typedef void(^nv_UID)(NSString *_Nullable);
|
|
|
120
119
|
|
|
121
120
|
+(void)trackEvents:(NSString *_Nullable)event_name Attributes:(NSMutableDictionary *_Nullable)attributes lifetimeValue:(NSString *_Nullable)ltv Scope:(int)scope;
|
|
122
121
|
|
|
122
|
+
+(void)trackScreen:(NSString *_Nullable)screenName;
|
|
123
|
+
|
|
123
124
|
#pragma mark - USER TRACKING METHODS
|
|
124
125
|
|
|
125
126
|
+(void)UserIdentifier:(NSString *_Nullable) userID UserParams:(NSMutableDictionary *_Nullable) UserParams;
|
|
Binary file
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
<plist version="1.0">
|
|
4
4
|
<dict>
|
|
5
5
|
<key>BuildMachineOSBuild</key>
|
|
6
|
-
<string>
|
|
6
|
+
<string>23H626</string>
|
|
7
7
|
<key>CFBundleDevelopmentRegion</key>
|
|
8
8
|
<string>en</string>
|
|
9
9
|
<key>CFBundleExecutable</key>
|
|
@@ -17,29 +17,29 @@
|
|
|
17
17
|
<key>CFBundlePackageType</key>
|
|
18
18
|
<string>FMWK</string>
|
|
19
19
|
<key>CFBundleShortVersionString</key>
|
|
20
|
-
<string>7.
|
|
20
|
+
<string>7.3.1</string>
|
|
21
21
|
<key>CFBundleSupportedPlatforms</key>
|
|
22
22
|
<array>
|
|
23
23
|
<string>MacOSX</string>
|
|
24
24
|
</array>
|
|
25
25
|
<key>CFBundleVersion</key>
|
|
26
|
-
<string>7.
|
|
26
|
+
<string>7.3.1</string>
|
|
27
27
|
<key>DTCompiler</key>
|
|
28
28
|
<string>com.apple.compilers.llvm.clang.1_0</string>
|
|
29
29
|
<key>DTPlatformBuild</key>
|
|
30
|
-
<string
|
|
30
|
+
<string>24A336</string>
|
|
31
31
|
<key>DTPlatformName</key>
|
|
32
32
|
<string>macosx</string>
|
|
33
33
|
<key>DTPlatformVersion</key>
|
|
34
|
-
<string>
|
|
34
|
+
<string>15.0</string>
|
|
35
35
|
<key>DTSDKBuild</key>
|
|
36
|
-
<string>
|
|
36
|
+
<string>24A336</string>
|
|
37
37
|
<key>DTSDKName</key>
|
|
38
|
-
<string>
|
|
38
|
+
<string>macosx15.0</string>
|
|
39
39
|
<key>DTXcode</key>
|
|
40
|
-
<string>
|
|
40
|
+
<string>1600</string>
|
|
41
41
|
<key>DTXcodeBuild</key>
|
|
42
|
-
<string>
|
|
42
|
+
<string>16A242d</string>
|
|
43
43
|
<key>LSMinimumSystemVersion</key>
|
|
44
44
|
<string>10.15</string>
|
|
45
45
|
<key>UIDeviceFamily</key>
|
|
@@ -6,11 +6,11 @@
|
|
|
6
6
|
<dict>
|
|
7
7
|
<key>Resources/Assets.car</key>
|
|
8
8
|
<data>
|
|
9
|
-
|
|
9
|
+
b6D8i5nTYBBKp5ip3N+6HbnYzmM=
|
|
10
10
|
</data>
|
|
11
11
|
<key>Resources/Info.plist</key>
|
|
12
12
|
<data>
|
|
13
|
-
|
|
13
|
+
RmTURhZzBVJC4ijg3ubCNYzZ4xM=
|
|
14
14
|
</data>
|
|
15
15
|
<key>Resources/PrivacyInfo.xcprivacy</key>
|
|
16
16
|
<data>
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
<dict>
|
|
24
24
|
<key>hash2</key>
|
|
25
25
|
<data>
|
|
26
|
-
|
|
26
|
+
Oeyg+vp6JNxbo0xFTN7AemS3NrzYg3fFQZfw/DcADjk=
|
|
27
27
|
</data>
|
|
28
28
|
</dict>
|
|
29
29
|
<key>Modules/module.modulemap</key>
|
|
@@ -37,14 +37,14 @@
|
|
|
37
37
|
<dict>
|
|
38
38
|
<key>hash2</key>
|
|
39
39
|
<data>
|
|
40
|
-
|
|
40
|
+
/MIOOT4V/KOF7bhJBMG9RHcnF73yJALCJIPULYpzD24=
|
|
41
41
|
</data>
|
|
42
42
|
</dict>
|
|
43
43
|
<key>Resources/Info.plist</key>
|
|
44
44
|
<dict>
|
|
45
45
|
<key>hash2</key>
|
|
46
46
|
<data>
|
|
47
|
-
|
|
47
|
+
zGy3HTGlE+ta222G2SeS1BO6giAjwz+qj/fCzax9Nz4=
|
|
48
48
|
</data>
|
|
49
49
|
</dict>
|
|
50
50
|
<key>Resources/PrivacyInfo.xcprivacy</key>
|
|
Binary file
|
|
Binary file
|
|
@@ -82,7 +82,6 @@ typedef void(^nv_UID)(NSString *_Nullable);
|
|
|
82
82
|
|
|
83
83
|
#pragma mark - INITIAL INTEGRATION METHODS (INITIALIZE Notifyvisitors SDK and Basic Integration Methods)
|
|
84
84
|
|
|
85
|
-
//+(NVSDKCallbackUtils *_Nullable)nvRreturnSwiftClassInstance;
|
|
86
85
|
+(void)Initialize:(NSString *_Nullable)nvMode;
|
|
87
86
|
|
|
88
87
|
+(void)initializeWithBrandId:(NSInteger)brandID secretKey:(NSString *_Nullable)secretKey appMode:(NSString *_Nullable)nvMode launchingOptions:(NSDictionary *_Nullable)launchingOptions;
|
|
@@ -120,6 +119,8 @@ typedef void(^nv_UID)(NSString *_Nullable);
|
|
|
120
119
|
|
|
121
120
|
+(void)trackEvents:(NSString *_Nullable)event_name Attributes:(NSMutableDictionary *_Nullable)attributes lifetimeValue:(NSString *_Nullable)ltv Scope:(int)scope;
|
|
122
121
|
|
|
122
|
+
+(void)trackScreen:(NSString *_Nullable)screenName;
|
|
123
|
+
|
|
123
124
|
#pragma mark - USER TRACKING METHODS
|
|
124
125
|
|
|
125
126
|
+(void)UserIdentifier:(NSString *_Nullable) userID UserParams:(NSMutableDictionary *_Nullable) UserParams;
|
|
Binary file
|
|
@@ -6,15 +6,15 @@
|
|
|
6
6
|
<dict>
|
|
7
7
|
<key>Assets.car</key>
|
|
8
8
|
<data>
|
|
9
|
-
|
|
9
|
+
BqV1Z+DYrBBlVS+34+nyQzTaAI8=
|
|
10
10
|
</data>
|
|
11
11
|
<key>Headers/notifyvisitors.h</key>
|
|
12
12
|
<data>
|
|
13
|
-
|
|
13
|
+
Q/63KHXhLos4bTfN5trsOrD3Pug=
|
|
14
14
|
</data>
|
|
15
15
|
<key>Info.plist</key>
|
|
16
16
|
<data>
|
|
17
|
-
|
|
17
|
+
hXY2y1cfkZK3q2sy8A21HmXyjV8=
|
|
18
18
|
</data>
|
|
19
19
|
<key>Modules/module.modulemap</key>
|
|
20
20
|
<data>
|
|
@@ -31,14 +31,14 @@
|
|
|
31
31
|
<dict>
|
|
32
32
|
<key>hash2</key>
|
|
33
33
|
<data>
|
|
34
|
-
|
|
34
|
+
JNKqyrEui/80nqiDIGTlghbmxv2UrEUPHK+Ps1v0HSU=
|
|
35
35
|
</data>
|
|
36
36
|
</dict>
|
|
37
37
|
<key>Headers/notifyvisitors.h</key>
|
|
38
38
|
<dict>
|
|
39
39
|
<key>hash2</key>
|
|
40
40
|
<data>
|
|
41
|
-
|
|
41
|
+
Oeyg+vp6JNxbo0xFTN7AemS3NrzYg3fFQZfw/DcADjk=
|
|
42
42
|
</data>
|
|
43
43
|
</dict>
|
|
44
44
|
<key>Modules/module.modulemap</key>
|
|
Binary file
|
package/package.json
CHANGED