react-native-notifyvisitors 4.4.3 → 4.5.0

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.
Files changed (25) hide show
  1. package/android/build.gradle +4 -3
  2. package/android/src/main/AndroidManifest.xml +1 -0
  3. package/android/src/main/java/com/rn_notifyvisitors/RNNotifyvisitorsModule.java +18 -1
  4. package/index.d.ts +5 -0
  5. package/index.js +12 -0
  6. package/ios/RNNotifyvisitors/RCTNVEventEmitter.m +27 -12
  7. package/ios/RNNotifyvisitors/RNNotifyvisitors.m +3 -19
  8. package/ios/RNNotifyvisitors.xcodeproj/project.pbxproj +4 -4
  9. package/ios/notifyvisitors.xcframework/ios-arm64/notifyvisitors.framework/Assets.car +0 -0
  10. package/ios/notifyvisitors.xcframework/ios-arm64/notifyvisitors.framework/Headers/notifyvisitors.h +2 -0
  11. package/ios/notifyvisitors.xcframework/ios-arm64/notifyvisitors.framework/Info.plist +0 -0
  12. package/ios/notifyvisitors.xcframework/ios-arm64/notifyvisitors.framework/_CodeSignature/CodeResources +5 -5
  13. package/ios/notifyvisitors.xcframework/ios-arm64/notifyvisitors.framework/notifyvisitors +0 -0
  14. package/ios/notifyvisitors.xcframework/ios-arm64_x86_64-maccatalyst/notifyvisitors.framework/Versions/A/Headers/notifyvisitors.h +2 -0
  15. package/ios/notifyvisitors.xcframework/ios-arm64_x86_64-maccatalyst/notifyvisitors.framework/Versions/A/Resources/Assets.car +0 -0
  16. package/ios/notifyvisitors.xcframework/ios-arm64_x86_64-maccatalyst/notifyvisitors.framework/Versions/A/Resources/Info.plist +9 -9
  17. package/ios/notifyvisitors.xcframework/ios-arm64_x86_64-maccatalyst/notifyvisitors.framework/Versions/A/_CodeSignature/CodeResources +5 -5
  18. package/ios/notifyvisitors.xcframework/ios-arm64_x86_64-maccatalyst/notifyvisitors.framework/Versions/A/notifyvisitors +0 -0
  19. package/ios/notifyvisitors.xcframework/ios-arm64_x86_64-simulator/notifyvisitors.framework/Assets.car +0 -0
  20. package/ios/notifyvisitors.xcframework/ios-arm64_x86_64-simulator/notifyvisitors.framework/Headers/notifyvisitors.h +2 -0
  21. package/ios/notifyvisitors.xcframework/ios-arm64_x86_64-simulator/notifyvisitors.framework/Info.plist +0 -0
  22. package/ios/notifyvisitors.xcframework/ios-arm64_x86_64-simulator/notifyvisitors.framework/_CodeSignature/CodeResources +5 -5
  23. package/ios/notifyvisitors.xcframework/ios-arm64_x86_64-simulator/notifyvisitors.framework/notifyvisitors +0 -0
  24. package/package.json +1 -1
  25. package/react-native-notifyvisitors.podspec +1 -1
@@ -12,11 +12,12 @@ buildscript {
12
12
  }
13
13
 
14
14
  android {
15
- compileSdk safeExtGet('compileSdk', 33)
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', 33)
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.4.11') {
38
+ implementation('com.notifyvisitors.notifyvisitors:notifyvisitors:v5.5.0') {
38
39
  exclude group: 'com.google.firebase', module: 'firebase-core'
39
40
  }
40
41
  implementation platform('com.google.firebase:firebase-bom:30.3.1')
@@ -20,5 +20,6 @@
20
20
  <action android:name="com.google.firebase.MESSAGING_EVENT" />
21
21
  </intent-filter>
22
22
  </service>
23
+ <meta-data android:name="notifyvisitors_analytics_automatic_screen_tracking_enabled" android:value="false" />
23
24
  </application>
24
25
  </manifest>
@@ -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.4.3";
52
+ private static final String PLUGIN_VERSION = "4.5.0";
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
@@ -481,6 +481,18 @@ export default class Notifyvisitors {
481
481
  console.log(e);
482
482
  }
483
483
  }
