New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

pushy-react-native

Package Overview
Dependencies
Maintainers
0
Versions
48
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pushy-react-native - npm Package Compare versions

Comparing version 1.0.41 to 1.0.42

30

lib/Pushy.d.ts

@@ -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 @@ }

2

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc