react-native-notifyvisitors 4.4.0 → 4.4.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.
Files changed (40) hide show
  1. package/android/.classpath +6 -0
  2. package/android/.project +34 -0
  3. package/android/.settings/org.eclipse.buildship.core.prefs +3 -3
  4. package/android/.settings/org.eclipse.jdt.core.prefs +4 -0
  5. package/android/bin/.project +34 -0
  6. package/android/bin/.settings/org.eclipse.buildship.core.prefs +13 -0
  7. package/android/bin/build.gradle +45 -0
  8. package/android/bin/src/main/AndroidManifest.xml +24 -0
  9. package/android/bin/src/main/java/com/rn_notifyvisitors/RNNotifyvisitorsModule.class +0 -0
  10. package/android/bin/src/main/java/com/rn_notifyvisitors/RNNotifyvisitorsPackage.class +0 -0
  11. package/android/bin/src/main/res/values/strings.xml +3 -0
  12. package/android/build.gradle +4 -3
  13. package/android/src/main/AndroidManifest.xml +2 -1
  14. package/android/src/main/java/com/rn_notifyvisitors/RNNotifyvisitorsModule.java +384 -20
  15. package/index.d.ts +65 -29
  16. package/index.js +76 -2
  17. package/ios/RNNotifyvisitors/RCTNVEventEmitter.m +360 -339
  18. package/ios/RNNotifyvisitors/RNNotifyvisitors.h +10 -7
  19. package/ios/RNNotifyvisitors/RNNotifyvisitors.m +35 -1
  20. package/ios/RNNotifyvisitors.xcodeproj/project.pbxproj +4 -4
  21. package/ios/notifyvisitors.xcframework/ios-arm64/notifyvisitors.framework/Assets.car +0 -0
  22. package/ios/notifyvisitors.xcframework/ios-arm64/notifyvisitors.framework/Headers/notifyvisitors.h +3 -0
  23. package/ios/notifyvisitors.xcframework/ios-arm64/notifyvisitors.framework/Info.plist +0 -0
  24. package/ios/notifyvisitors.xcframework/ios-arm64/notifyvisitors.framework/PrivacyInfo.xcprivacy +61 -0
  25. package/ios/notifyvisitors.xcframework/ios-arm64/notifyvisitors.framework/_CodeSignature/CodeResources +16 -5
  26. package/ios/notifyvisitors.xcframework/ios-arm64/notifyvisitors.framework/notifyvisitors +0 -0
  27. package/ios/notifyvisitors.xcframework/ios-arm64_x86_64-maccatalyst/notifyvisitors.framework/Versions/A/Headers/notifyvisitors.h +3 -0
  28. package/ios/notifyvisitors.xcframework/ios-arm64_x86_64-maccatalyst/notifyvisitors.framework/Versions/A/Resources/Assets.car +0 -0
  29. package/ios/notifyvisitors.xcframework/ios-arm64_x86_64-maccatalyst/notifyvisitors.framework/Versions/A/Resources/Info.plist +5 -5
  30. package/ios/notifyvisitors.xcframework/ios-arm64_x86_64-maccatalyst/notifyvisitors.framework/Versions/A/Resources/PrivacyInfo.xcprivacy +61 -0
  31. package/ios/notifyvisitors.xcframework/ios-arm64_x86_64-maccatalyst/notifyvisitors.framework/Versions/A/_CodeSignature/CodeResources +16 -5
  32. package/ios/notifyvisitors.xcframework/ios-arm64_x86_64-maccatalyst/notifyvisitors.framework/Versions/A/notifyvisitors +0 -0
  33. package/ios/notifyvisitors.xcframework/ios-arm64_x86_64-simulator/notifyvisitors.framework/Assets.car +0 -0
  34. package/ios/notifyvisitors.xcframework/ios-arm64_x86_64-simulator/notifyvisitors.framework/Headers/notifyvisitors.h +3 -0
  35. package/ios/notifyvisitors.xcframework/ios-arm64_x86_64-simulator/notifyvisitors.framework/Info.plist +0 -0
  36. package/ios/notifyvisitors.xcframework/ios-arm64_x86_64-simulator/notifyvisitors.framework/PrivacyInfo.xcprivacy +61 -0
  37. package/ios/notifyvisitors.xcframework/ios-arm64_x86_64-simulator/notifyvisitors.framework/_CodeSignature/CodeResources +16 -5
  38. package/ios/notifyvisitors.xcframework/ios-arm64_x86_64-simulator/notifyvisitors.framework/notifyvisitors +0 -0
  39. package/package.json +1 -1
  40. package/react-native-notifyvisitors.podspec +1 -1