484
+
485
+ /* - Trck Screen */
486
+ static trackScreen(screenName) {
487
+ console.log("NV- Track Screen !!");
488
+ try {
489
+ RNNotifyvisitors.trackScreen(
490
+ screenName
491
+ );
492
+ } catch (e) {
493
+ console.log(e);
494
+ }
495
+ }
484
496
  }
485
497
 
486
498
  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:@{@"data": nvJsonString}];
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.4.3";
26
+ static NSString *const kNVPluginVersion = @"4.5.0";
27
27
 
28
28
  - (dispatch_queue_t)methodQueue{
29
29
  return dispatch_get_main_queue();
@@ -58,7 +58,7 @@ NSLog(@"RN-NotifyVisitors PLUGIN VERSION : %@ !!", kNVPluginVersion);
58
58
 
59
59
  }
60
60
 
61
- +(void)applicationDidEnterBackground:(UIApplication *)application{
61
+ +(void)applicationDidEnterBackground:(UIApplication *)application {
62
62
  @try{
63
63
  NSLog(@"RN-NotifyVisitors : APPLICATION DID ENTER BACKGROUND !!");
64
64
  [notifyvisitors applicationDidEnterBackground: application];
@@ -233,7 +233,6 @@ NSLog(@"RN-NotifyVisitors PLUGIN VERSION : %@ !!", kNVPluginVersion);
233
233
  NSLog(@"RN-NotifyVisitors : WILL PRESENT NOTIFICATION !!");
234
234
  @try{
235
235
  [notifyvisitors willPresentNotification: notification withCompletionHandler: completionHandler];
236
- [notifyvisitors willPresentNotification: notification withCompletionHandler: completionHandler];
237
236
  }
238
237
  @catch(NSException *exception){
239
238
  NSLog(@"RN-NotifyVisitors ERROR : %@", exception.reason);
@@ -265,7 +264,7 @@ NSLog(@"RN-NotifyVisitors PLUGIN VERSION : %@ !!", kNVPluginVersion);
265
264
  +(void)application:(UIApplication *)application didReceiveRemoteNotification:(NSDictionary *)userInfo fetchCompletionHandler:(void (^)(UIBackgroundFetchResult))completionHandler {
266
265
  NSLog(@"RN-NotifyVisitors : DID RECEIVE REMOTE NOTIFICATION !!");
267
266
  @try{
268
- [notifyvisitors didReceiveRemoteNotification:userInfo fetchCompletionHandler:completionHandler];
267
+ [notifyvisitors didReceiveRemoteNotification: userInfo fetchCompletionHandler: completionHandler];
269
268
  }
270
269
  @catch(NSException *exception){
271
270
  NSLog(@"RN-NotifyVisitors ERROR : %@", exception.reason);
@@ -273,21 +272,6 @@ NSLog(@"RN-NotifyVisitors PLUGIN VERSION : %@ !!", kNVPluginVersion);
273
272
 
274
273
  }
275
274
 
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
275
  +(void)nvPushClickCheckInSeconds:(int)seconds withBlock: (nvPushClickCheckRepeatBlock) nvPushCheckBlock {
292
276
  dispatch_after(dispatch_time(DISPATCH_TIME_NOW, seconds * NSEC_PER_SEC), dispatch_get_main_queue(), ^{
293
277
  nvCheckPushClickTimeCounter = nvCheckPushClickTimeCounter + seconds;
@@ -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
- 35E440C82D759ECC001BC654 /* notifyvisitors.xcframework in Frameworks */ = {isa = PBXBuildFile; fileRef = 35E440C72D759ECC001BC654 /* notifyvisitors.xcframework */; };
12
+ 3567AE9F2DCE2A9000E622AE /* notifyvisitors.xcframework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3567AE9E2DCE2A9000E622AE /* 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
- 35E440C72D759ECC001BC654 /* notifyvisitors.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; path = notifyvisitors.xcframework; sourceTree = "<group>"; };
35
+ 3567AE9E2DCE2A9000E622AE /* 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
- 35E440C82D759ECC001BC654 /* notifyvisitors.xcframework in Frameworks */,
47
+ 3567AE9F2DCE2A9000E622AE /* 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
- 35E440C72D759ECC001BC654 /* notifyvisitors.xcframework */,
65
+ 3567AE9E2DCE2A9000E622AE /* notifyvisitors.xcframework */,
66
66
  DC4962D123BE131B005E63F5 /* RNNotifyvisitors */,
67
67
  134814211AA4EA7D00B7C361 /* Products */,
68
68
  DC31F4E323BC9CC900AAB2DB /* Frameworks */,
@@ -120,6 +120,8 @@ typedef void(^nv_UID)(NSString *_Nullable);
120
120
 
121
121
  +(void)trackEvents:(NSString *_Nullable)event_name Attributes:(NSMutableDictionary *_Nullable)attributes lifetimeValue:(NSString *_Nullable)ltv Scope:(int)scope;
122
122
 
123
+ +(void)trackScreen:(NSString *_Nullable)screenName;
124
+
123
125
  #pragma mark - USER TRACKING METHODS
124
126
 
125
127
  +(void)UserIdentifier:(NSString *_Nullable) userID UserParams:(NSMutableDictionary *_Nullable) UserParams;
@@ -6,15 +6,15 @@
6
6
  <dict>
7
7
  <key>Assets.car</key>
8
8
  <data>
9
- WVyGFpgJlsYrwxcO7rXrUjGXr3A=
9
+ BqV1Z+DYrBBlVS+34+nyQzTaAI8=
10
10
  </data>
11
11
  <key>Headers/notifyvisitors.h</key>
12
12
  <data>
13
- 03UVUk5KiH6D6nnKOKqTgm3Awxk=
13
+ yyx5bFK3Zdjvz47sjJwhG67++Ao=
14
14
  </data>
15
15
  <key>Info.plist</key>
16
16
  <data>
17
- 0+AMc+2+6zdXcR1HBRqvp3zHbf0=
17
+ Luhr6Y0jZjD4JP3kr8nlQk9WnkM=
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
- qAm5e/6mI+D84XOj0vm0Mhbcbk3e2q2XNs+YXjDKX68=
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
- pqIR+VtayCbyCvNpDU3x2kKsLc2KkFGS6qcRTXqALXE=
41
+ zN69qoD1N6vPaXw0hbW+ly7+L5WJGIkaNTN0b+pCTbQ=
42
42
  </data>
43
43
  </dict>
44
44
  <key>Modules/module.modulemap</key>
@@ -120,6 +120,8 @@ typedef void(^nv_UID)(NSString *_Nullable);
120
120
 
121
121
  +(void)trackEvents:(NSString *_Nullable)event_name Attributes:(NSMutableDictionary *_Nullable)attributes lifetimeValue:(NSString *_Nullable)ltv Scope:(int)scope;
122
122
 
123
+ +(void)trackScreen:(NSString *_Nullable)screenName;
124
+
123
125
  #pragma mark - USER TRACKING METHODS
124
126
 
125
127
  +(void)UserIdentifier:(NSString *_Nullable) userID UserParams:(NSMutableDictionary *_Nullable) UserParams;
@@ -3,7 +3,7 @@
3
3
  <plist version="1.0">
4
4
  <dict>
5
5
  <key>BuildMachineOSBuild</key>
6
- <string>22H313</string>
6
+ <string>23H527</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.2.0</string>
20
+ <string>7.3.0</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.2.0</string>
26
+ <string>7.3.0</string>
27
27
  <key>DTCompiler</key>
28
28
  <string>com.apple.compilers.llvm.clang.1_0</string>
29
29
  <key>DTPlatformBuild</key>
30
- <string></string>
30
+ <string>24A336</string>
31
31
  <key>DTPlatformName</key>
32
32
  <string>macosx</string>
33
33
  <key>DTPlatformVersion</key>
34
- <string>14.2</string>
34
+ <string>15.0</string>
35
35
  <key>DTSDKBuild</key>
36
- <string>23C53</string>
36
+ <string>24A336</string>
37
37
  <key>DTSDKName</key>
38
- <string>macosx14.2</string>
38
+ <string>macosx15.0</string>
39
39
  <key>DTXcode</key>
40
- <string>1520</string>
40
+ <string>1600</string>
41
41
  <key>DTXcodeBuild</key>
42
- <string>15C500b</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
- aRivSVwfHfHG6uCWNkoM4CUeSu8=
9
+ DKvKw+KOoP+BuCaxVR2CCDqYwLg=
10
10
  </data>
11
11
  <key>Resources/Info.plist</key>
12
12
  <data>
13
- GBeoyLgvM3Zc/+U7kJfq4K2qbNs=
13
+ vWXhao0Kc8F6tDsWG/QxbzTjKHY=
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
- pqIR+VtayCbyCvNpDU3x2kKsLc2KkFGS6qcRTXqALXE=
26
+ zN69qoD1N6vPaXw0hbW+ly7+L5WJGIkaNTN0b+pCTbQ=
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
- OxJtHGqs/9nQ5ac+ZaD9HJbAqSFCN/0Z8TQZEVKBNUo=
40
+ qxSUb7UhK6CS7afqwxclISE6BFCU7KDEKZoe3fIeI/8=
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
- QUxMhx9UrFY/Q7+g1L6xvBmXcPQlcGOaFom2aT8bjV8=
47
+ yH31exFnY0aGzcyF1NYH/GejxTuw+hbNskhl318ZvK4=
48
48
  </data>
49
49
  </dict>
50
50
  <key>Resources/PrivacyInfo.xcprivacy</key>
@@ -120,6 +120,8 @@ typedef void(^nv_UID)(NSString *_Nullable);
120
120
 
121
121
  +(void)trackEvents:(NSString *_Nullable)event_name Attributes:(NSMutableDictionary *_Nullable)attributes lifetimeValue:(NSString *_Nullable)ltv Scope:(int)scope;
122
122
 
123
+ +(void)trackScreen:(NSString *_Nullable)screenName;
124
+
123
125
  #pragma mark - USER TRACKING METHODS
124
126
 
125
127
  +(void)UserIdentifier:(NSString *_Nullable) userID UserParams:(NSMutableDictionary *_Nullable) UserParams;
@@ -6,15 +6,15 @@
6
6
  <dict>
7
7
  <key>Assets.car</key>
8
8
  <data>
9
- WVyGFpgJlsYrwxcO7rXrUjGXr3A=
9
+ BqV1Z+DYrBBlVS+34+nyQzTaAI8=
10
10
  </data>
11
11
  <key>Headers/notifyvisitors.h</key>
12
12
  <data>
13
- 03UVUk5KiH6D6nnKOKqTgm3Awxk=
13
+ yyx5bFK3Zdjvz47sjJwhG67++Ao=
14
14
  </data>
15
15
  <key>Info.plist</key>
16
16
  <data>
17
- zQ40hiOA7vpnEg/Jod4eoIbCUeo=
17
+ 97aWrkNud7qysJP8Jv8OLpO927c=
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
- qAm5e/6mI+D84XOj0vm0Mhbcbk3e2q2XNs+YXjDKX68=
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
- pqIR+VtayCbyCvNpDU3x2kKsLc2KkFGS6qcRTXqALXE=
41
+ zN69qoD1N6vPaXw0hbW+ly7+L5WJGIkaNTN0b+pCTbQ=
42
42
  </data>
43
43
  </dict>
44
44
  <key>Modules/module.modulemap</key>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-notifyvisitors",
3
- "version": "4.4.3",
3
+ "version": "4.5.0",
4
4
  "description": "React Native Notifyvisitors SDK for push notifications and surveys",
5
5
  "main": "index",
6
6
  "scripts": {
@@ -23,5 +23,5 @@ Pod::Spec.new do |s|
23
23
  # pod 'React', :path => '../node_modules/react-native/'
24
24
 
25
25
  # The Native Notifyvisitors-iOS-SDK from cocoapods.
26
- s.dependency 'notifyvisitors', '7.2.0'
26
+ s.dependency 'notifyvisitors', '7.3.0'
27
27
  end