react-native-notifyvisitors 4.3.5 → 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 (33) 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 +32 -5
  6. package/index.d.ts +1 -0
  7. package/index.js +14 -2
  8. package/ios/RNNotifyvisitors/RNNotifyvisitors.m +1 -1
  9. package/ios/RNNotifyvisitors.xcodeproj/project.pbxproj +4 -4
  10. package/ios/notifyvisitors.xcframework/Info.plist +21 -0
  11. package/ios/notifyvisitors.xcframework/ios-arm64/notifyvisitors.framework/Assets.car +0 -0
  12. package/ios/notifyvisitors.xcframework/ios-arm64/notifyvisitors.framework/Headers/notifyvisitors.h +3 -0
  13. package/ios/notifyvisitors.xcframework/ios-arm64/notifyvisitors.framework/Info.plist +0 -0
  14. package/ios/notifyvisitors.xcframework/ios-arm64/notifyvisitors.framework/Modules/module.modulemap +1 -1
  15. package/ios/notifyvisitors.xcframework/ios-arm64/notifyvisitors.framework/PrivacyInfo.xcprivacy +61 -0
  16. package/ios/notifyvisitors.xcframework/ios-arm64/notifyvisitors.framework/_CodeSignature/CodeResources +18 -7
  17. package/ios/notifyvisitors.xcframework/ios-arm64/notifyvisitors.framework/notifyvisitors +0 -0
  18. package/ios/notifyvisitors.xcframework/ios-arm64_x86_64-maccatalyst/notifyvisitors.framework/Versions/A/Headers/notifyvisitors.h +151 -0
  19. package/ios/notifyvisitors.xcframework/ios-arm64_x86_64-maccatalyst/notifyvisitors.framework/Versions/A/Modules/module.modulemap +6 -0
  20. package/ios/notifyvisitors.xcframework/ios-arm64_x86_64-maccatalyst/notifyvisitors.framework/Versions/A/Resources/Assets.car +0 -0
  21. package/ios/notifyvisitors.xcframework/ios-arm64_x86_64-maccatalyst/notifyvisitors.framework/Versions/A/Resources/Info.plist +50 -0
  22. package/ios/notifyvisitors.xcframework/ios-arm64_x86_64-maccatalyst/notifyvisitors.framework/Versions/A/Resources/PrivacyInfo.xcprivacy +61 -0
  23. package/ios/notifyvisitors.xcframework/ios-arm64_x86_64-maccatalyst/notifyvisitors.framework/Versions/A/_CodeSignature/CodeResources +164 -0
  24. package/ios/notifyvisitors.xcframework/ios-arm64_x86_64-maccatalyst/notifyvisitors.framework/Versions/A/notifyvisitors +0 -0
  25. package/ios/notifyvisitors.xcframework/ios-arm64_x86_64-simulator/notifyvisitors.framework/Assets.car +0 -0
  26. package/ios/notifyvisitors.xcframework/ios-arm64_x86_64-simulator/notifyvisitors.framework/Headers/notifyvisitors.h +3 -0
  27. package/ios/notifyvisitors.xcframework/ios-arm64_x86_64-simulator/notifyvisitors.framework/Info.plist +0 -0
  28. package/ios/notifyvisitors.xcframework/ios-arm64_x86_64-simulator/notifyvisitors.framework/Modules/module.modulemap +1 -1
  29. package/ios/notifyvisitors.xcframework/ios-arm64_x86_64-simulator/notifyvisitors.framework/PrivacyInfo.xcprivacy +61 -0
  30. package/ios/notifyvisitors.xcframework/ios-arm64_x86_64-simulator/notifyvisitors.framework/_CodeSignature/CodeResources +18 -7
  31. package/ios/notifyvisitors.xcframework/ios-arm64_x86_64-simulator/notifyvisitors.framework/notifyvisitors +0 -0
  32. package/package.json +1 -1
  33. package/react-native-notifyvisitors.podspec +2 -2
@@ -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.8'
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.3.5";
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) {
@@ -1031,6 +1031,33 @@ public class RNNotifyvisitorsModule extends ReactContextBaseJavaModule implement
1031
1031
  }