@@ -16,8 +16,12 @@ extern BOOL nvPushObserverReady;
16
16
  @interface RNNotifyvisitors : NSObject <UNUserNotificationCenterDelegate>
17
17
 
18
18
  // SDK initialization
19
+
20
+ +(void)initializeWithBrandId:(NSInteger)brandID secretKey:(NSString *_Nullable)secretKey launchingOptions:(NSDictionary *_Nullable)launchingOptions;
21
+
19
22
  +(void)Initialize;
20
23
 
24
+
21
25
  +(void)applicationDidEnterBackground:(UIApplication *_Nullable)application;
22
26
  +(void)sceneDidEnterBackground:(UIScene *_Nullable)scene API_AVAILABLE(ios(13.0));
23
27
 
@@ -40,6 +44,11 @@ extern BOOL nvPushObserverReady;
40
44
 
41
45
  +(void)scene:(UIScene *_Nullable)scene willConnectToSession:(UISceneSession *_Nullable)session options:(UISceneConnectionOptions *_Nullable)connectionOptions API_AVAILABLE(ios(13.0));
42
46
 
47
+ //Universal link Handler functions
48
+
49
+ +(void)continueUserActivityWith:(NSUserActivity*_Nullable)userActivity;
50
+ +(void)scene:(UIScene *_Nullable)scene continueUserActivity:(NSUserActivity *_Nullable)userActivity API_AVAILABLE(ios(13.0));
51
+
43
52
 
44
53
  // Push notification registration
45
54
 
@@ -48,23 +57,17 @@ extern BOOL nvPushObserverReady;
48
57
  +(void)application:(UIApplication *_Nullable)application didRegisterForRemoteNotificationsWithDeviceToken:(NSData *_Nullable)deviceToken;
49
58
 
50
59
  +(void)application:(UIApplication *_Nullable)application didFailToRegisterForRemoteNotificationsWithError:(NSError *_Nullable)error;
51
-
52
60
 
53
61
 
54
62
  // Push Notifications Click Handler functions
63
+
55
64
  +(void)application:(UIApplication *_Nullable)application didReceiveRemoteNotification:(NSDictionary *_Nullable)userInfo;
56
65
 
57
66
  +(void)application:(UIApplication *_Nullable)application didReceiveRemoteNotification:(NSDictionary *_Nullable)userInfo fetchCompletionHandler:(void (^_Nullable)(UIBackgroundFetchResult))completionHandler;
58
67
 
59
- // ios 10 push methods
60
68
  +(void)willPresentNotification:(UNNotification *_Nullable)notification withCompletionHandler:(void (^_Nullable)(UNNotificationPresentationOptions options))completionHandler API_AVAILABLE(ios(10.0));
61
69
 
62
70
  +(void)didReceiveNotificationResponse:(UNNotificationResponse *_Nullable)response API_AVAILABLE(ios(10.0));
63
71
 
64
-
65
-
66
- //+(void)NotifyVisitorsGeofencingReceivedNotificationWithApplication:(UIApplication *_Nullable)application localNotification:(UILocalNotification *_Nullable) notification;
67
-
68
-
69
72
  @end
70
73
 
@@ -23,6 +23,8 @@ int nvCheckPushClickTimeCounter = 0;
23
23
 
24
24
  @implementation RNNotifyvisitors
25
25
 
26
+ static NSString *const kNVPluginVersion = @"4.4.2";
27
+
26
28
  - (dispatch_queue_t)methodQueue{
27
29
  return dispatch_get_main_queue();
28
30
  }
@@ -30,9 +32,22 @@ int nvCheckPushClickTimeCounter = 0;
30
32
 
