react-native-notifyvisitors 4.2.4 → 4.3.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 (59) hide show
  1. package/android/.settings/org.eclipse.buildship.core.prefs +3 -3
  2. package/android/build.gradle +1 -1
  3. package/android/src/main/java/com/rn_notifyvisitors/RNNotifyvisitorsModule.java +47 -8
  4. package/index.d.ts +1 -0
  5. package/index.js +379 -361
  6. package/ios/RNNotifyvisitors/RCTNVEventEmitter.m +69 -9
  7. package/ios/RNNotifyvisitors/RNNotifyvisitors.h +28 -17
  8. package/ios/RNNotifyvisitors/RNNotifyvisitors.m +116 -56
  9. package/ios/RNNotifyvisitors.xcodeproj/project.pbxproj +5 -37
  10. package/ios/notifyvisitors.xcframework/Info.plist +40 -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 +148 -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 +6 -0
  15. package/ios/notifyvisitors.xcframework/ios-arm64/notifyvisitors.framework/_CodeSignature/CodeResources +135 -0
  16. package/ios/notifyvisitors.xcframework/ios-arm64/notifyvisitors.framework/notifyvisitors +0 -0
  17. package/ios/notifyvisitors.xcframework/ios-arm64_x86_64-simulator/notifyvisitors.framework/Assets.car +0 -0
  18. package/ios/notifyvisitors.xcframework/ios-arm64_x86_64-simulator/notifyvisitors.framework/Headers/notifyvisitors.h +148 -0
  19. package/ios/notifyvisitors.xcframework/ios-arm64_x86_64-simulator/notifyvisitors.framework/Info.plist +0 -0
  20. package/ios/notifyvisitors.xcframework/ios-arm64_x86_64-simulator/notifyvisitors.framework/Modules/module.modulemap +6 -0
  21. package/ios/notifyvisitors.xcframework/ios-arm64_x86_64-simulator/notifyvisitors.framework/_CodeSignature/CodeResources +135 -0
  22. package/ios/notifyvisitors.xcframework/ios-arm64_x86_64-simulator/notifyvisitors.framework/notifyvisitors +0 -0
  23. package/ios/{Assets/nvResourceValues.plist → nvResourceValues.plist} +7 -3
  24. package/package.json +1 -1
  25. package/react-native-notifyvisitors.podspec +1 -1
  26. package/android/.gradle/7.4.2/checksums/checksums.lock +0 -0
  27. package/android/.gradle/7.4.2/dependencies-accessors/dependencies-accessors.lock +0 -0
  28. package/android/.gradle/7.4.2/dependencies-accessors/gc.properties +0 -0
  29. package/android/.gradle/7.4.2/fileChanges/last-build.bin +0 -0
  30. package/android/.gradle/7.4.2/fileHashes/fileHashes.lock +0 -0
  31. package/android/.gradle/7.4.2/gc.properties +0 -0
  32. package/android/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
  33. package/android/.gradle/buildOutputCleanup/cache.properties +0 -2
  34. package/android/.gradle/checksums/checksums.lock +0 -0
  35. package/android/.gradle/checksums/md5-checksums.bin +0 -0
  36. package/android/.gradle/checksums/sha1-checksums.bin +0 -0
  37. package/android/.gradle/vcs-1/gc.properties +0 -0
  38. package/ios/Assets/empty.png +0 -0
  39. package/ios/Assets/nv_NotificationCenterBg.png +0 -0
  40. package/ios/Assets/nv_NotificationCenterBg@2x.png +0 -0
  41. package/ios/Assets/nv_NotificationCenterBg@3x.png +0 -0
  42. package/ios/Assets/nv_deleteIcon.png +0 -0
  43. package/ios/Assets/nv_deleteIcon@2x.png +0 -0
  44. package/ios/Assets/pause.png +0 -0
  45. package/ios/Assets/play.png +0 -0
  46. package/ios/Assets/slider_bar.png +0 -0
  47. package/ios/Assets/slider_barHead.png +0 -0
  48. package/ios/RNNotifyvisitors.xcodeproj/project.xcworkspace/contents.xcworkspacedata +0 -4
  49. package/ios/RNNotifyvisitors.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +0 -8
  50. package/ios/RNNotifyvisitors.xcodeproj/project.xcworkspace/xcuserdata/neeraj.xcuserdatad/UserInterfaceState.xcuserstate +0 -0
  51. package/ios/RNNotifyvisitors.xcodeproj/project.xcworkspace/xcuserdata/nv_macbook-2.xcuserdatad/UserInterfaceState.xcuserstate +0 -0
  52. package/ios/RNNotifyvisitors.xcodeproj/project.xcworkspace/xcuserdata/siddharthgupta.xcuserdatad/UserInterfaceState.xcuserstate +0 -0
  53. package/ios/RNNotifyvisitors.xcodeproj/project.xcworkspace/xcuserdata/tagnpinwebsolutionsllp.xcuserdatad/UserInterfaceState.xcuserstate +0 -0
  54. package/ios/RNNotifyvisitors.xcodeproj/xcuserdata/neeraj.xcuserdatad/xcschemes/xcschememanagement.plist +0 -14
  55. package/ios/RNNotifyvisitors.xcodeproj/xcuserdata/nv_macbook-2.xcuserdatad/xcschemes/xcschememanagement.plist +0 -14
  56. package/ios/RNNotifyvisitors.xcodeproj/xcuserdata/siddharthgupta.xcuserdatad/xcschemes/xcschememanagement.plist +0 -14
  57. package/ios/RNNotifyvisitors.xcodeproj/xcuserdata/tagnpinwebsolutionsllp.xcuserdatad/xcschemes/xcschememanagement.plist +0 -14
  58. package/ios/libnotifyvisitors_6_4_4.a +0 -0
  59. package/ios/notifyvisitors.h +0 -137
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
@@ -1,4 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <Workspace
3
- version = "1.0">
4
- </Workspace>
@@ -1,8 +0,0 @@
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>IDEDidComputeMac32BitWarning</key>
6
- <true/>
7
- </dict>
8
- </plist>
@@ -1,14 +0,0 @@
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>SchemeUserState</key>
6
- <dict>
7
- <key>RNNotifyvisitors.xcscheme_^#shared#^_</key>
8
- <dict>
9
- <key>orderHint</key>
10
- <integer>0</integer>
11
- </dict>
12
- </dict>
13
- </dict>
14
- </plist>
@@ -1,14 +0,0 @@
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>SchemeUserState</key>
6
- <dict>
7
- <key>RNNotifyvisitors.xcscheme_^#shared#^_</key>
8
- <dict>
9
- <key>orderHint</key>
10
- <integer>0</integer>
11
- </dict>
12
- </dict>
13
- </dict>
14
- </plist>
@@ -1,14 +0,0 @@
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>SchemeUserState</key>
6
- <dict>
7
- <key>RNNotifyvisitors.xcscheme_^#shared#^_</key>
8
- <dict>
9
- <key>orderHint</key>
10
- <integer>37</integer>
11
- </dict>
12
- </dict>
13
- </dict>
14
- </plist>
@@ -1,14 +0,0 @@
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>SchemeUserState</key>
6
- <dict>
7
- <key>RNNotifyvisitors.xcscheme_^#shared#^_</key>
8
- <dict>
9
- <key>orderHint</key>
10
- <integer>0</integer>
11
- </dict>
12
- </dict>
13
- </dict>
14
- </plist>
Binary file
@@ -1,137 +0,0 @@
1
- //
2
- // notifyvisitors.h
3
- // notifyvisitors
4
- //
5
- // Created by Siddharth Gupta on 22/01/16.
6
- // Copyright © 2016 notifyvisitors. All rights reserved.
7
- //
8
-
9
- #import <Foundation/Foundation.h>
10
- #import <UIKit/UIKit.h>
11
-
12
- typedef NS_ENUM(NSUInteger, nvPushBadgeCount){
13
- nvPushBadgeCountIncreaseByOne,
14
- nvPushBadgeCountDecreaseByOne,
15
- nvPushBadgeCountClearAll
16
- };
17
-
18
- typedef void(^NotificationListData)(NSMutableArray* _Nullable);
19
- typedef void(^nvGetCount)(NSInteger);
20
- typedef void(^nvUnreadCenterCount)(NSDictionary* _Nullable);
21
-
22
- typedef void(^NotificationClickResponseData)(NSMutableDictionary* _Nullable);
23
- typedef void(^nv_UID)(NSString *_Nullable);
24
-
25
- @protocol notifyvisitorsDelegate <NSObject>
26
-
27
- @optional
28
- -(void)NotifyvisitorsChatBotActionCallbackWithUserInfo:(NSDictionary*_Nullable)userInfo;
29
-
30
- -(void)NotifyvisitorsGetEventResponseWithUserInfo:(NSDictionary*_Nullable)userInfo;
31
- @end
32
-
33
- @interface NVCenterStyleConfig : NSObject
34
-
35
- @property (strong, nonatomic, nullable)UIColor *unselectedTabTextColor;
36
-
37
- @property (strong, nonatomic, nullable)UIColor *selectedTabTextColor;
38
-
39
- @property (strong, nonatomic, nullable)UIColor *selectedTabBgColor;
40
- @property (strong, nonatomic, nullable)UIColor *unselectedTabBgColor;
41
-
42
- @property (nonatomic)NSInteger selectedTabIndex;
43
- @property (strong, nonatomic, nullable)UIFont *tabTextfont;
44
- @property (strong, nonatomic, nullable)UIColor *tabBadgeCountBorderColor;
45
- @property (strong, nonatomic, nullable)UIColor *tabBadgeCountFillColor;
46
- @property (strong, nonatomic, nullable)UIColor *tabBadgeCountTextColor;
47
- @property (nonatomic)BOOL shouldTabBadgeShine;
48
-
49
- +(instancetype _Nullable )sharedInstance;
50
-
51
- -(void)setFirstTabWithTabLable:(NSString *_Nonnull)tabLabel TagDisplayName:(NSString *_Nonnull)tabDisplayName;
52
-
53
- -(void)setSecondTabWithTabLable:(NSString *_Nonnull)tabLabel TagDisplayName:(NSString *_Nonnull)tabDisplayName;
54
-
55
- -(void)setThirdTabWithTabLable:(NSString *_Nonnull)tabLabel TagDisplayName:(NSString *_Nonnull)tabDisplayName;
56
-
57
- @end
58
-
59
-
60
-
61
-
62
- #if defined(__IPHONE_10_0) && __IPHONE_OS_VERSION_MAX_ALLOWED >= __IPHONE_10_0
63
- #import <UserNotifications/UserNotifications.h>
64
- @interface notifyvisitors : NSObject <UNUserNotificationCenterDelegate>
65
-
66
- +(void)LoadAttachmentWithRequest:(UNNotificationRequest *_Nullable)request bestAttemptContent:(UNMutableNotificationContent *_Nullable)bestAttemptContent withContentHandler:(nullable void (^)(UNNotificationContent * _Nonnull))contentHandler API_AVAILABLE(ios(10.0));
67
- +(void)willPresentNotification:(UNNotification *_Nullable)notification withCompletionHandler:(void (^_Nullable)(UNNotificationPresentationOptions options))completionHandler API_AVAILABLE(ios(10.0));
68
- +(void)didReceiveNotificationResponse:(UNNotificationResponse *_Nullable)response API_AVAILABLE(ios(10.0));
69
- +(void)PushNotificationActionDataFromResponse:(UNNotificationResponse *_Nullable)response AutoRedirectOtherApps:(BOOL)autoRedirect clickResponseData:(NotificationClickResponseData _Nullable)pushClickResponse API_AVAILABLE(ios(10.0));
70
- +(void)didReceiveRemoteNotification:(NSDictionary *_Nullable)userInfo fetchCompletionHandler:(void(^_Nullable)(UIBackgroundFetchResult))completionHandler;
71
- #else
72
-
73
-
74
- // iOS 10 Push notification delegate and service extension methods>>
75
-
76
-
77
- @interface notifyvisitors : NSObject
78
- #endif
79
- @property (nonatomic, weak)id <notifyvisitorsDelegate> _Nullable delegate;
80
-
81
- +(instancetype _Nullable )sharedInstance;
82
- +(void)Initialize:(NSString *_Nullable)nvMode;
83
-
84
- +(void)RegisterPushWithDelegate:(id _Nullable)delegate App:(UIApplication * _Nullable)application launchOptions:(NSDictionary *_Nullable)launchOptions;
85
- +(void)DidRegisteredNotification:(UIApplication *_Nullable)application deviceToken:(NSData * _Nullable)deviceToken;
86
- +(void)didReceiveRemoteNotificationWithUserInfofor_iOS7orBelow:(NSDictionary *_Nullable)userInfo;
87
-
88
- +(void)didReceiveRemoteNotificationWithUserInfo:(NSDictionary * _Nullable)userInfo;
89
-
90
- +(NSMutableDictionary * _Nullable)PushNotificationActionDataFromUserInfo:(NSDictionary *_Nullable)userinfo;
91
-
92
- +(void)OpenUrlWithApplication:(UIApplication *_Nullable)application Url:(NSURL *_Nullable)url;
93
- +(NSMutableDictionary* _Nullable)OpenUrlGetDataWithApplication: (UIApplication * _Nullable)application Url:(NSURL * _Nullable)url;
94
-
95
- +(void)Show:(NSMutableDictionary * _Nullable)UserTokens CustomRule:(NSMutableDictionary * _Nullable)customRule;
96
- +(void)UserIdentifier:(NSString *_Nullable) userID UserParams:(NSMutableDictionary * _Nullable) UserParams;
97
- //+(void)checkSetupComplete:(NSTimer * _Nullable)timer;
98
- +(void)scrollViewDidScroll:(UIScrollView * _Nullable) scrollView;
99
- //+(BOOL)isScrolled:(NSString * _Nullable)NotificationID;
100
- +(void)trackEvents:(NSString * _Nullable)event_name Attributes:(NSMutableDictionary * _Nullable)attributes lifetimeValue:(NSString * _Nullable)ltv Scope:(int)scope;
101
-
102
- +(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;
103
-
104
- +(void)pushPreferences:(NSArray*_Nullable)preferenceList isUnsubscribeFromAll:(BOOL)shouldUnsubscribe;
105
-
106
-
107
- +(void)NotifyVisitorsNotificationCentre DEPRECATED_MSG_ATTRIBUTE("first deprecated in Notifyvisitors iOS SDK 6.4.3 Use [notifyvisitors notificationCenter:] (see notifyvisitors.h)");
108
-
109
- +(void)notificationCenter;
110
-
111
- +(void)notificationCenterWithConfiguration:(NVCenterStyleConfig *_Nullable)configuration;
112
-
113
- +(void)GetUnreadPushNotification:(nvGetCount _Nullable )UnreadCount;
114
- +(void)getNotificationCenterCountWithConfiguration:(NVCenterStyleConfig *_Nullable)configuration countResult:(nvUnreadCenterCount _Nullable )unreadCenterCounts;
115
-
116
-
117
- +(NSString *_Nullable)getPushRegistrationToken;
118
-
119
- +(void)GetNotificationCentreData:(NotificationListData _Nullable) notificationDataList;
120
-
121
- +(void)applicationDidEnterBackground:(UIApplication *_Nullable)application;
122
- +(void)applicationDidBecomeActive:(UIApplication *_Nullable)application;
123
- +(void)applicationWillEnterForeground:(UIApplication *_Nullable)application;
124
- +(void)applicationWillTerminate;
125
-
126
- +(void)DismissAllNotifyvisitorsInAppNotifications;
127
-
128
- +(void)StopInAppNotifications;
129
- +(void)stopGeofencePushforDateTime:(NSString *_Nullable)nvDateTime additionalHours: (NSInteger)nvtimeinHours;
130
-
131
- +(void)startChatBotWithScreenName: (NSString *_Nullable)nvBotScreenName;
132
- +(void)getNvUid:(nv_UID _Nullable)nvUID;
133
- +(void)requestAppleAppStoreInAppReview;
134
- +(void)updatePushBadgeNumberWithValue:(nvPushBadgeCount)nvPushBadgeNumber;
135
-
136
-
137
- @end