react-native-notifyvisitors 4.4.2 → 4.4.3
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.
- package/android/.settings/org.eclipse.buildship.core.prefs +1 -1
- package/android/src/main/java/com/rn_notifyvisitors/RNNotifyvisitorsModule.java +3 -4
- package/ios/RNNotifyvisitors/RNNotifyvisitors.m +1 -1
- package/ios/RNNotifyvisitors.xcodeproj/project.pbxproj +4 -4
- package/ios/notifyvisitors.xcframework/Info.plist +6 -6
- package/ios/notifyvisitors.xcframework/ios-arm64/notifyvisitors.framework/Headers/notifyvisitors.h +46 -16
- package/ios/notifyvisitors.xcframework/ios-arm64/notifyvisitors.framework/Info.plist +0 -0
- package/ios/notifyvisitors.xcframework/ios-arm64/notifyvisitors.framework/_CodeSignature/CodeResources +3 -3
- package/ios/notifyvisitors.xcframework/ios-arm64/notifyvisitors.framework/notifyvisitors +0 -0
- package/ios/notifyvisitors.xcframework/ios-arm64_x86_64-maccatalyst/notifyvisitors.framework/Versions/A/Headers/notifyvisitors.h +46 -16
- package/ios/notifyvisitors.xcframework/ios-arm64_x86_64-maccatalyst/notifyvisitors.framework/Versions/A/Resources/Info.plist +3 -3
- package/ios/notifyvisitors.xcframework/ios-arm64_x86_64-maccatalyst/notifyvisitors.framework/Versions/A/_CodeSignature/CodeResources +3 -3
- package/ios/notifyvisitors.xcframework/ios-arm64_x86_64-maccatalyst/notifyvisitors.framework/Versions/A/notifyvisitors +0 -0
- package/ios/notifyvisitors.xcframework/ios-arm64_x86_64-simulator/notifyvisitors.framework/Headers/notifyvisitors.h +46 -16
- package/ios/notifyvisitors.xcframework/ios-arm64_x86_64-simulator/notifyvisitors.framework/Info.plist +0 -0
- package/ios/notifyvisitors.xcframework/ios-arm64_x86_64-simulator/notifyvisitors.framework/_CodeSignature/CodeResources +3 -3
- package/ios/notifyvisitors.xcframework/ios-arm64_x86_64-simulator/notifyvisitors.framework/notifyvisitors +0 -0
- package/package.json +1 -1
|
@@ -5,7 +5,7 @@ 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=/
|
|
8
|
+
java.home=/Library/Java/JavaVirtualMachines/jdk-19.jdk/Contents/Home
|
|
9
9
|
jvm.arguments=
|
|
10
10
|
offline.mode=false
|
|
11
11
|
override.workspace.settings=true
|
|
@@ -49,7 +49,7 @@ public class RNNotifyvisitorsModule extends ReactContextBaseJavaModule implement
|
|
|
49
49
|
|
|
50
50
|
private final ReactApplicationContext reactContext;
|
|
51
51
|
private static final String TAG = "RN-NotifyVisitors";
|
|
52
|
-
private static final String PLUGIN_VERSION = "4.4.
|
|
52
|
+
private static final String PLUGIN_VERSION = "4.4.3";
|
|
53
53
|
|
|
54
54
|
private String PUSH_BANNER_CLICK_EVENT = "nv_push_banner_click";
|
|
55
55
|
private String CHAT_BOT_BUTTON_CLICK = "nv_chat_bot_button_click";
|
|
@@ -1161,7 +1161,8 @@ public class RNNotifyvisitorsModule extends ReactContextBaseJavaModule implement
|
|
|
1161
1161
|
public void stopNotifications() {
|
|
1162
1162
|
try {
|
|
1163
1163
|
Log.i(TAG, "STOP NOTIFICATIONS !!");
|
|
1164
|
-
NotifyVisitorsApi.getInstance(reactContext).stopNotification();
|
|
1164
|
+
// NotifyVisitorsApi.getInstance(reactContext).stopNotification();
|
|
1165
|
+
if (reactContext.getCurrentActivity() != null) NotifyVisitorsApi.getInstance(reactContext.getCurrentActivity()).stopNotification();
|
|
1165
1166
|
} catch (Exception e) {
|
|
1166
1167
|
Log.i(TAG, "STOP NOTIFICATIONS ERROR : " + e);
|
|
1167
1168
|
}
|
|
@@ -1447,8 +1448,6 @@ public class RNNotifyvisitorsModule extends ReactContextBaseJavaModule implement
|
|
|
1447
1448
|
Log.i(TAG, "INSIDE HANDLE INTENT !!!!");
|
|
1448
1449
|
|
|
1449
1450
|
JSONObject dataInfo, finalDataInfo;
|
|
1450
|
-
|
|
1451
|
-
|
|
1452
1451
|
String action = intent.getAction();
|
|
1453
1452
|
Uri url = intent.getData();
|
|
1454
1453
|
finalDataInfo = new JSONObject();
|
|
@@ -23,7 +23,7 @@ int nvCheckPushClickTimeCounter = 0;
|
|
|
23
23
|
|
|
24
24
|
@implementation RNNotifyvisitors
|
|
25
25
|
|
|
26
|
-
static NSString *const kNVPluginVersion = @"4.4.
|
|
26
|
+
static NSString *const kNVPluginVersion = @"4.4.3";
|
|
27
27
|
|
|
28
28
|
- (dispatch_queue_t)methodQueue{
|
|
29
29
|
return dispatch_get_main_queue();
|
|
@@ -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
|
-
|
|
12
|
+
35E440C82D759ECC001BC654 /* notifyvisitors.xcframework in Frameworks */ = {isa = PBXBuildFile; fileRef = 35E440C72D759ECC001BC654 /* 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
|
-
|
|
35
|
+
35E440C72D759ECC001BC654 /* 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
|
-
|
|
47
|
+
35E440C82D759ECC001BC654 /* 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
|
-
|
|
65
|
+
35E440C72D759ECC001BC654 /* notifyvisitors.xcframework */,
|
|
66
66
|
DC4962D123BE131B005E63F5 /* RNNotifyvisitors */,
|
|
67
67
|
134814211AA4EA7D00B7C361 /* Products */,
|
|
68
68
|
DC31F4E323BC9CC900AAB2DB /* Frameworks */,
|
|
@@ -6,9 +6,9 @@
|
|
|
6
6
|
<array>
|
|
7
7
|
<dict>
|
|
8
8
|
<key>BinaryPath</key>
|
|
9
|
-
<string>notifyvisitors.framework/
|
|
9
|
+
<string>notifyvisitors.framework/notifyvisitors</string>
|
|
10
10
|
<key>LibraryIdentifier</key>
|
|
11
|
-
<string>ios-arm64_x86_64-
|
|
11
|
+
<string>ios-arm64_x86_64-simulator</string>
|
|
12
12
|
<key>LibraryPath</key>
|
|
13
13
|
<string>notifyvisitors.framework</string>
|
|
14
14
|
<key>SupportedArchitectures</key>
|
|
@@ -19,13 +19,13 @@
|
|
|
19
19
|
<key>SupportedPlatform</key>
|
|
20
20
|
<string>ios</string>
|
|
21
21
|
<key>SupportedPlatformVariant</key>
|
|
22
|
-
<string>
|
|
22
|
+
<string>simulator</string>
|
|
23
23
|
</dict>
|
|
24
24
|
<dict>
|
|
25
25
|
<key>BinaryPath</key>
|
|
26
|
-
<string>notifyvisitors.framework/notifyvisitors</string>
|
|
26
|
+
<string>notifyvisitors.framework/Versions/A/notifyvisitors</string>
|
|
27
27
|
<key>LibraryIdentifier</key>
|
|
28
|
-
<string>ios-arm64_x86_64-
|
|
28
|
+
<string>ios-arm64_x86_64-maccatalyst</string>
|
|
29
29
|
<key>LibraryPath</key>
|
|
30
30
|
<string>notifyvisitors.framework</string>
|
|
31
31
|
<key>SupportedArchitectures</key>
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
<key>SupportedPlatform</key>
|
|
37
37
|
<string>ios</string>
|
|
38
38
|
<key>SupportedPlatformVariant</key>
|
|
39
|
-
<string>
|
|
39
|
+
<string>maccatalyst</string>
|
|
40
40
|
</dict>
|
|
41
41
|
<dict>
|
|
42
42
|
<key>BinaryPath</key>
|
package/ios/notifyvisitors.xcframework/ios-arm64/notifyvisitors.framework/Headers/notifyvisitors.h
CHANGED
|
@@ -9,6 +9,8 @@
|
|
|
9
9
|
#import <UserNotifications/UserNotifications.h>
|
|
10
10
|
#import <UIKit/UIKit.h>
|
|
11
11
|
|
|
12
|
+
|
|
13
|
+
|
|
12
14
|
//! Project version number for notifyvisitors.
|
|
13
15
|
FOUNDATION_EXPORT double notifyvisitorsVersionNumber;
|
|
14
16
|
|
|
@@ -29,16 +31,20 @@ typedef void(^nvGetCount)(NSInteger);
|
|
|
29
31
|
typedef void(^nvUnreadCenterCount)(NSDictionary*_Nullable);
|
|
30
32
|
|
|
31
33
|
typedef void(^NotificationClickResponseData)(NSMutableDictionary*_Nullable);
|
|
34
|
+
|
|
35
|
+
typedef void(^OnUserTrackListener)(NSDictionary*_Nullable);
|
|
32
36
|
typedef void(^nv_UID)(NSString *_Nullable);
|
|
33
37
|
|
|
38
|
+
#pragma mark - Notifyvisitors Delegate
|
|
39
|
+
|
|
34
40
|
@protocol notifyvisitorsDelegate <NSObject>
|
|
35
41
|
|
|
36
42
|
@optional
|
|
37
43
|
-(void)NotifyvisitorsGetEventResponseWithUserInfo:(NSDictionary*_Nullable)userInfo DEPRECATED_MSG_ATTRIBUTE("first deprecated in Notifyvisitors iOS SDK 7.0.1 Use [notifyvisitors notifyvisitorsEventsResponseCallback:] (see notifyvisitors.h)");
|
|
38
44
|
-(void)notifyvisitorsEventsResponseCallback:(NSDictionary*_Nullable)callback;
|
|
45
|
+
-(void)notifyvisitorsKnownUserIdentified:(NSDictionary*_Nullable)userInfo;
|
|
39
46
|
@end
|
|
40
47
|
|
|
41
|
-
|
|
42
48
|
@interface NVCenterStyleConfig : NSObject
|
|
43
49
|
|
|
44
50
|
@property (strong, nonatomic)UIColor * _Nullable unselectedTabTextColor;
|
|
@@ -66,6 +72,7 @@ typedef void(^nv_UID)(NSString *_Nullable);
|
|
|
66
72
|
@end
|
|
67
73
|
|
|
68
74
|
|
|
75
|
+
@class NVSDKCallbackUtils;
|
|
69
76
|
|
|
70
77
|
@interface notifyvisitors : NSObject <UNUserNotificationCenterDelegate>
|
|
71
78
|
|
|
@@ -73,10 +80,13 @@ typedef void(^nv_UID)(NSString *_Nullable);
|
|
|
73
80
|
|
|
74
81
|
+(instancetype _Nonnull )sharedInstance;
|
|
75
82
|
|
|
76
|
-
#pragma mark - INITIAL INTEGRATION METHODS
|
|
83
|
+
#pragma mark - INITIAL INTEGRATION METHODS (INITIALIZE Notifyvisitors SDK and Basic Integration Methods)
|
|
77
84
|
|
|
85
|
+
//+(NVSDKCallbackUtils *_Nullable)nvRreturnSwiftClassInstance;
|
|
78
86
|
+(void)Initialize:(NSString *_Nullable)nvMode;
|
|
79
87
|
|
|
88
|
+
+(void)initializeWithBrandId:(NSInteger)brandID secretKey:(NSString *_Nullable)secretKey appMode:(NSString *_Nullable)nvMode launchingOptions:(NSDictionary *_Nullable)launchingOptions;
|
|
89
|
+
|
|
80
90
|
+(void)applicationDidEnterBackground:(UIApplication *_Nullable)application;
|
|
81
91
|
+(void)sceneDidEnterBackground:(UIScene *_Nullable)scene API_AVAILABLE(ios(13.0));
|
|
82
92
|
|
|
@@ -94,22 +104,39 @@ typedef void(^nv_UID)(NSString *_Nullable);
|
|
|
94
104
|
+(void)scene:(UIScene *_Nullable)scene willConnectToSession:(UISceneSession *_Nullable)session options:(UISceneConnectionOptions *_Nullable)connectionOptions API_AVAILABLE(ios(13.0));
|
|
95
105
|
+(void)scene:(UIScene *_Nullable)scene openURLContexts:(NSSet<UIOpenURLContext *> *_Nullable)URLContexts API_AVAILABLE(ios(13.0));
|
|
96
106
|
|
|
97
|
-
+(void)
|
|
107
|
+
+(void)continueUserActivityWith:(NSUserActivity*_Nullable)userActivity;
|
|
108
|
+
+(void)scene:(UIScene *_Nullable)scene continueUserActivity:(NSUserActivity *_Nullable)userActivity API_AVAILABLE(ios(13.0));
|
|
98
109
|
|
|
99
|
-
+(void)UserIdentifier:(NSString *_Nullable) userID UserParams:(NSMutableDictionary *_Nullable) UserParams;
|
|
100
110
|
|
|
101
|
-
|
|
111
|
+
#pragma mark - InAppBanner AND InAppSurveys METHODS
|
|
102
112
|
|
|
103
|
-
+(void)
|
|
113
|
+
+(void)Show:(NSMutableDictionary *_Nullable)UserTokens CustomRule:(NSMutableDictionary *_Nullable)cuxstomRule;
|
|
104
114
|
|
|
105
|
-
+(void)Show:(NSMutableDictionary *_Nullable)UserTokens CustomRule:(NSMutableDictionary *_Nullable)customRule;
|
|
106
115
|
+(void)scrollViewDidScroll:(UIScrollView *_Nullable) scrollView;
|
|
107
116
|
+(void)DismissAllNotifyvisitorsInAppNotifications;
|
|
108
117
|
+(void)StopInAppNotifications;
|
|
109
|
-
|
|
118
|
+
|
|
119
|
+
#pragma mark - TRACKING EVENTS METHOD
|
|
120
|
+
|
|
121
|
+
+(void)trackEvents:(NSString *_Nullable)event_name Attributes:(NSMutableDictionary *_Nullable)attributes lifetimeValue:(NSString *_Nullable)ltv Scope:(int)scope;
|
|
122
|
+
|
|
123
|
+
#pragma mark - USER TRACKING METHODS
|
|
124
|
+
|
|
125
|
+
+(void)UserIdentifier:(NSString *_Nullable) userID UserParams:(NSMutableDictionary *_Nullable) UserParams;
|
|
126
|
+
|
|
127
|
+
+(void)userIdentifierWithUserParams:(NSDictionary *_Nullable)userParams onUserTrackListener:(OnUserTrackListener _Nullable )onUserTrackListener;
|
|
128
|
+
|
|
129
|
+
+(NSString *_Nullable)getNvUid;
|
|
130
|
+
|
|
131
|
+
+(void)getNvUid:(nv_UID _Nullable)nvUID DEPRECATED_MSG_ATTRIBUTE("first deprecated in Notifyvisitors iOS SDK 7.2.0 Use NSString *myNvUID = [notifyvisitors getNvUid] to get reformated method (see notifyvisitors.h)");
|
|
132
|
+
|
|
133
|
+
|
|
134
|
+
#pragma mark - PUSH NOTIFICATIONS METHODS
|
|
110
135
|
|
|
111
136
|
+(void)RegisterPushWithDelegate:(id _Nullable )delegate App:(UIApplication *_Nullable)application launchOptions:(NSDictionary *_Nullable)launchOptions;
|
|
137
|
+
|
|
112
138
|
+(void)DidRegisteredNotification:(UIApplication *_Nullable)application deviceToken:(NSData *_Nullable)deviceToken;
|
|
139
|
+
|
|
113
140
|
+(NSString *_Nullable)getPushRegistrationToken;
|
|
114
141
|
|
|
115
142
|
+(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;
|
|
@@ -118,6 +145,8 @@ typedef void(^nv_UID)(NSString *_Nullable);
|
|
|
118
145
|
|
|
119
146
|
+(void)updatePushBadgeNumberWithValue:(nvPushBadgeCount)nvPushBadgeNumber;
|
|
120
147
|
|
|
148
|
+
#pragma mark - PUSH NOTIFICATIONS DELEGATE METHODS
|
|
149
|
+
|
|
121
150
|
+(void)didReceiveRemoteNotificationWithUserInfo:(NSDictionary *_Nullable)userInfo;
|
|
122
151
|
+(NSMutableDictionary *_Nullable)PushNotificationActionDataFromUserInfo:(NSDictionary *_Nullable)userinfo;
|
|
123
152
|
+(void)didReceiveRemoteNotification:(NSDictionary *_Nullable)userInfo fetchCompletionHandler:(void(^_Nullable)(UIBackgroundFetchResult))completionHandler;
|
|
@@ -127,25 +156,26 @@ typedef void(^nv_UID)(NSString *_Nullable);
|
|
|
127
156
|
+(void)didReceiveNotificationResponse:(UNNotificationResponse *_Nullable)response API_AVAILABLE(ios(10.0));
|
|
128
157
|
+(void)PushNotificationActionDataFromResponse:(UNNotificationResponse *_Nullable)response AutoRedirectOtherApps:(BOOL)autoRedirect clickResponseData:(NotificationClickResponseData _Nullable )pushClickResponse API_AVAILABLE(ios(10.0));
|
|
129
158
|
|
|
159
|
+
#pragma mark - NOTIFICATION SERVICE EXTENSION METHOD
|
|
160
|
+
|
|
161
|
+
+(void)LoadAttachmentWithRequest:(UNNotificationRequest *_Nullable)request bestAttemptContent:(UNMutableNotificationContent *_Nullable)bestAttemptContent withContentHandler:(nullable void (^)(UNNotificationContent * _Nonnull))contentHandler API_AVAILABLE(ios(10.0));
|
|
162
|
+
|
|
163
|
+
|
|
164
|
+
#pragma mark - NOTIFICATION CENTER METHODS
|
|
130
165
|
|
|
131
166
|
+(void)NotifyVisitorsNotificationCentre DEPRECATED_MSG_ATTRIBUTE("first deprecated in Notifyvisitors iOS SDK 6.4.3 Use [notifyvisitors notificationCenter:] (see notifyvisitors.h)");
|
|
132
167
|
|
|
133
168
|
+(void)notificationCenter;
|
|
134
169
|
+(void)notificationCenterWithConfiguration:(NVCenterStyleConfig *_Nullable)configuration;
|
|
135
170
|
+(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)");
|
|
171
|
+
+(void)GetUnreadPushNotification:(nvGetCount _Nullable )nvUnreadCount;
|
|
136
172
|
|
|
137
173
|
+(void)getNotificationCenterData:(void(^_Nullable)(NSDictionary *_Nullable))notificationsData;
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
//GetNotificationCentreData:(NotificationListData _Nullable ) notificationDataList;
|
|
141
|
-
|
|
142
|
-
+(void)GetUnreadPushNotification:(nvGetCount _Nullable )nvUnreadCount;
|
|
143
174
|
+(void)getNotificationCenterCountWithConfiguration:(NVCenterStyleConfig *_Nullable)configuration countResult:(nvUnreadCenterCount _Nullable )unreadCenterCounts;
|
|
144
175
|
|
|
176
|
+
#pragma mark - OTHER METHODS
|
|
145
177
|
+(void)stopGeofencePushforDateTime:(NSString *_Nullable)nvDateTime additionalHours: (NSInteger)nvtimeinHours;
|
|
146
178
|
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
+(void)LoadAttachmentWithRequest:(UNNotificationRequest *_Nullable)request bestAttemptContent:(UNMutableNotificationContent *_Nullable)bestAttemptContent withContentHandler:(nullable void (^)(UNNotificationContent * _Nonnull))contentHandler API_AVAILABLE(ios(10.0));
|
|
179
|
+
+(void)requestAppleAppStoreInAppReview;
|
|
150
180
|
|
|
151
181
|
@end
|
|
Binary file
|
|
@@ -10,11 +10,11 @@
|
|
|
10
10
|
</data>
|
|
11
11
|
<key>Headers/notifyvisitors.h</key>
|
|
12
12
|
<data>
|
|
13
|
-
|
|
13
|
+
03UVUk5KiH6D6nnKOKqTgm3Awxk=
|
|
14
14
|
</data>
|
|
15
15
|
<key>Info.plist</key>
|
|
16
16
|
<data>
|
|
17
|
-
|
|
17
|
+
0+AMc+2+6zdXcR1HBRqvp3zHbf0=
|
|
18
18
|
</data>
|
|
19
19
|
<key>Modules/module.modulemap</key>
|
|
20
20
|
<data>
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
<dict>
|
|
39
39
|
<key>hash2</key>
|
|
40
40
|
<data>
|
|
41
|
-
|
|
41
|
+
pqIR+VtayCbyCvNpDU3x2kKsLc2KkFGS6qcRTXqALXE=
|
|
42
42
|
</data>
|
|
43
43
|
</dict>
|
|
44
44
|
<key>Modules/module.modulemap</key>
|
|
Binary file
|
|
@@ -9,6 +9,8 @@
|
|
|
9
9
|
#import <UserNotifications/UserNotifications.h>
|
|
10
10
|
#import <UIKit/UIKit.h>
|
|
11
11
|
|
|
12
|
+
|
|
13
|
+
|
|
12
14
|
//! Project version number for notifyvisitors.
|
|
13
15
|
FOUNDATION_EXPORT double notifyvisitorsVersionNumber;
|
|
14
16
|
|
|
@@ -29,16 +31,20 @@ typedef void(^nvGetCount)(NSInteger);
|
|
|
29
31
|
typedef void(^nvUnreadCenterCount)(NSDictionary*_Nullable);
|
|
30
32
|
|
|
31
33
|
typedef void(^NotificationClickResponseData)(NSMutableDictionary*_Nullable);
|
|
34
|
+
|
|
35
|
+
typedef void(^OnUserTrackListener)(NSDictionary*_Nullable);
|
|
32
36
|
typedef void(^nv_UID)(NSString *_Nullable);
|
|
33
37
|
|
|
38
|
+
#pragma mark - Notifyvisitors Delegate
|
|
39
|
+
|
|
34
40
|
@protocol notifyvisitorsDelegate <NSObject>
|
|
35
41
|
|
|
36
42
|
@optional
|
|
37
43
|
-(void)NotifyvisitorsGetEventResponseWithUserInfo:(NSDictionary*_Nullable)userInfo DEPRECATED_MSG_ATTRIBUTE("first deprecated in Notifyvisitors iOS SDK 7.0.1 Use [notifyvisitors notifyvisitorsEventsResponseCallback:] (see notifyvisitors.h)");
|
|
38
44
|
-(void)notifyvisitorsEventsResponseCallback:(NSDictionary*_Nullable)callback;
|
|
45
|
+
-(void)notifyvisitorsKnownUserIdentified:(NSDictionary*_Nullable)userInfo;
|
|
39
46
|
@end
|
|
40
47
|
|
|
41
|
-
|
|
42
48
|
@interface NVCenterStyleConfig : NSObject
|
|
43
49
|
|
|
44
50
|
@property (strong, nonatomic)UIColor * _Nullable unselectedTabTextColor;
|
|
@@ -66,6 +72,7 @@ typedef void(^nv_UID)(NSString *_Nullable);
|
|
|
66
72
|
@end
|
|
67
73
|
|
|
68
74
|
|
|
75
|
+
@class NVSDKCallbackUtils;
|
|
69
76
|
|
|
70
77
|
@interface notifyvisitors : NSObject <UNUserNotificationCenterDelegate>
|
|
71
78
|
|
|
@@ -73,10 +80,13 @@ typedef void(^nv_UID)(NSString *_Nullable);
|
|
|
73
80
|
|
|
74
81
|
+(instancetype _Nonnull )sharedInstance;
|
|
75
82
|
|
|
76
|
-
#pragma mark - INITIAL INTEGRATION METHODS
|
|
83
|
+
#pragma mark - INITIAL INTEGRATION METHODS (INITIALIZE Notifyvisitors SDK and Basic Integration Methods)
|
|
77
84
|
|
|
85
|
+
//+(NVSDKCallbackUtils *_Nullable)nvRreturnSwiftClassInstance;
|
|
78
86
|
+(void)Initialize:(NSString *_Nullable)nvMode;
|
|
79
87
|
|
|
88
|
+
+(void)initializeWithBrandId:(NSInteger)brandID secretKey:(NSString *_Nullable)secretKey appMode:(NSString *_Nullable)nvMode launchingOptions:(NSDictionary *_Nullable)launchingOptions;
|
|
89
|
+
|
|
80
90
|
+(void)applicationDidEnterBackground:(UIApplication *_Nullable)application;
|
|
81
91
|
+(void)sceneDidEnterBackground:(UIScene *_Nullable)scene API_AVAILABLE(ios(13.0));
|
|
82
92
|
|
|
@@ -94,22 +104,39 @@ typedef void(^nv_UID)(NSString *_Nullable);
|
|
|
94
104
|
+(void)scene:(UIScene *_Nullable)scene willConnectToSession:(UISceneSession *_Nullable)session options:(UISceneConnectionOptions *_Nullable)connectionOptions API_AVAILABLE(ios(13.0));
|
|
95
105
|
+(void)scene:(UIScene *_Nullable)scene openURLContexts:(NSSet<UIOpenURLContext *> *_Nullable)URLContexts API_AVAILABLE(ios(13.0));
|
|
96
106
|
|
|
97
|
-
+(void)
|
|
107
|
+
+(void)continueUserActivityWith:(NSUserActivity*_Nullable)userActivity;
|
|
108
|
+
+(void)scene:(UIScene *_Nullable)scene continueUserActivity:(NSUserActivity *_Nullable)userActivity API_AVAILABLE(ios(13.0));
|
|
98
109
|
|
|
99
|
-
+(void)UserIdentifier:(NSString *_Nullable) userID UserParams:(NSMutableDictionary *_Nullable) UserParams;
|
|
100
110
|
|
|
101
|
-
|
|
111
|
+
#pragma mark - InAppBanner AND InAppSurveys METHODS
|
|
102
112
|
|
|
103
|
-
+(void)
|
|
113
|
+
+(void)Show:(NSMutableDictionary *_Nullable)UserTokens CustomRule:(NSMutableDictionary *_Nullable)cuxstomRule;
|
|
104
114
|
|
|
105
|
-
+(void)Show:(NSMutableDictionary *_Nullable)UserTokens CustomRule:(NSMutableDictionary *_Nullable)customRule;
|
|
106
115
|
+(void)scrollViewDidScroll:(UIScrollView *_Nullable) scrollView;
|
|
107
116
|
+(void)DismissAllNotifyvisitorsInAppNotifications;
|
|
108
117
|
+(void)StopInAppNotifications;
|
|
109
|
-
|
|
118
|
+
|
|
119
|
+
#pragma mark - TRACKING EVENTS METHOD
|
|
120
|
+
|
|
121
|
+
+(void)trackEvents:(NSString *_Nullable)event_name Attributes:(NSMutableDictionary *_Nullable)attributes lifetimeValue:(NSString *_Nullable)ltv Scope:(int)scope;
|
|
122
|
+
|
|
123
|
+
#pragma mark - USER TRACKING METHODS
|
|
124
|
+
|
|
125
|
+
+(void)UserIdentifier:(NSString *_Nullable) userID UserParams:(NSMutableDictionary *_Nullable) UserParams;
|
|
126
|
+
|
|
127
|
+
+(void)userIdentifierWithUserParams:(NSDictionary *_Nullable)userParams onUserTrackListener:(OnUserTrackListener _Nullable )onUserTrackListener;
|
|
128
|
+
|
|
129
|
+
+(NSString *_Nullable)getNvUid;
|
|
130
|
+
|
|
131
|
+
+(void)getNvUid:(nv_UID _Nullable)nvUID DEPRECATED_MSG_ATTRIBUTE("first deprecated in Notifyvisitors iOS SDK 7.2.0 Use NSString *myNvUID = [notifyvisitors getNvUid] to get reformated method (see notifyvisitors.h)");
|
|
132
|
+
|
|
133
|
+
|
|
134
|
+
#pragma mark - PUSH NOTIFICATIONS METHODS
|
|
110
135
|
|
|
111
136
|
+(void)RegisterPushWithDelegate:(id _Nullable )delegate App:(UIApplication *_Nullable)application launchOptions:(NSDictionary *_Nullable)launchOptions;
|
|
137
|
+
|
|
112
138
|
+(void)DidRegisteredNotification:(UIApplication *_Nullable)application deviceToken:(NSData *_Nullable)deviceToken;
|
|
139
|
+
|
|
113
140
|
+(NSString *_Nullable)getPushRegistrationToken;
|
|
114
141
|
|
|
115
142
|
+(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;
|
|
@@ -118,6 +145,8 @@ typedef void(^nv_UID)(NSString *_Nullable);
|
|
|
118
145
|
|
|
119
146
|
+(void)updatePushBadgeNumberWithValue:(nvPushBadgeCount)nvPushBadgeNumber;
|
|
120
147
|
|
|
148
|
+
#pragma mark - PUSH NOTIFICATIONS DELEGATE METHODS
|
|
149
|
+
|
|
121
150
|
+(void)didReceiveRemoteNotificationWithUserInfo:(NSDictionary *_Nullable)userInfo;
|
|
122
151
|
+(NSMutableDictionary *_Nullable)PushNotificationActionDataFromUserInfo:(NSDictionary *_Nullable)userinfo;
|
|
123
152
|
+(void)didReceiveRemoteNotification:(NSDictionary *_Nullable)userInfo fetchCompletionHandler:(void(^_Nullable)(UIBackgroundFetchResult))completionHandler;
|
|
@@ -127,25 +156,26 @@ typedef void(^nv_UID)(NSString *_Nullable);
|
|
|
127
156
|
+(void)didReceiveNotificationResponse:(UNNotificationResponse *_Nullable)response API_AVAILABLE(ios(10.0));
|
|
128
157
|
+(void)PushNotificationActionDataFromResponse:(UNNotificationResponse *_Nullable)response AutoRedirectOtherApps:(BOOL)autoRedirect clickResponseData:(NotificationClickResponseData _Nullable )pushClickResponse API_AVAILABLE(ios(10.0));
|
|
129
158
|
|
|
159
|
+
#pragma mark - NOTIFICATION SERVICE EXTENSION METHOD
|
|
160
|
+
|
|
161
|
+
+(void)LoadAttachmentWithRequest:(UNNotificationRequest *_Nullable)request bestAttemptContent:(UNMutableNotificationContent *_Nullable)bestAttemptContent withContentHandler:(nullable void (^)(UNNotificationContent * _Nonnull))contentHandler API_AVAILABLE(ios(10.0));
|
|
162
|
+
|
|
163
|
+
|
|
164
|
+
#pragma mark - NOTIFICATION CENTER METHODS
|
|
130
165
|
|
|
131
166
|
+(void)NotifyVisitorsNotificationCentre DEPRECATED_MSG_ATTRIBUTE("first deprecated in Notifyvisitors iOS SDK 6.4.3 Use [notifyvisitors notificationCenter:] (see notifyvisitors.h)");
|
|
132
167
|
|
|
133
168
|
+(void)notificationCenter;
|
|
134
169
|
+(void)notificationCenterWithConfiguration:(NVCenterStyleConfig *_Nullable)configuration;
|
|
135
170
|
+(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)");
|
|
171
|
+
+(void)GetUnreadPushNotification:(nvGetCount _Nullable )nvUnreadCount;
|
|
136
172
|
|
|
137
173
|
+(void)getNotificationCenterData:(void(^_Nullable)(NSDictionary *_Nullable))notificationsData;
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
//GetNotificationCentreData:(NotificationListData _Nullable ) notificationDataList;
|
|
141
|
-
|
|
142
|
-
+(void)GetUnreadPushNotification:(nvGetCount _Nullable )nvUnreadCount;
|
|
143
174
|
+(void)getNotificationCenterCountWithConfiguration:(NVCenterStyleConfig *_Nullable)configuration countResult:(nvUnreadCenterCount _Nullable )unreadCenterCounts;
|
|
144
175
|
|
|
176
|
+
#pragma mark - OTHER METHODS
|
|
145
177
|
+(void)stopGeofencePushforDateTime:(NSString *_Nullable)nvDateTime additionalHours: (NSInteger)nvtimeinHours;
|
|
146
178
|
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
+(void)LoadAttachmentWithRequest:(UNNotificationRequest *_Nullable)request bestAttemptContent:(UNMutableNotificationContent *_Nullable)bestAttemptContent withContentHandler:(nullable void (^)(UNNotificationContent * _Nonnull))contentHandler API_AVAILABLE(ios(10.0));
|
|
179
|
+
+(void)requestAppleAppStoreInAppReview;
|
|
150
180
|
|
|
151
181
|
@end
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
<plist version="1.0">
|
|
4
4
|
<dict>
|
|
5
5
|
<key>BuildMachineOSBuild</key>
|
|
6
|
-
<string>
|
|
6
|
+
<string>22H313</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.
|
|
20
|
+
<string>7.2.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.
|
|
26
|
+
<string>7.2.0</string>
|
|
27
27
|
<key>DTCompiler</key>
|
|
28
28
|
<string>com.apple.compilers.llvm.clang.1_0</string>
|
|
29
29
|
<key>DTPlatformBuild</key>
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
</data>
|
|
11
11
|
<key>Resources/Info.plist</key>
|
|
12
12
|
<data>
|
|
13
|
-
|
|
13
|
+
GBeoyLgvM3Zc/+U7kJfq4K2qbNs=
|
|
14
14
|
</data>
|
|
15
15
|
<key>Resources/PrivacyInfo.xcprivacy</key>
|
|
16
16
|
<data>
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
<dict>
|
|
24
24
|
<key>hash2</key>
|
|
25
25
|
<data>
|
|
26
|
-
|
|
26
|
+
pqIR+VtayCbyCvNpDU3x2kKsLc2KkFGS6qcRTXqALXE=
|
|
27
27
|
</data>
|
|
28
28
|
</dict>
|
|
29
29
|
<key>Modules/module.modulemap</key>
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
<dict>
|
|
45
45
|
<key>hash2</key>
|
|
46
46
|
<data>
|
|
47
|
-
|
|
47
|
+
QUxMhx9UrFY/Q7+g1L6xvBmXcPQlcGOaFom2aT8bjV8=
|
|
48
48
|
</data>
|
|
49
49
|
</dict>
|
|
50
50
|
<key>Resources/PrivacyInfo.xcprivacy</key>
|
|
Binary file
|
|
@@ -9,6 +9,8 @@
|
|
|
9
9
|
#import <UserNotifications/UserNotifications.h>
|
|
10
10
|
#import <UIKit/UIKit.h>
|
|
11
11
|
|
|
12
|
+
|
|
13
|
+
|
|
12
14
|
//! Project version number for notifyvisitors.
|
|
13
15
|
FOUNDATION_EXPORT double notifyvisitorsVersionNumber;
|
|
14
16
|
|
|
@@ -29,16 +31,20 @@ typedef void(^nvGetCount)(NSInteger);
|
|
|
29
31
|
typedef void(^nvUnreadCenterCount)(NSDictionary*_Nullable);
|
|
30
32
|
|
|
31
33
|
typedef void(^NotificationClickResponseData)(NSMutableDictionary*_Nullable);
|
|
34
|
+
|
|
35
|
+
typedef void(^OnUserTrackListener)(NSDictionary*_Nullable);
|
|
32
36
|
typedef void(^nv_UID)(NSString *_Nullable);
|
|
33
37
|
|
|
38
|
+
#pragma mark - Notifyvisitors Delegate
|
|
39
|
+
|
|
34
40
|
@protocol notifyvisitorsDelegate <NSObject>
|
|
35
41
|
|
|
36
42
|
@optional
|
|
37
43
|
-(void)NotifyvisitorsGetEventResponseWithUserInfo:(NSDictionary*_Nullable)userInfo DEPRECATED_MSG_ATTRIBUTE("first deprecated in Notifyvisitors iOS SDK 7.0.1 Use [notifyvisitors notifyvisitorsEventsResponseCallback:] (see notifyvisitors.h)");
|
|
38
44
|
-(void)notifyvisitorsEventsResponseCallback:(NSDictionary*_Nullable)callback;
|
|
45
|
+
-(void)notifyvisitorsKnownUserIdentified:(NSDictionary*_Nullable)userInfo;
|
|
39
46
|
@end
|
|
40
47
|
|
|
41
|
-
|
|
42
48
|
@interface NVCenterStyleConfig : NSObject
|
|
43
49
|
|
|
44
50
|
@property (strong, nonatomic)UIColor * _Nullable unselectedTabTextColor;
|
|
@@ -66,6 +72,7 @@ typedef void(^nv_UID)(NSString *_Nullable);
|
|
|
66
72
|
@end
|
|
67
73
|
|
|
68
74
|
|
|
75
|
+
@class NVSDKCallbackUtils;
|
|
69
76
|
|
|
70
77
|
@interface notifyvisitors : NSObject <UNUserNotificationCenterDelegate>
|
|
71
78
|
|
|
@@ -73,10 +80,13 @@ typedef void(^nv_UID)(NSString *_Nullable);
|
|
|
73
80
|
|
|
74
81
|
+(instancetype _Nonnull )sharedInstance;
|
|
75
82
|
|
|
76
|
-
#pragma mark - INITIAL INTEGRATION METHODS
|
|
83
|
+
#pragma mark - INITIAL INTEGRATION METHODS (INITIALIZE Notifyvisitors SDK and Basic Integration Methods)
|
|
77
84
|
|
|
85
|
+
//+(NVSDKCallbackUtils *_Nullable)nvRreturnSwiftClassInstance;
|
|
78
86
|
+(void)Initialize:(NSString *_Nullable)nvMode;
|
|
79
87
|
|
|
88
|
+
+(void)initializeWithBrandId:(NSInteger)brandID secretKey:(NSString *_Nullable)secretKey appMode:(NSString *_Nullable)nvMode launchingOptions:(NSDictionary *_Nullable)launchingOptions;
|
|
89
|
+
|
|
80
90
|
+(void)applicationDidEnterBackground:(UIApplication *_Nullable)application;
|
|
81
91
|
+(void)sceneDidEnterBackground:(UIScene *_Nullable)scene API_AVAILABLE(ios(13.0));
|
|
82
92
|
|
|
@@ -94,22 +104,39 @@ typedef void(^nv_UID)(NSString *_Nullable);
|
|
|
94
104
|
+(void)scene:(UIScene *_Nullable)scene willConnectToSession:(UISceneSession *_Nullable)session options:(UISceneConnectionOptions *_Nullable)connectionOptions API_AVAILABLE(ios(13.0));
|
|
95
105
|
+(void)scene:(UIScene *_Nullable)scene openURLContexts:(NSSet<UIOpenURLContext *> *_Nullable)URLContexts API_AVAILABLE(ios(13.0));
|
|
96
106
|
|
|
97
|
-
+(void)
|
|
107
|
+
+(void)continueUserActivityWith:(NSUserActivity*_Nullable)userActivity;
|
|
108
|
+
+(void)scene:(UIScene *_Nullable)scene continueUserActivity:(NSUserActivity *_Nullable)userActivity API_AVAILABLE(ios(13.0));
|
|
98
109
|
|
|
99
|
-
+(void)UserIdentifier:(NSString *_Nullable) userID UserParams:(NSMutableDictionary *_Nullable) UserParams;
|
|
100
110
|
|
|
101
|
-
|
|
111
|
+
#pragma mark - InAppBanner AND InAppSurveys METHODS
|
|
102
112
|
|
|
103
|
-
+(void)
|
|
113
|
+
+(void)Show:(NSMutableDictionary *_Nullable)UserTokens CustomRule:(NSMutableDictionary *_Nullable)cuxstomRule;
|
|
104
114
|
|
|
105
|
-
+(void)Show:(NSMutableDictionary *_Nullable)UserTokens CustomRule:(NSMutableDictionary *_Nullable)customRule;
|
|
106
115
|
+(void)scrollViewDidScroll:(UIScrollView *_Nullable) scrollView;
|
|
107
116
|
+(void)DismissAllNotifyvisitorsInAppNotifications;
|
|
108
117
|
+(void)StopInAppNotifications;
|
|
109
|
-
|
|
118
|
+
|
|
119
|
+
#pragma mark - TRACKING EVENTS METHOD
|
|
120
|
+
|
|
121
|
+
+(void)trackEvents:(NSString *_Nullable)event_name Attributes:(NSMutableDictionary *_Nullable)attributes lifetimeValue:(NSString *_Nullable)ltv Scope:(int)scope;
|
|
122
|
+
|
|
123
|
+
#pragma mark - USER TRACKING METHODS
|
|
124
|
+
|
|
125
|
+
+(void)UserIdentifier:(NSString *_Nullable) userID UserParams:(NSMutableDictionary *_Nullable) UserParams;
|
|
126
|
+
|
|
127
|
+
+(void)userIdentifierWithUserParams:(NSDictionary *_Nullable)userParams onUserTrackListener:(OnUserTrackListener _Nullable )onUserTrackListener;
|
|
128
|
+
|
|
129
|
+
+(NSString *_Nullable)getNvUid;
|
|
130
|
+
|
|
131
|
+
+(void)getNvUid:(nv_UID _Nullable)nvUID DEPRECATED_MSG_ATTRIBUTE("first deprecated in Notifyvisitors iOS SDK 7.2.0 Use NSString *myNvUID = [notifyvisitors getNvUid] to get reformated method (see notifyvisitors.h)");
|
|
132
|
+
|
|
133
|
+
|
|
134
|
+
#pragma mark - PUSH NOTIFICATIONS METHODS
|
|
110
135
|
|
|
111
136
|
+(void)RegisterPushWithDelegate:(id _Nullable )delegate App:(UIApplication *_Nullable)application launchOptions:(NSDictionary *_Nullable)launchOptions;
|
|
137
|
+
|
|
112
138
|
+(void)DidRegisteredNotification:(UIApplication *_Nullable)application deviceToken:(NSData *_Nullable)deviceToken;
|
|
139
|
+
|
|
113
140
|
+(NSString *_Nullable)getPushRegistrationToken;
|
|
114
141
|
|
|
115
142
|
+(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;
|
|
@@ -118,6 +145,8 @@ typedef void(^nv_UID)(NSString *_Nullable);
|
|
|
118
145
|
|
|
119
146
|
+(void)updatePushBadgeNumberWithValue:(nvPushBadgeCount)nvPushBadgeNumber;
|
|
120
147
|
|
|
148
|
+
#pragma mark - PUSH NOTIFICATIONS DELEGATE METHODS
|
|
149
|
+
|
|
121
150
|
+(void)didReceiveRemoteNotificationWithUserInfo:(NSDictionary *_Nullable)userInfo;
|
|
122
151
|
+(NSMutableDictionary *_Nullable)PushNotificationActionDataFromUserInfo:(NSDictionary *_Nullable)userinfo;
|
|
123
152
|
+(void)didReceiveRemoteNotification:(NSDictionary *_Nullable)userInfo fetchCompletionHandler:(void(^_Nullable)(UIBackgroundFetchResult))completionHandler;
|
|
@@ -127,25 +156,26 @@ typedef void(^nv_UID)(NSString *_Nullable);
|
|
|
127
156
|
+(void)didReceiveNotificationResponse:(UNNotificationResponse *_Nullable)response API_AVAILABLE(ios(10.0));
|
|
128
157
|
+(void)PushNotificationActionDataFromResponse:(UNNotificationResponse *_Nullable)response AutoRedirectOtherApps:(BOOL)autoRedirect clickResponseData:(NotificationClickResponseData _Nullable )pushClickResponse API_AVAILABLE(ios(10.0));
|
|
129
158
|
|
|
159
|
+
#pragma mark - NOTIFICATION SERVICE EXTENSION METHOD
|
|
160
|
+
|
|
161
|
+
+(void)LoadAttachmentWithRequest:(UNNotificationRequest *_Nullable)request bestAttemptContent:(UNMutableNotificationContent *_Nullable)bestAttemptContent withContentHandler:(nullable void (^)(UNNotificationContent * _Nonnull))contentHandler API_AVAILABLE(ios(10.0));
|
|
162
|
+
|
|
163
|
+
|
|
164
|
+
#pragma mark - NOTIFICATION CENTER METHODS
|
|
130
165
|
|
|
131
166
|
+(void)NotifyVisitorsNotificationCentre DEPRECATED_MSG_ATTRIBUTE("first deprecated in Notifyvisitors iOS SDK 6.4.3 Use [notifyvisitors notificationCenter:] (see notifyvisitors.h)");
|
|
132
167
|
|
|
133
168
|
+(void)notificationCenter;
|
|
134
169
|
+(void)notificationCenterWithConfiguration:(NVCenterStyleConfig *_Nullable)configuration;
|
|
135
170
|
+(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)");
|
|
171
|
+
+(void)GetUnreadPushNotification:(nvGetCount _Nullable )nvUnreadCount;
|
|
136
172
|
|
|
137
173
|
+(void)getNotificationCenterData:(void(^_Nullable)(NSDictionary *_Nullable))notificationsData;
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
//GetNotificationCentreData:(NotificationListData _Nullable ) notificationDataList;
|
|
141
|
-
|
|
142
|
-
+(void)GetUnreadPushNotification:(nvGetCount _Nullable )nvUnreadCount;
|
|
143
174
|
+(void)getNotificationCenterCountWithConfiguration:(NVCenterStyleConfig *_Nullable)configuration countResult:(nvUnreadCenterCount _Nullable )unreadCenterCounts;
|
|
144
175
|
|
|
176
|
+
#pragma mark - OTHER METHODS
|
|
145
177
|
+(void)stopGeofencePushforDateTime:(NSString *_Nullable)nvDateTime additionalHours: (NSInteger)nvtimeinHours;
|
|
146
178
|
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
+(void)LoadAttachmentWithRequest:(UNNotificationRequest *_Nullable)request bestAttemptContent:(UNMutableNotificationContent *_Nullable)bestAttemptContent withContentHandler:(nullable void (^)(UNNotificationContent * _Nonnull))contentHandler API_AVAILABLE(ios(10.0));
|
|
179
|
+
+(void)requestAppleAppStoreInAppReview;
|
|
150
180
|
|
|
151
181
|
@end
|
|
Binary file
|
|
@@ -10,11 +10,11 @@
|
|
|
10
10
|
</data>
|
|
11
11
|
<key>Headers/notifyvisitors.h</key>
|
|
12
12
|
<data>
|
|
13
|
-
|
|
13
|
+
03UVUk5KiH6D6nnKOKqTgm3Awxk=
|
|
14
14
|
</data>
|
|
15
15
|
<key>Info.plist</key>
|
|
16
16
|
<data>
|
|
17
|
-
|
|
17
|
+
zQ40hiOA7vpnEg/Jod4eoIbCUeo=
|
|
18
18
|
</data>
|
|
19
19
|
<key>Modules/module.modulemap</key>
|
|
20
20
|
<data>
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
<dict>
|
|
39
39
|
<key>hash2</key>
|
|
40
40
|
<data>
|
|
41
|
-
|
|
41
|
+
pqIR+VtayCbyCvNpDU3x2kKsLc2KkFGS6qcRTXqALXE=
|
|
42
42
|
</data>
|
|
43
43
|
</dict>
|
|
44
44
|
<key>Modules/module.modulemap</key>
|
|
Binary file
|