react-native-notifyvisitors 4.3.4 → 4.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (25) hide show
  1. package/android/build.gradle +1 -1
  2. package/android/src/main/java/com/rn_notifyvisitors/RNNotifyvisitorsModule.java +28 -1
  3. package/index.d.ts +3 -0
  4. package/index.js +13 -0
  5. package/ios/RNNotifyvisitors/RNNotifyvisitors.m +1 -1
  6. package/ios/RNNotifyvisitors.xcodeproj/project.pbxproj +4 -4
  7. package/ios/notifyvisitors.xcframework/Info.plist +21 -0
  8. package/ios/notifyvisitors.xcframework/ios-arm64/notifyvisitors.framework/Assets.car +0 -0
  9. package/ios/notifyvisitors.xcframework/ios-arm64/notifyvisitors.framework/Info.plist +0 -0
  10. package/ios/notifyvisitors.xcframework/ios-arm64/notifyvisitors.framework/Modules/module.modulemap +1 -1
  11. package/ios/notifyvisitors.xcframework/ios-arm64/notifyvisitors.framework/_CodeSignature/CodeResources +5 -5
  12. package/ios/notifyvisitors.xcframework/ios-arm64/notifyvisitors.framework/notifyvisitors +0 -0
  13. package/ios/notifyvisitors.xcframework/ios-arm64_x86_64-maccatalyst/notifyvisitors.framework/Versions/A/Headers/notifyvisitors.h +148 -0
  14. package/ios/notifyvisitors.xcframework/ios-arm64_x86_64-maccatalyst/notifyvisitors.framework/Versions/A/Modules/module.modulemap +6 -0
  15. package/ios/notifyvisitors.xcframework/ios-arm64_x86_64-maccatalyst/notifyvisitors.framework/Versions/A/Resources/Assets.car +0 -0
  16. package/ios/notifyvisitors.xcframework/ios-arm64_x86_64-maccatalyst/notifyvisitors.framework/Versions/A/Resources/Info.plist +50 -0
  17. package/ios/notifyvisitors.xcframework/ios-arm64_x86_64-maccatalyst/notifyvisitors.framework/Versions/A/_CodeSignature/CodeResources +153 -0
  18. package/ios/notifyvisitors.xcframework/ios-arm64_x86_64-maccatalyst/notifyvisitors.framework/Versions/A/notifyvisitors +0 -0
  19. package/ios/notifyvisitors.xcframework/ios-arm64_x86_64-simulator/notifyvisitors.framework/Assets.car +0 -0
  20. package/ios/notifyvisitors.xcframework/ios-arm64_x86_64-simulator/notifyvisitors.framework/Info.plist +0 -0
  21. package/ios/notifyvisitors.xcframework/ios-arm64_x86_64-simulator/notifyvisitors.framework/Modules/module.modulemap +1 -1
  22. package/ios/notifyvisitors.xcframework/ios-arm64_x86_64-simulator/notifyvisitors.framework/_CodeSignature/CodeResources +5 -5
  23. package/ios/notifyvisitors.xcframework/ios-arm64_x86_64-simulator/notifyvisitors.framework/notifyvisitors +0 -0
  24. package/package.json +1 -1
  25. package/react-native-notifyvisitors.podspec +2 -2
@@ -34,7 +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'
37
+ implementation 'com.notifyvisitors.notifyvisitors:notifyvisitors:v5.4.9.2'
38
38
 
39
39
  implementation platform('com.google.firebase:firebase-bom:30.3.1')
40
40
  implementation ('com.google.firebase:firebase-messaging')
@@ -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.4";
46
+ private static final String PLUGIN_VERSION = "4.4.0";
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";
@@ -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,9 @@ export default class Notifyvisitors {
58
58
  pushPromptInfo: PushPromptInfo,
59
59
  callback: any
60
60
  ): void;
61
+ static nativePushPermissionPrompt(
62
+ callback: any
63
+ ): void;
61
64
  }
62
65
 
63
66
  export class PushPromptInfo {
package/index.js CHANGED
@@ -394,6 +394,19 @@ 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
+ }
409
+
397
410
  }
398
411
 
399
412
  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.4 !!");
