pushy-react-native
Advanced tools
Comparing version 1.0.41 to 1.0.42
@@ -109,3 +109,3 @@ // Type definitions for pushy-react-native | ||
* | ||
* @param toggle A boolean indicating whether method swizzling should be enabled. | ||
* @param enabled A boolean indicating whether method swizzling should be enabled. | ||
*/ | ||
@@ -117,2 +117,24 @@ toggleMethodSwizzling(enabled: boolean): void; | ||
* | ||
* By default, the SDK will register for notifications with the Apple Push Notification Service. | ||
* This can be disabled for on-premises Pushy Enterprise deployments making use of Local Push Connectivity to deliver notifications. | ||
* | ||
* @param enabled A boolean indicating whether APNs integration should be enabled. | ||
*/ | ||
toggleAPNs(enabled: boolean): void; | ||
/** | ||
* iOS specific. | ||
* | ||
* On-premises Pushy Enterprise customers can use this method to enable Local Push Connectivity. | ||
* | ||
* @param endpoint The Pushy Enterprise deployment hostname. | ||
* @param port The Pushy Enterprise deployment MQTTS port number. | ||
* @param keepAlive The desired connection keep alive interval in seconds (300 is recommended). | ||
* @param ssids A string array of valid Wi-FI SSIDs that have access to the on-premises Pushy Enterprise deployment. | ||
*/ | ||
setLocalPushConnectivityConfig(endpint: string, port: number, keepAlive: number, ssids: [String]): void; | ||
/** | ||
* iOS specific. | ||
* | ||
* Set the iOS Badge count. | ||
@@ -146,2 +168,8 @@ * | ||
/** | ||
* Pushy Enterprise customers can use this method to enable Pushy Enterprise integration. | ||
* | ||
* @param apiEndpoint The Pushy Enterprise API hostname (string). | ||
* @param mqttEndpoint The Pushy Enterprise MQTTS hostname (string). | ||
*/ | ||
setEnterpriseConfig(apiEndoint: string, mqttEndpoint: string): void; | ||
@@ -148,0 +176,0 @@ } |
@@ -64,3 +64,5 @@ import { Platform, AppRegistry, NativeModules, NativeEventEmitter } from 'react-native'; | ||
Pushy.setBadge = () => {}; | ||
Pushy.toggleAPNs = () => {}; | ||
Pushy.toggleInAppBanner = () => {}; | ||
Pushy.setLocalPushConnectivityConfig = () => {}; | ||
Pushy.toggleIgnorePushPermissionDenial = () => {}; | ||
@@ -67,0 +69,0 @@ } |
{ | ||
"name": "pushy-react-native", | ||
"version": "1.0.41", | ||
"version": "1.0.42", | ||
"description": "The official Pushy SDK for React Native apps.", | ||
@@ -5,0 +5,0 @@ "main": "lib/Pushy.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
227
47720
10