react-native-notifyvisitors 4.4.0 → 4.4.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.
Files changed (29) hide show
  1. package/android/.project +28 -0
  2. package/android/.settings/org.eclipse.buildship.core.prefs +3 -3
  3. package/android/build.gradle +2 -3
  4. package/android/src/main/AndroidManifest.xml +2 -1
  5. package/android/src/main/java/com/rn_notifyvisitors/RNNotifyvisitorsModule.java +5 -5
  6. package/index.d.ts +1 -3
  7. package/index.js +2 -3
  8. package/ios/RNNotifyvisitors/RNNotifyvisitors.m +1 -1
  9. package/ios/RNNotifyvisitors.xcodeproj/project.pbxproj +4 -4
  10. package/ios/notifyvisitors.xcframework/ios-arm64/notifyvisitors.framework/Assets.car +0 -0
  11. package/ios/notifyvisitors.xcframework/ios-arm64/notifyvisitors.framework/Headers/notifyvisitors.h +3 -0
  12. package/ios/notifyvisitors.xcframework/ios-arm64/notifyvisitors.framework/Info.plist +0 -0
  13. package/ios/notifyvisitors.xcframework/ios-arm64/notifyvisitors.framework/PrivacyInfo.xcprivacy +61 -0
  14. package/ios/notifyvisitors.xcframework/ios-arm64/notifyvisitors.framework/_CodeSignature/CodeResources +16 -5
  15. package/ios/notifyvisitors.xcframework/ios-arm64/notifyvisitors.framework/notifyvisitors +0 -0
  16. package/ios/notifyvisitors.xcframework/ios-arm64_x86_64-maccatalyst/notifyvisitors.framework/Versions/A/Headers/notifyvisitors.h +3 -0
  17. package/ios/notifyvisitors.xcframework/ios-arm64_x86_64-maccatalyst/notifyvisitors.framework/Versions/A/Resources/Assets.car +0 -0
  18. package/ios/notifyvisitors.xcframework/ios-arm64_x86_64-maccatalyst/notifyvisitors.framework/Versions/A/Resources/Info.plist +5 -5
  19. package/ios/notifyvisitors.xcframework/ios-arm64_x86_64-maccatalyst/notifyvisitors.framework/Versions/A/Resources/PrivacyInfo.xcprivacy +61 -0
  20. package/ios/notifyvisitors.xcframework/ios-arm64_x86_64-maccatalyst/notifyvisitors.framework/Versions/A/_CodeSignature/CodeResources +16 -5
  21. package/ios/notifyvisitors.xcframework/ios-arm64_x86_64-maccatalyst/notifyvisitors.framework/Versions/A/notifyvisitors +0 -0
  22. package/ios/notifyvisitors.xcframework/ios-arm64_x86_64-simulator/notifyvisitors.framework/Assets.car +0 -0
  23. package/ios/notifyvisitors.xcframework/ios-arm64_x86_64-simulator/notifyvisitors.framework/Headers/notifyvisitors.h +3 -0
  24. package/ios/notifyvisitors.xcframework/ios-arm64_x86_64-simulator/notifyvisitors.framework/Info.plist +0 -0
  25. package/ios/notifyvisitors.xcframework/ios-arm64_x86_64-simulator/notifyvisitors.framework/PrivacyInfo.xcprivacy +61 -0
  26. package/ios/notifyvisitors.xcframework/ios-arm64_x86_64-simulator/notifyvisitors.framework/_CodeSignature/CodeResources +16 -5
  27. package/ios/notifyvisitors.xcframework/ios-arm64_x86_64-simulator/notifyvisitors.framework/notifyvisitors +0 -0
  28. package/package.json +1 -1
  29. package/react-native-notifyvisitors.podspec +1 -1