35
+ NSLog(@"RN-NotifyVisitors PLUGIN VERSION : 4.4.0 !!");
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
+ 355BE7A72BCFAA2500CE1D58 /* notifyvisitors.xcframework in Frameworks */ = {isa = PBXBuildFile; fileRef = 355BE7A62BCFAA2500CE1D58 /* 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
+ 355BE7A62BCFAA2500CE1D58 /* 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
+ 355BE7A72BCFAA2500CE1D58 /* 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
+ 355BE7A62BCFAA2500CE1D58 /* 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>
@@ -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
  }
@@ -6,7 +6,7 @@
6
6
  <dict>
7
7
  <key>Assets.car</key>
8
8
  <data>
9
- 9YxBcMOpOEB6e7RY4Ar1C8G17ns=
9
+ FhgHeorOxshqaSkkpqWpnShSQf0=
10
10
  </data>
11
11
  <key>Headers/notifyvisitors.h</key>
12
12
  <data>
@@ -14,11 +14,11 @@
14
14
  </data>
15
15
  <key>Info.plist</key>
16
16
  <data>
17
- twHy1BIuvPCe0aa8eUN/6eqXnCM=
17
+ UJo7pppovYt4X4zx3wgIFxnzKI4=
18
18
  </data>
19
19
  <key>Modules/module.modulemap</key>
20
20
  <data>
21
- ssqSvaUzlY/r6GHxmph0GIHY1NY=
21
+ yFbjB1gVf2vU4Y8gQYcxK+3+nC0=
22
22
  </data>
23
23
  </dict>
24
24
  <key>files2</key>
@@ -27,7 +27,7 @@
27
27
  <dict>
28
28
  <key>hash2</key>
29
29
  <data>
30
- bvVoM3jCMGiveQZSoOL3ESViq2i3sN/YwbqNtzy+Tgk=
30
+ YaIAqXfYNg3wQcr64uYLZkhIiXmzCCfPTc56biwpn7o=
31
31
  </data>
32
32
  </dict>
33
33
  <key>Headers/notifyvisitors.h</key>
@@ -41,7 +41,7 @@
41
41
  <dict>
42
42
  <key>hash2</key>
43
43
  <data>
44
- Q32U9PPopKciPA3pgC16NrErqUjh1sFvUJqLPZbdSz4=
44
+ 0id7bPTigY+L+zqPmId0zsdS6sHQmuq96L2l5pEpRIo=
45
45
  </data>
46
46
  </dict>
47
47
  </dict>
@@ -0,0 +1,148 @@
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
+ +(void)getNvUid:(nv_UID _Nullable)nvUID;
101
+
102
+ +(void)Show:(NSMutableDictionary *_Nullable)UserTokens CustomRule:(NSMutableDictionary *_Nullable)customRule;
103
+ +(void)scrollViewDidScroll:(UIScrollView *_Nullable) scrollView;
104
+ +(void)DismissAllNotifyvisitorsInAppNotifications;
105
+ +(void)StopInAppNotifications;
106
+ +(void)requestAppleAppStoreInAppReview;
107
+
108
+ +(void)RegisterPushWithDelegate:(id _Nullable )delegate App:(UIApplication *_Nullable)application launchOptions:(NSDictionary *_Nullable)launchOptions;
109
+ +(void)DidRegisteredNotification:(UIApplication *_Nullable)application deviceToken:(NSData *_Nullable)deviceToken;
110
+ +(NSString *_Nullable)getPushRegistrationToken;
111
+
112
+ +(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;
113
+
114
+ +(void)pushPreferences:(NSArray *_Nullable)preferenceList isUnsubscribeFromAll:(BOOL)shouldUnsubscribe;
115
+
116
+ +(void)updatePushBadgeNumberWithValue:(nvPushBadgeCount)nvPushBadgeNumber;
117
+
118
+ +(void)didReceiveRemoteNotificationWithUserInfo:(NSDictionary *_Nullable)userInfo;
119
+ +(NSMutableDictionary *_Nullable)PushNotificationActionDataFromUserInfo:(NSDictionary *_Nullable)userinfo;
120
+ +(void)didReceiveRemoteNotification:(NSDictionary *_Nullable)userInfo fetchCompletionHandler:(void(^_Nullable)(UIBackgroundFetchResult))completionHandler;
121
+
122
+ +(void)willPresentNotification:(UNNotification *_Nullable)notification withCompletionHandler:(void (^_Nullable)(UNNotificationPresentationOptions options))completionHandler API_AVAILABLE(ios(10.0));
123
+
124
+ +(void)didReceiveNotificationResponse:(UNNotificationResponse *_Nullable)response API_AVAILABLE(ios(10.0));
125
+ +(void)PushNotificationActionDataFromResponse:(UNNotificationResponse *_Nullable)response AutoRedirectOtherApps:(BOOL)autoRedirect clickResponseData:(NotificationClickResponseData _Nullable )pushClickResponse API_AVAILABLE(ios(10.0));
126
+
127
+
128
+ +(void)NotifyVisitorsNotificationCentre DEPRECATED_MSG_ATTRIBUTE("first deprecated in Notifyvisitors iOS SDK 6.4.3 Use [notifyvisitors notificationCenter:] (see notifyvisitors.h)");
129
+
130
+ +(void)notificationCenter;
131
+ +(void)notificationCenterWithConfiguration:(NVCenterStyleConfig *_Nullable)configuration;
132
+ +(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)");
133
+
134
+ +(void)getNotificationCenterData:(void(^_Nullable)(NSDictionary *_Nullable))notificationsData;
135
+
136
+
137
+ //GetNotificationCentreData:(NotificationListData _Nullable ) notificationDataList;
138
+
139
+ +(void)GetUnreadPushNotification:(nvGetCount _Nullable )nvUnreadCount;
140
+ +(void)getNotificationCenterCountWithConfiguration:(NVCenterStyleConfig *_Nullable)configuration countResult:(nvUnreadCenterCount _Nullable )unreadCenterCounts;
141
+
142
+ +(void)stopGeofencePushforDateTime:(NSString *_Nullable)nvDateTime additionalHours: (NSInteger)nvtimeinHours;
143
+
144
+ //+(void)startChatBotWithScreenName:(NSString *)nvBotScreenName;
145
+
146
+ +(void)LoadAttachmentWithRequest:(UNNotificationRequest *_Nullable)request bestAttemptContent:(UNMutableNotificationContent *_Nullable)bestAttemptContent withContentHandler:(nullable void (^)(UNNotificationContent * _Nonnull))contentHandler API_AVAILABLE(ios(10.0));
147
+
148
+ @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>22G90</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.0.4</string>
21
+ <key>CFBundleSupportedPlatforms</key>
22
+ <array>
23
+ <string>MacOSX</string>
24
+ </array>
25
+ <key>CFBundleVersion</key>
26
+ <string>7.0.4</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>1510</string>
41
+ <key>DTXcodeBuild</key>
42
+ <string>15C65</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,153 @@
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
+ p/F/qGvZJQH++X1HbVpsFskn2iU=
10
+ </data>
11
+ <key>Resources/Info.plist</key>
12
+ <data>
13
+ XRk8J+3D4iqg9/C/PZHYDiNnFf4=
14
+ </data>
15
+ </dict>
16
+ <key>files2</key>
17
+ <dict>
18
+ <key>Headers/notifyvisitors.h</key>
19
+ <dict>
20
+ <key>hash2</key>
21
+ <data>
22
+ v0w3U/I0tbvxSSQWcCBAIhg96i4cM9/4UdAChoDsmRk=
23
+ </data>
24
+ </dict>
25
+ <key>Modules/module.modulemap</key>
26
+ <dict>
27
+ <key>hash2</key>
28
+ <data>
29
+ 0id7bPTigY+L+zqPmId0zsdS6sHQmuq96L2l5pEpRIo=
30
+ </data>
31
+ </dict>
32
+ <key>Resources/Assets.car</key>
33
+ <dict>
34
+ <key>hash2</key>
35
+ <data>
36
+ Tp4oCJGYdtcCqACMfI/x+S1S7jKD5GIsfzhZvhMTadM=
37
+ </data>
38
+ </dict>
39
+ <key>Resources/Info.plist</key>
40
+ <dict>
41
+ <key>hash2</key>
42
+ <data>
43
+ srdp4KNK0TYbUgiwlxnwK8RJ8AIzeWDSwvk19nJZfio=
44
+ </data>
45
+ </dict>
46
+ </dict>
47
+ <key>rules</key>
48
+ <dict>
49
+ <key>^Resources/</key>
50
+ <true/>
51
+ <key>^Resources/.*\.lproj/</key>
52
+ <dict>
53
+ <key>optional</key>
54
+ <true/>
55
+ <key>weight</key>
56
+ <real>1000</real>
57
+ </dict>
58
+ <key>^Resources/.*\.lproj/locversion.plist$</key>
59
+ <dict>
60
+ <key>omit</key>
61
+ <true/>
62
+ <key>weight</key>
63
+ <real>1100</real>
64
+ </dict>
65
+ <key>^Resources/Base\.lproj/</key>
66
+ <dict>
67
+ <key>weight</key>
68
+ <real>1010</real>
69
+ </dict>
70
+ <key>^version.plist$</key>
71
+ <true/>
72
+ </dict>
73
+ <key>rules2</key>
74
+ <dict>
75
+ <key>.*\.dSYM($|/)</key>
76
+ <dict>
77
+ <key>weight</key>
78
+ <real>11</real>
79
+ </dict>
80
+ <key>^(.*/)?\.DS_Store$</key>
81
+ <dict>
82
+ <key>omit</key>
83
+ <true/>
84
+ <key>weight</key>
85
+ <real>2000</real>
86
+ </dict>
87
+ <key>^(Frameworks|SharedFrameworks|PlugIns|Plug-ins|XPCServices|Helpers|MacOS|Library/(Automator|Spotlight|LoginItems))/</key>
88
+ <dict>
89
+ <key>nested</key>
90
+ <true/>
91
+ <key>weight</key>
92
+ <real>10</real>
93
+ </dict>
94
+ <key>^.*</key>
95
+ <true/>
96
+ <key>^Info\.plist$</key>
97
+ <dict>
98
+ <key>omit</key>
99
+ <true/>
100
+ <key>weight</key>
101
+ <real>20</real>
102
+ </dict>
103
+ <key>^PkgInfo$</key>
104
+ <dict>
105
+ <key>omit</key>
106
+ <true/>
107
+ <key>weight</key>
108
+ <real>20</real>
109
+ </dict>
110
+ <key>^Resources/</key>
111
+ <dict>
112
+ <key>weight</key>
113
+ <real>20</real>
114
+ </dict>
115
+ <key>^Resources/.*\.lproj/</key>
116
+ <dict>
117
+ <key>optional</key>
118
+ <true/>
119
+ <key>weight</key>
120
+ <real>1000</real>
121
+ </dict>
122
+ <key>^Resources/.*\.lproj/locversion.plist$</key>
123
+ <dict>
124
+ <key>omit</key>
125
+ <true/>
126
+ <key>weight</key>
127
+ <real>1100</real>
128
+ </dict>
129
+ <key>^Resources/Base\.lproj/</key>
130
+ <dict>
131
+ <key>weight</key>
132
+ <real>1010</real>
133
+ </dict>
134
+ <key>^[^/]+$</key>
135
+ <dict>
136
+ <key>nested</key>
137
+ <true/>
138
+ <key>weight</key>
139
+ <real>10</real>
140
+ </dict>
141
+ <key>^embedded\.provisionprofile$</key>
142
+ <dict>
143
+ <key>weight</key>
144
+ <real>20</real>
145
+ </dict>
146
+ <key>^version\.plist$</key>
147
+ <dict>
148
+ <key>weight</key>
149
+ <real>20</real>
150
+ </dict>
151
+ </dict>
152
+ </dict>
153
+ </plist>
@@ -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
  }