31
33
  //app delegate methods
32
34
 
35
+ +(void)initializeWithBrandId:(NSInteger)brandID secretKey:(NSString *)secretKey launchingOptions:(NSDictionary *)launchingOptions {
36
+
37
+ NSLog(@"RN-NotifyVisitors : INITIALIZE WITH BRANDID SECRETKEY & LAUNCHING-OPTIONS !!");
38
+ NSLog(@"RN-NotifyVisitors PLUGIN VERSION : %@ !!", kNVPluginVersion);
39
+ NSString *nvMode = nil;
40
+ #if DEBUG
41
+ nvMode = @"debug";
42
+ #else
43
+ nvMode = @"live";
44
+ #endif
45
+ [notifyvisitors initializeWithBrandId: brandID secretKey: secretKey appMode: nvMode launchingOptions: launchingOptions];
46
+ }
47
+
33
48
  +(void)Initialize{
34
49
  NSLog(@"RN-NotifyVisitors : INITIALIZE !!");
35
- NSLog(@"RN-NotifyVisitors PLUGIN VERSION : 4.4.0 !!");
50
+ NSLog(@"RN-NotifyVisitors PLUGIN VERSION : %@ !!", kNVPluginVersion);
36
51
  NSString *nvMode = nil;
37
52
  #if DEBUG
38
53
  nvMode = @"debug";
@@ -150,6 +165,25 @@ int nvCheckPushClickTimeCounter = 0;
150
165
  }
151
166
  }
152
167
 
168
+ + (void)continueUserActivityWith:(NSUserActivity *)userActivity {
169
+ NSLog(@"RN-NotifyVisitors : CONTINUE USER ACTIVITY !!");
170
+ @try{
171
+ [notifyvisitors continueUserActivityWith: userActivity];
172
+ }
173
+ @catch(NSException *exception){
174
+ NSLog(@"RN-NotifyVisitors ERROR : %@", exception.reason);
175
+ }
176
+ }
177
+
178
+ +(void)scene:(UIScene *)scene continueUserActivity:(NSUserActivity *)userActivity {
179
+ NSLog(@"RN-NotifyVisitors : SCENE CONTINUE USER ACTIVITY !!");
180
+ @try{
181
+ [notifyvisitors scene: scene continueUserActivity: userActivity];
182
+ }
183
+ @catch(NSException *exception){
184
+ NSLog(@"RN-NotifyVisitors ERROR : %@", exception.reason);
185
+ }
186
+ }
153
187
 