@@ -0,0 +1,28 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <projectDescription>
3
+ <name>react-native-notifyvisitors</name>
4
+ <comment>Project react-native-notifyvisitors created by Buildship.</comment>
5
+ <projects>
6
+ </projects>
7
+ <buildSpec>
8
+ <buildCommand>
9
+ <name>org.eclipse.buildship.core.gradleprojectbuilder</name>
10
+ <arguments>
11
+ </arguments>
12
+ </buildCommand>
13
+ </buildSpec>
14
+ <natures>
15
+ <nature>org.eclipse.buildship.core.gradleprojectnature</nature>
16
+ </natures>
17
+ <filteredResources>
18
+ <filter>
19
+ <id>1718186990341</id>
20
+ <name></name>
21
+ <type>30</type>
22
+ <matcher>
23
+ <id>org.eclipse.core.resources.regexFilterMatcher</id>
24
+ <arguments>node_modules|\.git|__CREATED_BY_JAVA_LANGUAGE_SERVER__</arguments>
25
+ </matcher>
26
+ </filter>
27
+ </filteredResources>
28
+ </projectDescription>
@@ -1,11 +1,11 @@
1
- arguments=--init-script /var/folders/tw/px__qvrn1sg589qgm6l8jxqr0000gn/T/d146c9752a26f79b52047fb6dc6ed385d064e120494f96f08ca63a317c41f94c.gradle --init-script /var/folders/tw/px__qvrn1sg589qgm6l8jxqr0000gn/T/52cde0cfcf3e28b8b7510e992210d9614505e0911af0c190bd590d7158574963.gradle
1
+ arguments=--init-script /var/folders/tw/px__qvrn1sg589qgm6l8jxqr0000gn/T/db3b08fc4a9ef609cb16b96b200fa13e563f396e9bb1ed0905fdab7bc3bc513b.gradle --init-script /var/folders/tw/px__qvrn1sg589qgm6l8jxqr0000gn/T/52cde0cfcf3e28b8b7510e992210d9614505e0911af0c190bd590d7158574963.gradle
2
2
  auto.sync=false
3
3
  build.scans.enabled=false
4
- connection.gradle.distribution=GRADLE_DISTRIBUTION(VERSION(8.1.1))
4
+ 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=/Users/siddharth/.gradle/jdks/eclipse_adoptium-17-aarch64-os_x/jdk-17.0.9+9/Contents/Home
8
+ java.home=/Library/Java/JavaVirtualMachines/jdk-20.jdk/Contents/Home
9
9
  jvm.arguments=
10
10
  offline.mode=false
11
11
  override.workspace.settings=true
