react-native-notifyvisitors 4.1.2 → 4.1.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.
@@ -5,7 +5,7 @@ connection.gradle.distribution=GRADLE_DISTRIBUTION(VERSION(7.1.1))
5
5
  connection.project.dir=
6
6
  eclipse.preferences.version=1
7
7
  gradle.user.home=
8
- java.home=/Library/Java/JavaVirtualMachines/jdk1.8.0_261.jdk/Contents/Home
8
+ java.home=/Library/Java/JavaVirtualMachines/jdk-11.0.15.jdk/Contents/Home
9
9
  jvm.arguments=
10
10
  offline.mode=false
11
11
  override.workspace.settings=true
@@ -1,3 +1,5 @@
1
+ apply plugin: 'com.android.library'
2
+
1
3
  buildscript {
2
4
  repositories {
3
5
  google()
@@ -10,7 +12,6 @@ buildscript {
10
12
  }
11
13
  }
12
14
 
13
- apply plugin: 'com.android.library'
14
15
 
15
16
  android {
16
17
  compileSdkVersion 28
@@ -40,7 +40,7 @@ public class RNNotifyvisitorsModule extends ReactContextBaseJavaModule implement
40
40
 
41
41
  private final ReactApplicationContext reactContext;
42
42
  private static final String TAG = "RN-NotifyVisitors";
43
- private static final String PLUGIN_VERSION = "4.1.2";
43
+ private static final String PLUGIN_VERSION = "4.1.3";
44
44
 
45
45
  private String PUSH_BANNER_CLICK_EVENT = "nv_push_banner_click";
46
46
  private String CHAT_BOT_BUTTON_CLICK = "nv_chat_bot_button_click";
package/index.d.ts ADDED
@@ -0,0 +1,26 @@
1
+ export default class Notifyvisitors {
2
+ static show(tokens: any, customObjects: any, fragmentName: any, nvCallback: any): void;
3
+ static showNotifications(mAppInboxInfo: any, dismissValue: any): void;
4
+ static event(eventName: any, attributes: any, ltv: any, scope: any, nvCallback: any): void;
5
+ static userIdentifier(userID: any, sJsonObject: any): void;
6
+ static startChatBot(screenName: any, nvCallback: any): void;
7
+ static createNotificationChannel(chId: any, chName: any, chDescription: any, chImportance: any, enableLights: any, shouldVibrate: any, lightColor: any, soundFileName: any): void;
8
+ static deleteNotificationChannel(channelId: any): void;
9
+ static createNotificationChannelGroup(groupId: any, groupName: any): void;
10
+ static deleteNotificationChannelGroup(groupId: any): void;
11
+ static getNotificationCenterCount(tabCountInfo: any, callback: any): void;
12
+ static getRegistrationToken(nvCallback: any): void;
13
+ static requestInAppReview(nvCallback: any): void;
14
+ static subscribePushCategory(categoryInfo: any, unSubscribe2All: any): void;
15
+ static getLinkInfo(nvCallback: any): void;
16
+ static getNvUID(callback: any): void;
17
+ static getNotificationDataListener(callback: any): void;
18
+ static setAutoStartPermission_android_only(): void;
19
+ static stopNotifications(): void;
20
+ static stopGeofencePushforDateTime(dateTime: any, additionalHours: any): void;
21
+ static scheduleNotification(nid: any, tag: any, time: any, title: any, message: any, url: any, icon: any): void;
22
+ static getEventSurveyInfo(nvCallback: any): void;
23
+ static getNotificationCount(callback: any): void;
24
+ static scrollViewDidScroll_iOS_only(): void;
25
+ static promptForPushNotificationsWithUserResponse(callback: any): void;
26
+ }
@@ -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.1.2 !!");
35
+ NSLog(@"RN-NotifyVisitors PLUGIN VERSION : 4.1.3 !!");
36
36
  NSString *nvMode = nil;
37
37
  #if DEBUG
38
38
  nvMode = @"debug";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-notifyvisitors",
3
- "version": "4.1.2",
3
+ "version": "4.1.3",
4
4
  "description": "React Native Notifyvisitors SDK for push notifications and surveys",
5
5
  "main": "index",
6
6
  "scripts": {