154
188
  +(void)RegisterPushWithDelegate:(id _Nullable)delegate App:(UIApplication * _Nullable)application launchOptions:(NSDictionary *_Nullable)launchOptions{
155
189
  NSLog(@"RN-NotifyVisitors : REGISTER PUSH WITH DELEGATE !!");
@@ -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
- 355BE7A72BCFAA2500CE1D58 /* notifyvisitors.xcframework in Frameworks */ = {isa = PBXBuildFile; fileRef = 355BE7A62BCFAA2500CE1D58 /* notifyvisitors.xcframework */; };
12
+ 357B445E2CDF3E21009884C2 /* notifyvisitors.xcframework in Frameworks */ = {isa = PBXBuildFile; fileRef = 357B445D2CDF3E21009884C2 /* 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
- 355BE7A62BCFAA2500CE1D58 /* notifyvisitors.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; path = notifyvisitors.xcframework; sourceTree = "<group>"; };
35
+ 357B445D2CDF3E21009884C2 /* 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
- 355BE7A72BCFAA2500CE1D58 /* notifyvisitors.xcframework in Frameworks */,
47
+ 357B445E2CDF3E21009884C2 /* 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
- 355BE7A62BCFAA2500CE1D58 /* notifyvisitors.xcframework */,
65
+ 357B445D2CDF3E21009884C2 /* notifyvisitors.xcframework */,
66
66
  DC4962D123BE131B005E63F5 /* RNNotifyvisitors */,
67
67
  134814211AA4EA7D00B7C361 /* Products */,
68
68
  DC31F4E323BC9CC900AAB2DB /* Frameworks */,
@@ -97,6 +97,9 @@ typedef void(^nv_UID)(NSString *_Nullable);
97
97
  +(void)trackEvents:(NSString *_Nullable)event_name Attributes:(NSMutableDictionary *_Nullable)attributes lifetimeValue:(NSString *_Nullable)ltv Scope:(int)scope;
98
98
 
99
99
  +(void)UserIdentifier:(NSString *_Nullable) userID UserParams:(NSMutableDictionary *_Nullable) UserParams;
100
+
101
+ +(void)userIdentifierWithUserParams:(NSDictionary *_Nullable)userParams;
102
+
100
103
  +(void)getNvUid:(nv_UID _Nullable)nvUID;
101
104
 
102
105
  +(void)Show:(NSMutableDictionary *_Nullable)UserTokens CustomRule:(NSMutableDictionary *_Nullable)customRule;
@@ -0,0 +1,61 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
+ <plist version="1.0">
4
+ <dict>
5
+ <key>NSPrivacyCollectedDataTypes</key>
6
+ <array>
7
+ <dict>
8
+ <key>NSPrivacyCollectedDataType</key>
9
+ <string>NSPrivacyCollectedDataTypeUserID</string>
10
+ <key>NSPrivacyCollectedDataTypeLinked</key>
11
+ <true/>
12
+ <key>NSPrivacyCollectedDataTypeTracking</key>
13
+ <false/>
14
+ <key>NSPrivacyCollectedDataTypePurposes</key>
15
+ <array>
16
+ <string>NSPrivacyCollectedDataTypePurposeAppFunctionality</string>
17
+ <string>NSPrivacyCollectedDataTypePurposeProductPersonalization</string>
18
+ </array>
19
+ </dict>
20
+ <dict>
21
+ <key>NSPrivacyCollectedDataType</key>
22
+ <string>NSPrivacyCollectedDataTypeProductInteraction</string>
23
+ <key>NSPrivacyCollectedDataTypeLinked</key>
24
+ <true/>
25
+ <key>NSPrivacyCollectedDataTypeTracking</key>
26
+ <false/>
27
+ <key>NSPrivacyCollectedDataTypePurposes</key>
28
+ <array>
29
+ <string>NSPrivacyCollectedDataTypePurposeAnalytics</string>
30
+ <string>NSPrivacyCollectedDataTypePurposeProductPersonalization</string>
31
+ </array>
32
+ </dict>
33
+ <dict>
34
+ <key>NSPrivacyCollectedDataType</key>
35
+ <string>NSPrivacyCollectedDataTypeDeviceID</string>
36
+ <key>NSPrivacyCollectedDataTypeLinked</key>
37
+ <true/>
38
+ <key>NSPrivacyCollectedDataTypeTracking</key>
39
+ <false/>
40
+ <key>NSPrivacyCollectedDataTypePurposes</key>
41
+ <array>
42
+ <string>NSPrivacyCollectedDataTypePurposeAppFunctionality</string>
43
+ <string>NSPrivacyCollectedDataTypePurposeProductPersonalization</string>
44
+ </array>
45
+ </dict>
46
+ </array>
47
+ <key>NSPrivacyTracking</key>
48
+ <false/>
49
+ <key>NSPrivacyAccessedAPITypes</key>
50
+ <array>
51
+ <dict>
52
+ <key>NSPrivacyAccessedAPIType</key>
53
+ <string>NSPrivacyAccessedAPICategoryUserDefaults</string>
54
+ <key>NSPrivacyAccessedAPITypeReasons</key>
55
+ <array>
56
+ <string>CA92.1</string>
57
+ </array>
58
+ </dict>
59
+ </array>
60
+ </dict>
61
+ </plist>
@@ -6,20 +6,24 @@
6
6
  <dict>
7
7
  <key>Assets.car</key>
8
8
  <data>
9
- FhgHeorOxshqaSkkpqWpnShSQf0=
9
+ WVyGFpgJlsYrwxcO7rXrUjGXr3A=
10
10
  </data>
11
11
  <key>Headers/notifyvisitors.h</key>
12
12
  <data>
13
- vFyxc/BjaXYc6xoIBqWZHZCjdwA=
13
+ p3eioCT8Nm0GMfWg25zRELIrzA4=
14
14
  </data>
15
15
  <key>Info.plist</key>
16
16
  <data>
17
- UJo7pppovYt4X4zx3wgIFxnzKI4=
17
+ IlznO/Ah5zTywYVFRDAyQ2MsII4=
18
18
  </data>
19
19
  <key>Modules/module.modulemap</key>
20
20
  <data>
21
21
  yFbjB1gVf2vU4Y8gQYcxK+3+nC0=
22
22
  </data>
23
+ <key>PrivacyInfo.xcprivacy</key>
24
+ <data>
25
+ u24A9ubHMBWN/9Tt/I7O4HNbiig=
26
+ </data>
23
27
  </dict>
24
28
  <key>files2</key>
25
29
  <dict>
@@ -27,14 +31,14 @@
27
31
  <dict>
28
32
  <key>hash2</key>
29
33
  <data>
30
- YaIAqXfYNg3wQcr64uYLZkhIiXmzCCfPTc56biwpn7o=
34
+ qAm5e/6mI+D84XOj0vm0Mhbcbk3e2q2XNs+YXjDKX68=
31
35
  </data>
32
36
  </dict>
33
37
  <key>Headers/notifyvisitors.h</key>
34
38
  <dict>
35
39
  <key>hash2</key>
36
40
  <data>
37
- v0w3U/I0tbvxSSQWcCBAIhg96i4cM9/4UdAChoDsmRk=
41
+ Ce/mTFqX1faWqM8eY5sS9K4KyDlCe0GWyxGIF0GsEUE=
38
42
  </data>
39
43
  </dict>
40
44
  <key>Modules/module.modulemap</key>
@@ -44,6 +48,13 @@
44
48
  0id7bPTigY+L+zqPmId0zsdS6sHQmuq96L2l5pEpRIo=
45
49
  </data>
46
50
  </dict>
51
+ <key>PrivacyInfo.xcprivacy</key>
52
+ <dict>
53
+ <key>hash2</key>
54
+ <data>
55
+ J4JIEHuRJMEpT/iC569ut4yLv1G/OemjtZJhCMuYoU0=
56
+ </data>
57
+ </dict>
47
58
  </dict>
48
59
  <key>rules</key>
49
60
  <dict>
@@ -97,6 +97,9 @@ typedef void(^nv_UID)(NSString *_Nullable);
97
97
  +(void)trackEvents:(NSString *_Nullable)event_name Attributes:(NSMutableDictionary *_Nullable)attributes lifetimeValue:(NSString *_Nullable)ltv Scope:(int)scope;
98
98
 
99
99
  +(void)UserIdentifier:(NSString *_Nullable) userID UserParams:(NSMutableDictionary *_Nullable) UserParams;
100
+
101
+ +(void)userIdentifierWithUserParams:(NSDictionary *_Nullable)userParams;
102
+
100
103
  +(void)getNvUid:(nv_UID _Nullable)nvUID;
101
104
 
102
105
  +(void)Show:(NSMutableDictionary *_Nullable)UserTokens CustomRule:(NSMutableDictionary *_Nullable)customRule;
@@ -3,7 +3,7 @@
3
3
  <plist version="1.0">
4
4
  <dict>
5
5
  <key>BuildMachineOSBuild</key>
6
- <string>22G90</string>
6
+ <string>22H123</string>
7
7
  <key>CFBundleDevelopmentRegion</key>
8
8
  <string>en</string>
9
9
  <key>CFBundleExecutable</key>
@@ -17,13 +17,13 @@
17
17
  <key>CFBundlePackageType</key>
18
18
  <string>FMWK</string>
19
19
  <key>CFBundleShortVersionString</key>
20
- <string>7.0.4</string>
20
+ <string>7.1.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.0.4</string>
26
+ <string>7.1.0</string>
27
27
  <key>DTCompiler</key>
28
28
  <string>com.apple.compilers.llvm.clang.1_0</string>
29
29
  <key>DTPlatformBuild</key>
@@ -37,9 +37,9 @@
37
37
  <key>DTSDKName</key>
38
38
  <string>macosx14.2</string>
39
39
  <key>DTXcode</key>
40
- <string>1510</string>
40
+ <string>1520</string>
41
41
  <key>DTXcodeBuild</key>
42
- <string>15C65</string>
42
+ <string>15C500b</string>
43
43
  <key>LSMinimumSystemVersion</key>
44
44
  <string>10.15</string>
45
45
  <key>UIDeviceFamily</key>
@@ -0,0 +1,61 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
+ <plist version="1.0">
4
+ <dict>
5
+ <key>NSPrivacyCollectedDataTypes</key>
6
+ <array>
7
+ <dict>
8
+ <key>NSPrivacyCollectedDataType</key>
9
+ <string>NSPrivacyCollectedDataTypeUserID</string>
10
+ <key>NSPrivacyCollectedDataTypeLinked</key>
11
+ <true/>
12
+ <key>NSPrivacyCollectedDataTypeTracking</key>
13
+ <false/>
14
+ <key>NSPrivacyCollectedDataTypePurposes</key>
15
+ <array>
16
+ <string>NSPrivacyCollectedDataTypePurposeAppFunctionality</string>
17
+ <string>NSPrivacyCollectedDataTypePurposeProductPersonalization</string>
18
+ </array>
19
+ </dict>
20
+ <dict>
21
+ <key>NSPrivacyCollectedDataType</key>
22
+ <string>NSPrivacyCollectedDataTypeProductInteraction</string>
23
+ <key>NSPrivacyCollectedDataTypeLinked</key>
24
+ <true/>
25
+ <key>NSPrivacyCollectedDataTypeTracking</key>
26
+ <false/>
27
+ <key>NSPrivacyCollectedDataTypePurposes</key>
28
+ <array>
29
+ <string>NSPrivacyCollectedDataTypePurposeAnalytics</string>
30
+ <string>NSPrivacyCollectedDataTypePurposeProductPersonalization</string>
31
+ </array>
32
+ </dict>
33
+ <dict>
34
+ <key>NSPrivacyCollectedDataType</key>
35
+ <string>NSPrivacyCollectedDataTypeDeviceID</string>
36
+ <key>NSPrivacyCollectedDataTypeLinked</key>
37
+ <true/>
38
+ <key>NSPrivacyCollectedDataTypeTracking</key>
39
+ <false/>
40
+ <key>NSPrivacyCollectedDataTypePurposes</key>
41
+ <array>
42
+ <string>NSPrivacyCollectedDataTypePurposeAppFunctionality</string>
43
+ <string>NSPrivacyCollectedDataTypePurposeProductPersonalization</string>
44
+ </array>
45
+ </dict>
46
+ </array>
47
+ <key>NSPrivacyTracking</key>
48
+ <false/>
49
+ <key>NSPrivacyAccessedAPITypes</key>
50
+ <array>
51
+ <dict>
52
+ <key>NSPrivacyAccessedAPIType</key>
53
+ <string>NSPrivacyAccessedAPICategoryUserDefaults</string>
54
+ <key>NSPrivacyAccessedAPITypeReasons</key>
55
+ <array>
56
+ <string>CA92.1</string>
57
+ </array>
58
+ </dict>
59
+ </array>
60
+ </dict>
61
+ </plist>
@@ -6,11 +6,15 @@
6
6
  <dict>
7
7
  <key>Resources/Assets.car</key>
8
8
  <data>
9
- p/F/qGvZJQH++X1HbVpsFskn2iU=
9
+ aRivSVwfHfHG6uCWNkoM4CUeSu8=
10
10
  </data>
11
11
  <key>Resources/Info.plist</key>
12
12
  <data>
13
- XRk8J+3D4iqg9/C/PZHYDiNnFf4=
13
+ R72lBNH8XB6o6Pjywh0359jUZaU=
14
+ </data>
15
+ <key>Resources/PrivacyInfo.xcprivacy</key>
16
+ <data>
17
+ u24A9ubHMBWN/9Tt/I7O4HNbiig=
14
18
  </data>
15
19
  </dict>
16
20
  <key>files2</key>
@@ -19,7 +23,7 @@
19
23
  <dict>
20
24
  <key>hash2</key>
21
25
  <data>
22
- v0w3U/I0tbvxSSQWcCBAIhg96i4cM9/4UdAChoDsmRk=
26
+ Ce/mTFqX1faWqM8eY5sS9K4KyDlCe0GWyxGIF0GsEUE=
23
27
  </data>
24
28
  </dict>
25
29
  <key>Modules/module.modulemap</key>
@@ -33,14 +37,21 @@
33
37
  <dict>
34
38
  <key>hash2</key>
35
39
  <data>
36
- Tp4oCJGYdtcCqACMfI/x+S1S7jKD5GIsfzhZvhMTadM=
40
+ OxJtHGqs/9nQ5ac+ZaD9HJbAqSFCN/0Z8TQZEVKBNUo=
37
41
  </data>
38
42
  </dict>
39
43
  <key>Resources/Info.plist</key>
40
44
  <dict>
41
45
  <key>hash2</key>
42
46
  <data>
43
- srdp4KNK0TYbUgiwlxnwK8RJ8AIzeWDSwvk19nJZfio=
47
+ jdGIakajFYRStnw5Hz3UCI5QOkJgA9w2GzRftOlB+HM=
48
+ </data>
49
+ </dict>
50
+ <key>Resources/PrivacyInfo.xcprivacy</key>
51
+ <dict>
52
+ <key>hash2</key>
53
+ <data>
54
+ J4JIEHuRJMEpT/iC569ut4yLv1G/OemjtZJhCMuYoU0=
44
55
  </data>
45
56
  </dict>
46
57
  </dict>
@@ -97,6 +97,9 @@ typedef void(^nv_UID)(NSString *_Nullable);
97
97
  +(void)trackEvents:(NSString *_Nullable)event_name Attributes:(NSMutableDictionary *_Nullable)attributes lifetimeValue:(NSString *_Nullable)ltv Scope:(int)scope;
98
98
 
99
99
  +(void)UserIdentifier:(NSString *_Nullable) userID UserParams:(NSMutableDictionary *_Nullable) UserParams;
100
+
101
+ +(void)userIdentifierWithUserParams:(NSDictionary *_Nullable)userParams;
102
+
100
103
  +(void)getNvUid:(nv_UID _Nullable)nvUID;
101
104
 
102
105
  +(void)Show:(NSMutableDictionary *_Nullable)UserTokens CustomRule:(NSMutableDictionary *_Nullable)customRule;
@@ -0,0 +1,61 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
+ <plist version="1.0">
4
+ <dict>
5
+ <key>NSPrivacyCollectedDataTypes</key>
6
+ <array>
7
+ <dict>
8
+ <key>NSPrivacyCollectedDataType</key>
9
+ <string>NSPrivacyCollectedDataTypeUserID</string>
10
+ <key>NSPrivacyCollectedDataTypeLinked</key>
11
+ <true/>
12
+ <key>NSPrivacyCollectedDataTypeTracking</key>
13
+ <false/>
14
+ <key>NSPrivacyCollectedDataTypePurposes</key>
15
+ <array>
16
+ <string>NSPrivacyCollectedDataTypePurposeAppFunctionality</string>
17
+ <string>NSPrivacyCollectedDataTypePurposeProductPersonalization</string>
18
+ </array>
19
+ </dict>
20
+ <dict>
21
+ <key>NSPrivacyCollectedDataType</key>
22
+ <string>NSPrivacyCollectedDataTypeProductInteraction</string>
23
+ <key>NSPrivacyCollectedDataTypeLinked</key>
24
+ <true/>
25
+ <key>NSPrivacyCollectedDataTypeTracking</key>
26
+ <false/>
27
+ <key>NSPrivacyCollectedDataTypePurposes</key>
28
+ <array>
29
+ <string>NSPrivacyCollectedDataTypePurposeAnalytics</string>
30
+ <string>NSPrivacyCollectedDataTypePurposeProductPersonalization</string>
31
+ </array>
32
+ </dict>
33
+ <dict>
34
+ <key>NSPrivacyCollectedDataType</key>
35
+ <string>NSPrivacyCollectedDataTypeDeviceID</string>
36
+ <key>NSPrivacyCollectedDataTypeLinked</key>
37
+ <true/>
38
+ <key>NSPrivacyCollectedDataTypeTracking</key>
39
+ <false/>
40
+ <key>NSPrivacyCollectedDataTypePurposes</key>
41
+ <array>
42
+ <string>NSPrivacyCollectedDataTypePurposeAppFunctionality</string>
43
+ <string>NSPrivacyCollectedDataTypePurposeProductPersonalization</string>
44
+ </array>
45
+ </dict>
46
+ </array>
47
+ <key>NSPrivacyTracking</key>
48
+ <false/>
49
+ <key>NSPrivacyAccessedAPITypes</key>
50
+ <array>
51
+ <dict>
52
+ <key>NSPrivacyAccessedAPIType</key>
53
+ <string>NSPrivacyAccessedAPICategoryUserDefaults</string>
54
+ <key>NSPrivacyAccessedAPITypeReasons</key>
55
+ <array>
56
+ <string>CA92.1</string>
57
+ </array>
58
+ </dict>
59
+ </array>
60
+ </dict>
61
+ </plist>
@@ -6,20 +6,24 @@
6
6
  <dict>
7
7
  <key>Assets.car</key>
8
8
  <data>
9
- FhgHeorOxshqaSkkpqWpnShSQf0=
9
+ WVyGFpgJlsYrwxcO7rXrUjGXr3A=
10
10
  </data>
11
11
  <key>Headers/notifyvisitors.h</key>
12
12
  <data>
13
- vFyxc/BjaXYc6xoIBqWZHZCjdwA=
13
+ p3eioCT8Nm0GMfWg25zRELIrzA4=
14
14
  </data>
15
15
  <key>Info.plist</key>
16
16
  <data>
17
- SRrVcFXeTZ1gNQsNSvPQOMhWJHw=
17
+ BDjm6dkjScJA0TNfBqlBUt+4kzc=
18
18
  </data>
19
19
  <key>Modules/module.modulemap</key>
20
20
  <data>
21
21
  yFbjB1gVf2vU4Y8gQYcxK+3+nC0=
22
22
  </data>
23
+ <key>PrivacyInfo.xcprivacy</key>
24
+ <data>
25
+ u24A9ubHMBWN/9Tt/I7O4HNbiig=
26
+ </data>
23
27
  </dict>
24
28
  <key>files2</key>
25
29
  <dict>
@@ -27,14 +31,14 @@
27
31
  <dict>
28
32
  <key>hash2</key>
29
33
  <data>
30
- YaIAqXfYNg3wQcr64uYLZkhIiXmzCCfPTc56biwpn7o=
34
+ qAm5e/6mI+D84XOj0vm0Mhbcbk3e2q2XNs+YXjDKX68=
31
35
  </data>
32
36
  </dict>
33
37
  <key>Headers/notifyvisitors.h</key>
34
38
  <dict>
35
39
  <key>hash2</key>
36
40
  <data>
37
- v0w3U/I0tbvxSSQWcCBAIhg96i4cM9/4UdAChoDsmRk=
41
+ Ce/mTFqX1faWqM8eY5sS9K4KyDlCe0GWyxGIF0GsEUE=
38
42
  </data>
39
43
  </dict>
40
44
  <key>Modules/module.modulemap</key>
@@ -44,6 +48,13 @@
44
48
  0id7bPTigY+L+zqPmId0zsdS6sHQmuq96L2l5pEpRIo=
45
49
  </data>
46
50
  </dict>
51
+ <key>PrivacyInfo.xcprivacy</key>
52
+ <dict>
53
+ <key>hash2</key>
54
+ <data>
55
+ J4JIEHuRJMEpT/iC569ut4yLv1G/OemjtZJhCMuYoU0=
56
+ </data>
57
+ </dict>
47
58
  </dict>
48
59
  <key>rules</key>
49
60
  <dict>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-notifyvisitors",
3
- "version": "4.4.0",
3
+ "version": "4.4.2",
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.0.4'
26
+ s.dependency 'notifyvisitors', '7.2.0'
27
27
  end