@@ -15,7 +15,7 @@ android {
15
15
  compileSdk safeExtGet('compileSdk', 33)
16
16
 
17
17
  defaultConfig {
18
- minSdkVersion safeExtGet('minSdkVersion', 19)
18
+ minSdkVersion safeExtGet('minSdkVersion', 23)
19
19
  targetSdkVersion safeExtGet('targetSdkVersion', 33)
20
20
  }
21
21
 
@@ -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
- implementation 'com.notifyvisitors.notifyvisitors:notifyvisitors:v5.4.9.2'
38
-
37
+ implementation 'com.notifyvisitors.notifyvisitors:notifyvisitors:v5.4.10.6'
39
38
  implementation platform('com.google.firebase:firebase-bom:30.3.1')
40
39
  implementation ('com.google.firebase:firebase-messaging')
41
40
  implementation ('com.google.android.gms:play-services-location')
@@ -9,7 +9,8 @@
9
9
  <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
10
10
  <uses-permission android:name="android.permission.CHANGE_NETWORK_STATE" />
11
11
  <uses-permission android:name="android.permission.CHANGE_WIFI_STATE" />
12
- <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
12
+ <uses-permission android:name="android.permission.POST_NOTIFICATIONS"/>
13
+ <uses-permission android:name="android.permission.FOREGROUND_SERVICE"/>
13
14
 
14
15
  <application>
15
16
  <service
@@ -43,7 +43,7 @@ public class RNNotifyvisitorsModule extends ReactContextBaseJavaModule implement
43
43
 
44
44
  private final ReactApplicationContext reactContext;
45
45
  private static final String TAG = "RN-NotifyVisitors";
46
- private static final String PLUGIN_VERSION = "4.4.0";
46
+ private static final String PLUGIN_VERSION = "4.4.1";
47
47
 
48
48
  private String PUSH_BANNER_CLICK_EVENT = "nv_push_banner_click";
49
49
  private String CHAT_BOT_BUTTON_CLICK = "nv_chat_bot_button_click";
@@ -69,7 +69,7 @@ public class RNNotifyvisitorsModule extends ReactContextBaseJavaModule implement
69
69
  JSONObject mCustomObjects;
70
70
  NVCenterStyleConfig config;
71
71
  private final int NV_TIME_OUT = 5000;
72
- private final int NV_BANNER_TIME_OUT = 1200;
72
+ private final int NV_BANNER_TIME_OUT = 6800;
73
73
 
74
74
  boolean nvInAppFound = false;
75
75
 
@@ -123,10 +123,10 @@ public class RNNotifyvisitorsModule extends ReactContextBaseJavaModule implement
123
123
 
124
124
  /* 0 - For Native SDK Initialize From Application Class */
125
125
  @ReactMethod
126
- public static void register(Context context) {
126
+ public static void register(Context context, int brandID, String brandEncryptKey) {
127
127
  try {
128
128
  Log.i(TAG, "REGISTER !!");
129
- NotifyVisitorsApplication.register((Application) context.getApplicationContext());
129
+ NotifyVisitorsApplication.register((Application) context.getApplicationContext(), brandID, brandEncryptKey);
130
130
  } catch (Exception e) {
131
131
  Log.i(TAG, "REGISTER ERROR : " + e);
132
132
  }
@@ -441,7 +441,7 @@ public class RNNotifyvisitorsModule extends ReactContextBaseJavaModule implement
441
441
  Log.i(TAG, "USER IDENTIFIER ERROR : " + e);
442
442
  }
443
443
  }
444
-
444
+
445
445
  /* 5 - chatBot */
446
446
  @ReactMethod
447
447
  public void startChatBot(final String screenName) {
package/index.d.ts CHANGED
@@ -58,9 +58,7 @@ export default class Notifyvisitors {
58
58
  pushPromptInfo: PushPromptInfo,
59
59
  callback: any
60
60
  ): void;
61
- static nativePushPermissionPrompt(
62
- callback: any
63
- ): void;
61
+ static nativePushPermissionPrompt(callback: any): void;
64
62
  }
65
63
 
66
64
  export class PushPromptInfo {
package/index.js CHANGED
@@ -375,7 +375,7 @@ export default class Notifyvisitors {
375
375
  static clearPushData() {
376
376
  console.log("NV- Clear Push Data !!");
377
377
  try {
378
- if (Platform.OS === 'android') {
378
+ if (Platform.OS === "android") {
379
379
  RNNotifyvisitors.clearPushData();
380
380
  }
381
381
  } catch (e) {
@@ -386,7 +386,7 @@ export default class Notifyvisitors {
386
386
  static checkPushActive(nv_signal) {
387
387
  console.log("NV- Check Push Active !!");
388
388
  try {
389
- if (Platform.OS === 'android') {
389
+ if (Platform.OS === "android") {
390
390
  RNNotifyvisitors.checkPushActive(nv_signal);
391
391
  }
392
392
  } catch (e) {
@@ -406,7 +406,6 @@ export default class Notifyvisitors {
406
406
  console.log(e);
407
407
  }
408
408
  }
409
-
410
409
  }
411
410
 
412
411
  export class PushPromptInfo {
@@ -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.4.0 !!");
35
+ NSLog(@"RN-NotifyVisitors PLUGIN VERSION : 4.4.1 !!");
36
36
  NSString *nvMode = nil;
37
37
  #if DEBUG
38
38
  nvMode = @"debug";
@@ -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.1",
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.1.0'
27
27
  end