@@ -6,7 +6,7 @@
6
6
  <dict>
7
7
  <key>Assets.car</key>
8
8
  <data>
9
- 9YxBcMOpOEB6e7RY4Ar1C8G17ns=
9
+ FhgHeorOxshqaSkkpqWpnShSQf0=
10
10
  </data>
11
11
  <key>Headers/notifyvisitors.h</key>
12
12
  <data>
@@ -14,11 +14,11 @@
14
14
  </data>
15
15
  <key>Info.plist</key>
16
16
  <data>
17
- J2F67xdC0Tq78zw63x3cSDf5F1E=
17
+ SRrVcFXeTZ1gNQsNSvPQOMhWJHw=
18
18
  </data>
19
19
  <key>Modules/module.modulemap</key>
20
20
  <data>
21
- ssqSvaUzlY/r6GHxmph0GIHY1NY=
21
+ yFbjB1gVf2vU4Y8gQYcxK+3+nC0=
22
22
  </data>
23
23
  </dict>
24
24
  <key>files2</key>
@@ -27,7 +27,7 @@
27
27
  <dict>
28
28
  <key>hash2</key>
29
29
  <data>
30
- bvVoM3jCMGiveQZSoOL3ESViq2i3sN/YwbqNtzy+Tgk=
30
+ YaIAqXfYNg3wQcr64uYLZkhIiXmzCCfPTc56biwpn7o=
31
31
  </data>
32
32
  </dict>
33
33
  <key>Headers/notifyvisitors.h</key>
@@ -41,7 +41,7 @@
41
41
  <dict>
42
42
  <key>hash2</key>
43
43
  <data>
44
- Q32U9PPopKciPA3pgC16NrErqUjh1sFvUJqLPZbdSz4=
44
+ 0id7bPTigY+L+zqPmId0zsdS6sHQmuq96L2l5pEpRIo=
45
45
  </data>
46
46
  </dict>
47
47
  </dict>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-notifyvisitors",
3
- "version": "4.3.4",
3
+ "version": "4.4.0",
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.2'
26
+ s.dependency 'notifyvisitors', '7.0.4'
27
27
  end