1032
1032
  }
1033
1033
 
1034
+ @ReactMethod
1035
+ public void nativePushPermissionPrompt(final Callback callback) {
1036
+ try {
1037
+ Log.i(TAG, "Check Native Push Permission Prompt !!");
1038
+
1039
+ mActivity = reactContext.getCurrentActivity();
1040
+ if (mActivity != null) {
1041
+ mActivity.runOnUiThread(new Runnable() {
1042
+ @Override
1043
+ public void run() {
1044
+ NotifyVisitorsApi.getInstance(mActivity).nativePushPermissionPrompt(new OnPushRuntimePermission() {
1045
+ @Override
1046
+ public void getPopupInfo(JSONObject result) {
1047
+ Log.i(TAG, "Popup Response => " + result);
1048
+ callback.invoke(result.toString());
1049
+ }
1050
+ });
1051
+ }
1052
+ });
1053
+ } else {
1054
+ Log.e(TAG, "Getting Null Activity !!");
1055
+ }
1056
+ } catch (Exception e) {
1057
+ Log.i(TAG, "Check Native Push Permission Prompt !! " + e);
1058
+ }
1059
+ }
1060
+
1034
1061
  private void intentDataClear() {
1035
1062
  try {
1036
1063
  new Timer().schedule(new TimerTask() {
package/index.d.ts CHANGED
@@ -58,6 +58,7 @@ export default class Notifyvisitors {
58
58
  pushPromptInfo: PushPromptInfo,
59
59
  callback: any
60
60
  ): void;
61
+ static nativePushPermissionPrompt(callback: any): void;
61
62
  }
62
63
 
63
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) {
@@ -394,6 +394,18 @@ export default class Notifyvisitors {
394
394
  }
395
395
  }
396
396
 
397
+ static nativePushPermissionPrompt(callback) {
398
+ console.log("NV- Native Push Permission Prompt !!");
399
+ try {
400
+ if (Platform.OS === "ios") {
401
+ console.log("This function is not supported on IOS");
402
+ } else {
403
+ RNNotifyvisitors.nativePushPermissionPrompt(callback);
404
+ }
405
+ } catch (e) {
406
+ console.log(e);
407
+ }
408
+ }
397
409
  }
398
410
 
399
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.3.5 !!");
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
- 358D55C32B4FD102005B5C25 /* notifyvisitors.xcframework in Frameworks */ = {isa = PBXBuildFile; fileRef = 358D55C22B4FD102005B5C25 /* 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
- 358D55C22B4FD102005B5C25 /* 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
- 358D55C32B4FD102005B5C25 /* 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
- 358D55C22B4FD102005B5C25 /* notifyvisitors.xcframework */,
65
+ 357B445D2CDF3E21009884C2 /* notifyvisitors.xcframework */,
66
66
  DC4962D123BE131B005E63F5 /* RNNotifyvisitors */,
67
67
  134814211AA4EA7D00B7C361 /* Products */,
68
68
  DC31F4E323BC9CC900AAB2DB /* Frameworks */,
@@ -5,6 +5,25 @@
5
5
  <key>AvailableLibraries</key>
6
6
  <array>
7
7
  <dict>
8
+ <key>BinaryPath</key>
9
+ <string>notifyvisitors.framework/Versions/A/notifyvisitors</string>
10
+ <key>LibraryIdentifier</key>
11
+ <string>ios-arm64_x86_64-maccatalyst</string>
12
+ <key>LibraryPath</key>
13
+ <string>notifyvisitors.framework</string>
14
+ <key>SupportedArchitectures</key>
15
+ <array>
16
+ <string>arm64</string>
17
+ <string>x86_64</string>
18
+ </array>
19
+ <key>SupportedPlatform</key>
20
+ <string>ios</string>
21
+ <key>SupportedPlatformVariant</key>
22
+ <string>maccatalyst</string>
23
+ </dict>
24
+ <dict>
25
+ <key>BinaryPath</key>
26
+ <string>notifyvisitors.framework/notifyvisitors</string>
8
27
  <key>LibraryIdentifier</key>
9
28
  <string>ios-arm64_x86_64-simulator</string>
10
29
  <key>LibraryPath</key>
@@ -20,6 +39,8 @@
20
39
  <string>simulator</string>
21
40
  </dict>
22
41
  <dict>
42
+ <key>BinaryPath</key>
43
+ <string>notifyvisitors.framework/notifyvisitors</string>
23
44
  <key>LibraryIdentifier</key>
24
45
  <string>ios-arm64</string>
25
46
  <key>LibraryPath</key>
@@ -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;
@@ -1,6 +1,6 @@
1
1
  framework module notifyvisitors {
2
2
  umbrella header "notifyvisitors.h"
3
-
4
3
  export *
4
+
5
5
  module * { export * }
6
6
  }
@@ -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,19 +6,23 @@
6
6
  <dict>
7
7
  <key>Assets.car</key>
8
8
  <data>
9
- 9YxBcMOpOEB6e7RY4Ar1C8G17ns=
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
- twHy1BIuvPCe0aa8eUN/6eqXnCM=
17
+ IlznO/Ah5zTywYVFRDAyQ2MsII4=
18
18
  </data>
19
19
  <key>Modules/module.modulemap</key>
20
20
  <data>
21
- ssqSvaUzlY/r6GHxmph0GIHY1NY=
21
+ yFbjB1gVf2vU4Y8gQYcxK+3+nC0=
22
+ </data>
23
+ <key>PrivacyInfo.xcprivacy</key>
24
+ <data>
25
+ u24A9ubHMBWN/9Tt/I7O4HNbiig=
22
26
  </data>
23
27
  </dict>
24
28
  <key>files2</key>
@@ -27,21 +31,28 @@
27
31
  <dict>
28
32
  <key>hash2</key>
29
33
  <data>
30
- bvVoM3jCMGiveQZSoOL3ESViq2i3sN/YwbqNtzy+Tgk=
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>
41
45
  <dict>
42
46
  <key>hash2</key>
43
47
  <data>
44
- Q32U9PPopKciPA3pgC16NrErqUjh1sFvUJqLPZbdSz4=
48
+ 0id7bPTigY+L+zqPmId0zsdS6sHQmuq96L2l5pEpRIo=
49
+ </data>
50
+ </dict>
51
+ <key>PrivacyInfo.xcprivacy</key>
52
+ <dict>
53
+ <key>hash2</key>
54
+ <data>
55
+ J4JIEHuRJMEpT/iC569ut4yLv1G/OemjtZJhCMuYoU0=
45
56
  </data>
46
57
  </dict>
47
58
  </dict>
@@ -0,0 +1,151 @@
1
+ //
2
+ // notifyvisitors.h
3
+ // notifyvisitors
4
+ //
5
+ // Created by Notifyvisitors Macbook Air 4 on 25/10/23.
6
+ //
7
+
8
+ #import <Foundation/Foundation.h>
9
+ #import <UserNotifications/UserNotifications.h>
10
+ #import <UIKit/UIKit.h>
11
+
12
+ //! Project version number for notifyvisitors.
13
+ FOUNDATION_EXPORT double notifyvisitorsVersionNumber;
14
+
15
+ //! Project version string for notifyvisitors.
16
+ FOUNDATION_EXPORT const unsigned char notifyvisitorsVersionString[];
17
+
18
+ // In this header, you should import all the public headers of your framework using statements like #import <notifyvisitors/PublicHeader.h>
19
+
20
+
21
+ typedef NS_ENUM(NSUInteger, nvPushBadgeCount){
22
+ nvPushBadgeCountIncreaseByOne,
23
+ nvPushBadgeCountDecreaseByOne,
24
+ nvPushBadgeCountClearAll
25
+ };
26
+
27
+ typedef void(^NotificationListData)(NSMutableArray*_Nullable);
28
+ typedef void(^nvGetCount)(NSInteger);
29
+ typedef void(^nvUnreadCenterCount)(NSDictionary*_Nullable);
30
+
31
+ typedef void(^NotificationClickResponseData)(NSMutableDictionary*_Nullable);
32
+ typedef void(^nv_UID)(NSString *_Nullable);
33
+
34
+ @protocol notifyvisitorsDelegate <NSObject>
35
+
36
+ @optional
37
+ -(void)NotifyvisitorsGetEventResponseWithUserInfo:(NSDictionary*_Nullable)userInfo DEPRECATED_MSG_ATTRIBUTE("first deprecated in Notifyvisitors iOS SDK 7.0.1 Use [notifyvisitors notifyvisitorsEventsResponseCallback:] (see notifyvisitors.h)");
38
+ -(void)notifyvisitorsEventsResponseCallback:(NSDictionary*_Nullable)callback;
39
+ @end
40
+
41
+
42
+ @interface NVCenterStyleConfig : NSObject
43
+
44
+ @property (strong, nonatomic)UIColor * _Nullable unselectedTabTextColor;
45
+
46
+ @property (strong, nonatomic)UIColor * _Nullable selectedTabTextColor;
47
+
48
+ @property (strong, nonatomic)UIColor * _Nullable selectedTabBgColor;
49
+ @property (strong, nonatomic)UIColor * _Nullable unselectedTabBgColor;
50
+
51
+ @property (nonatomic)NSInteger selectedTabIndex;
52
+ @property (strong, nonatomic)UIFont * _Nullable tabTextfont;
53
+ @property (strong, nonatomic)UIColor * _Nullable tabBadgeCountBorderColor;
54
+ @property (strong, nonatomic)UIColor * _Nullable tabBadgeCountFillColor;
55
+ @property (strong, nonatomic)UIColor * _Nullable tabBadgeCountTextColor;
56
+ @property (nonatomic)BOOL shouldTabBadgeShine;
57
+
58
+ +(instancetype _Nullable )sharedInstance;
59
+
60
+ -(void)setFirstTabWithTabLable:(NSString *_Nonnull)tabLabel TagDisplayName:(NSString *_Nonnull)tabDisplayName;
61
+
62
+ -(void)setSecondTabWithTabLable:(NSString *_Nonnull)tabLabel TagDisplayName:(NSString *_Nonnull)tabDisplayName;
63
+
64
+ -(void)setThirdTabWithTabLable:(NSString *_Nonnull)tabLabel TagDisplayName:(NSString *_Nonnull)tabDisplayName;
65
+
66
+ @end
67
+
68
+
69
+
70
+ @interface notifyvisitors : NSObject <UNUserNotificationCenterDelegate>
71
+
72
+ @property (nonatomic, weak)id <notifyvisitorsDelegate> _Nullable delegate;
73
+
74
+ +(instancetype _Nonnull )sharedInstance;
75
+
76
+ #pragma mark - INITIAL INTEGRATION METHODS
77
+
78
+ +(void)Initialize:(NSString *_Nullable)nvMode;
79
+
80
+ +(void)applicationDidEnterBackground:(UIApplication *_Nullable)application;
81
+ +(void)sceneDidEnterBackground:(UIScene *_Nullable)scene API_AVAILABLE(ios(13.0));
82
+
83
+ +(void)applicationWillEnterForeground:(UIApplication *_Nullable)application;
84
+ +(void)sceneWillEnterForeground:(UIScene *_Nullable)scene API_AVAILABLE(ios(13.0));
85
+
86
+ +(void)applicationDidBecomeActive:(UIApplication *_Nullable)application;
87
+ +(void)sceneDidBecomeActive:(UIScene *_Nullable)scene API_AVAILABLE(ios(13.0));
88
+
89
+ +(void)applicationWillTerminate;
90
+
91
+ +(void)OpenUrlWithApplication:(UIApplication *_Nullable)application Url:(NSURL *_Nullable)url;
92
+ +(NSMutableDictionary*_Nullable)OpenUrlGetDataWithApplication: (UIApplication *_Nullable)application Url:(NSURL *_Nullable)url;
93
+
94
+ +(void)scene:(UIScene *_Nullable)scene willConnectToSession:(UISceneSession *_Nullable)session options:(UISceneConnectionOptions *_Nullable)connectionOptions API_AVAILABLE(ios(13.0));
95
+ +(void)scene:(UIScene *_Nullable)scene openURLContexts:(NSSet<UIOpenURLContext *> *_Nullable)URLContexts API_AVAILABLE(ios(13.0));
96
+
97
+ +(void)trackEvents:(NSString *_Nullable)event_name Attributes:(NSMutableDictionary *_Nullable)attributes lifetimeValue:(NSString *_Nullable)ltv Scope:(int)scope;
98
+
99
+ +(void)UserIdentifier:(NSString *_Nullable) userID UserParams:(NSMutableDictionary *_Nullable) UserParams;
100
+
101
+ +(void)userIdentifierWithUserParams:(NSDictionary *_Nullable)userParams;
102
+
103
+ +(void)getNvUid:(nv_UID _Nullable)nvUID;
104
+
105
+ +(void)Show:(NSMutableDictionary *_Nullable)UserTokens CustomRule:(NSMutableDictionary *_Nullable)customRule;
106
+ +(void)scrollViewDidScroll:(UIScrollView *_Nullable) scrollView;
107
+ +(void)DismissAllNotifyvisitorsInAppNotifications;
108
+ +(void)StopInAppNotifications;
109
+ +(void)requestAppleAppStoreInAppReview;
110
+
111
+ +(void)RegisterPushWithDelegate:(id _Nullable )delegate App:(UIApplication *_Nullable)application launchOptions:(NSDictionary *_Nullable)launchOptions;
112
+ +(void)DidRegisteredNotification:(UIApplication *_Nullable)application deviceToken:(NSData *_Nullable)deviceToken;
113
+ +(NSString *_Nullable)getPushRegistrationToken;
114
+
115
+ +(void)schedulePushNotificationwithNotificationID:(NSString *_Nullable)NID Tag:(NSString *_Nullable)tag TimeinSecond:(NSString *_Nullable)time Title:(NSString *_Nullable)title Message:(NSString *_Nullable)message URL:(NSString *_Nullable)url Icon:(NSString *_Nullable)icon;
116
+
117
+ +(void)pushPreferences:(NSArray *_Nullable)preferenceList isUnsubscribeFromAll:(BOOL)shouldUnsubscribe;
118
+
119
+ +(void)updatePushBadgeNumberWithValue:(nvPushBadgeCount)nvPushBadgeNumber;
120
+
121
+ +(void)didReceiveRemoteNotificationWithUserInfo:(NSDictionary *_Nullable)userInfo;
122
+ +(NSMutableDictionary *_Nullable)PushNotificationActionDataFromUserInfo:(NSDictionary *_Nullable)userinfo;
123
+ +(void)didReceiveRemoteNotification:(NSDictionary *_Nullable)userInfo fetchCompletionHandler:(void(^_Nullable)(UIBackgroundFetchResult))completionHandler;
124
+
125
+ +(void)willPresentNotification:(UNNotification *_Nullable)notification withCompletionHandler:(void (^_Nullable)(UNNotificationPresentationOptions options))completionHandler API_AVAILABLE(ios(10.0));
126
+
127
+ +(void)didReceiveNotificationResponse:(UNNotificationResponse *_Nullable)response API_AVAILABLE(ios(10.0));
128
+ +(void)PushNotificationActionDataFromResponse:(UNNotificationResponse *_Nullable)response AutoRedirectOtherApps:(BOOL)autoRedirect clickResponseData:(NotificationClickResponseData _Nullable )pushClickResponse API_AVAILABLE(ios(10.0));
129
+
130
+
131
+ +(void)NotifyVisitorsNotificationCentre DEPRECATED_MSG_ATTRIBUTE("first deprecated in Notifyvisitors iOS SDK 6.4.3 Use [notifyvisitors notificationCenter:] (see notifyvisitors.h)");
132
+
133
+ +(void)notificationCenter;
134
+ +(void)notificationCenterWithConfiguration:(NVCenterStyleConfig *_Nullable)configuration;
135
+ +(void)GetNotificationCentreData:(NotificationListData _Nullable ) notificationDataList DEPRECATED_MSG_ATTRIBUTE("first deprecated in Notifyvisitors iOS SDK 7.0.2 Use [notifyvisitors getNotificationCenterData:] to get reformated data response in NSDictionary format. (see notifyvisitors.h)");
136
+
137
+ +(void)getNotificationCenterData:(void(^_Nullable)(NSDictionary *_Nullable))notificationsData;
138
+
139
+
140
+ //GetNotificationCentreData:(NotificationListData _Nullable ) notificationDataList;
141
+
142
+ +(void)GetUnreadPushNotification:(nvGetCount _Nullable )nvUnreadCount;
143
+ +(void)getNotificationCenterCountWithConfiguration:(NVCenterStyleConfig *_Nullable)configuration countResult:(nvUnreadCenterCount _Nullable )unreadCenterCounts;
144
+
145
+ +(void)stopGeofencePushforDateTime:(NSString *_Nullable)nvDateTime additionalHours: (NSInteger)nvtimeinHours;
146
+
147
+ //+(void)startChatBotWithScreenName:(NSString *)nvBotScreenName;
148
+
149
+ +(void)LoadAttachmentWithRequest:(UNNotificationRequest *_Nullable)request bestAttemptContent:(UNMutableNotificationContent *_Nullable)bestAttemptContent withContentHandler:(nullable void (^)(UNNotificationContent * _Nonnull))contentHandler API_AVAILABLE(ios(10.0));
150
+
151
+ @end
@@ -0,0 +1,6 @@
1
+ framework module notifyvisitors {
2
+ umbrella header "notifyvisitors.h"
3
+ export *
4
+
5
+ module * { export * }
6
+ }
@@ -0,0 +1,50 @@
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>BuildMachineOSBuild</key>
6
+ <string>22H123</string>
7
+ <key>CFBundleDevelopmentRegion</key>
8
+ <string>en</string>
9
+ <key>CFBundleExecutable</key>
10
+ <string>notifyvisitors</string>
11
+ <key>CFBundleIdentifier</key>
12
+ <string>com.notifyvisitors</string>
13
+ <key>CFBundleInfoDictionaryVersion</key>
14
+ <string>6.0</string>
15
+ <key>CFBundleName</key>
16
+ <string>notifyvisitors</string>
17
+ <key>CFBundlePackageType</key>
18
+ <string>FMWK</string>
19
+ <key>CFBundleShortVersionString</key>
20
+ <string>7.1.0</string>
21
+ <key>CFBundleSupportedPlatforms</key>
22
+ <array>
23
+ <string>MacOSX</string>
24
+ </array>
25
+ <key>CFBundleVersion</key>
26
+ <string>7.1.0</string>
27
+ <key>DTCompiler</key>
28
+ <string>com.apple.compilers.llvm.clang.1_0</string>
29
+ <key>DTPlatformBuild</key>
30
+ <string></string>
31
+ <key>DTPlatformName</key>
32
+ <string>macosx</string>
33
+ <key>DTPlatformVersion</key>
34
+ <string>14.2</string>
35
+ <key>DTSDKBuild</key>
36
+ <string>23C53</string>
37
+ <key>DTSDKName</key>
38
+ <string>macosx14.2</string>
39
+ <key>DTXcode</key>
40
+ <string>1520</string>
41
+ <key>DTXcodeBuild</key>
42
+ <string>15C500b</string>
43
+ <key>LSMinimumSystemVersion</key>
44
+ <string>10.15</string>
45
+ <key>UIDeviceFamily</key>
46
+ <array>
47
+ <integer>2</integer>
48
+ </array>
49
+ </dict>
50
+ </plist>
@@ -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>
@@ -0,0 +1,164 @@
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>files</key>
6
+ <dict>
7
+ <key>Resources/Assets.car</key>
8
+ <data>
9
+ aRivSVwfHfHG6uCWNkoM4CUeSu8=
10
+ </data>
11
+ <key>Resources/Info.plist</key>
12
+ <data>
13
+ R72lBNH8XB6o6Pjywh0359jUZaU=
14
+ </data>
15
+ <key>Resources/PrivacyInfo.xcprivacy</key>
16
+ <data>
17
+ u24A9ubHMBWN/9Tt/I7O4HNbiig=
18
+ </data>
19
+ </dict>
20
+ <key>files2</key>
21
+ <dict>
22
+ <key>Headers/notifyvisitors.h</key>
23
+ <dict>
24
+ <key>hash2</key>
25
+ <data>
26
+ Ce/mTFqX1faWqM8eY5sS9K4KyDlCe0GWyxGIF0GsEUE=
27
+ </data>
28
+ </dict>
29
+ <key>Modules/module.modulemap</key>
30
+ <dict>
31
+ <key>hash2</key>
32
+ <data>
33
+ 0id7bPTigY+L+zqPmId0zsdS6sHQmuq96L2l5pEpRIo=
34
+ </data>
35
+ </dict>
36
+ <key>Resources/Assets.car</key>
37
+ <dict>
38
+ <key>hash2</key>
39
+ <data>
40
+ OxJtHGqs/9nQ5ac+ZaD9HJbAqSFCN/0Z8TQZEVKBNUo=
41
+ </data>
42
+ </dict>
43
+ <key>Resources/Info.plist</key>
44
+ <dict>
45
+ <key>hash2</key>
46
+ <data>
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=
55
+ </data>
56
+ </dict>
57
+ </dict>
58
+ <key>rules</key>
59
+ <dict>
60
+ <key>^Resources/</key>
61
+ <true/>
62
+ <key>^Resources/.*\.lproj/</key>
63
+ <dict>
64
+ <key>optional</key>
65
+ <true/>
66
+ <key>weight</key>
67
+ <real>1000</real>
68
+ </dict>
69
+ <key>^Resources/.*\.lproj/locversion.plist$</key>
70
+ <dict>
71
+ <key>omit</key>
72
+ <true/>
73
+ <key>weight</key>
74
+ <real>1100</real>
75
+ </dict>
76
+ <key>^Resources/Base\.lproj/</key>
77
+ <dict>
78
+ <key>weight</key>
79
+ <real>1010</real>
80
+ </dict>
81
+ <key>^version.plist$</key>
82
+ <true/>
83
+ </dict>
84
+ <key>rules2</key>
85
+ <dict>
86
+ <key>.*\.dSYM($|/)</key>
87
+ <dict>
88
+ <key>weight</key>
89
+ <real>11</real>
90
+ </dict>
91
+ <key>^(.*/)?\.DS_Store$</key>
92
+ <dict>
93
+ <key>omit</key>
94
+ <true/>
95
+ <key>weight</key>
96
+ <real>2000</real>
97
+ </dict>
98
+ <key>^(Frameworks|SharedFrameworks|PlugIns|Plug-ins|XPCServices|Helpers|MacOS|Library/(Automator|Spotlight|LoginItems))/</key>
99
+ <dict>
100
+ <key>nested</key>
101
+ <true/>
102
+ <key>weight</key>
103
+ <real>10</real>
104
+ </dict>
105
+ <key>^.*</key>
106
+ <true/>
107
+ <key>^Info\.plist$</key>
108
+ <dict>
109
+ <key>omit</key>
110
+ <true/>
111
+ <key>weight</key>
112
+ <real>20</real>
113
+ </dict>
114
+ <key>^PkgInfo$</key>
115
+ <dict>
116
+ <key>omit</key>
117
+ <true/>
118
+ <key>weight</key>
119
+ <real>20</real>
120
+ </dict>
121
+ <key>^Resources/</key>
122
+ <dict>
123
+ <key>weight</key>
124
+ <real>20</real>
125
+ </dict>
126
+ <key>^Resources/.*\.lproj/</key>
127
+ <dict>
128
+ <key>optional</key>
129
+ <true/>
130
+ <key>weight</key>
131
+ <real>1000</real>
132
+ </dict>
133
+ <key>^Resources/.*\.lproj/locversion.plist$</key>
134
+ <dict>
135
+ <key>omit</key>
136
+ <true/>
137
+ <key>weight</key>
138
+ <real>1100</real>
139
+ </dict>
140
+ <key>^Resources/Base\.lproj/</key>
141
+ <dict>
142
+ <key>weight</key>
143
+ <real>1010</real>
144
+ </dict>
145
+ <key>^[^/]+$</key>
146
+ <dict>
147
+ <key>nested</key>
148
+ <true/>
149
+ <key>weight</key>
150
+ <real>10</real>
151
+ </dict>
152
+ <key>^embedded\.provisionprofile$</key>
153
+ <dict>
154
+ <key>weight</key>
155
+ <real>20</real>
156
+ </dict>
157
+ <key>^version\.plist$</key>
158
+ <dict>
159
+ <key>weight</key>
160
+ <real>20</real>
161
+ </dict>
162
+ </dict>
163
+ </dict>
164
+ </plist>
@@ -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;
@@ -1,6 +1,6 @@
1
1
  framework module notifyvisitors {
2
2
  umbrella header "notifyvisitors.h"
3
-
4
3
  export *
4
+
5
5
  module * { export * }
6
6
  }
@@ -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,19 +6,23 @@
6
6
  <dict>
7
7
  <key>Assets.car</key>
8
8
  <data>
9
- 9YxBcMOpOEB6e7RY4Ar1C8G17ns=
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
- J2F67xdC0Tq78zw63x3cSDf5F1E=
17
+ BDjm6dkjScJA0TNfBqlBUt+4kzc=
18
18
  </data>
19
19
  <key>Modules/module.modulemap</key>
20
20
  <data>
21
- ssqSvaUzlY/r6GHxmph0GIHY1NY=
21
+ yFbjB1gVf2vU4Y8gQYcxK+3+nC0=
22
+ </data>
23
+ <key>PrivacyInfo.xcprivacy</key>
24
+ <data>
25
+ u24A9ubHMBWN/9Tt/I7O4HNbiig=
22
26
  </data>
23
27
  </dict>
24
28
  <key>files2</key>
@@ -27,21 +31,28 @@
27
31
  <dict>
28
32
  <key>hash2</key>
29
33
  <data>
30
- bvVoM3jCMGiveQZSoOL3ESViq2i3sN/YwbqNtzy+Tgk=
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>
41
45
  <dict>
42
46
  <key>hash2</key>
43
47
  <data>
44
- Q32U9PPopKciPA3pgC16NrErqUjh1sFvUJqLPZbdSz4=
48
+ 0id7bPTigY+L+zqPmId0zsdS6sHQmuq96L2l5pEpRIo=
49
+ </data>
50
+ </dict>
51
+ <key>PrivacyInfo.xcprivacy</key>
52
+ <dict>
53
+ <key>hash2</key>
54
+ <data>
55
+ J4JIEHuRJMEpT/iC569ut4yLv1G/OemjtZJhCMuYoU0=
45
56
  </data>
46
57
  </dict>
47
58
  </dict>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-notifyvisitors",
3
- "version": "4.3.5",
3
+ "version": "4.4.1",
4
4
  "description": "React Native Notifyvisitors SDK for push notifications and surveys",
5
5
  "main": "index",
6
6
  "scripts": {
@@ -9,7 +9,7 @@ Pod::Spec.new do |s|
9
9
  s.license = package_json["license"]
10
10
  s.author = { package_json["author"] => package_json["author"] }
11
11
  s.platform = :ios
12
- s.ios.deployment_target = '8.0'
12
+ s.ios.deployment_target = '12.0'
13
13
  s.source = { :git => "#{package_json["repository"]["url"]}.git", :tag => "#{s.version}" }
14
14
  s.source_files = ['ios/RNNotifyvisitors/*.{h,m}']
15
15
  s.static_framework = true
@@ -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.3'
26
+ s.dependency 'notifyvisitors', '7.1.0'
27
27
  end