You're Invited: Meet the Socket team at BSidesSF and RSAC - April 27 - May 1.RSVP
Socket
Sign inDemoInstall
Socket

pushy-react-native

Package Overview
Dependencies
Maintainers
1
Versions
54
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

to
1.0.39

11

lib/Pushy.d.ts

@@ -133,2 +133,13 @@ // Type definitions for pushy-react-native

/**
* Android specific.
*
* Enables foreground service mode. The SDK will create a foreground service that
* the Android OS will never terminate, which will ensure notification delivery in
* the background and low memory state.
*
* @param toggle A boolean indicating whether foreground service mode should be enabled.
*/
toggleForegroundService(enabled: boolean): void;
setEnterpriseConfig(apiEndoint: string, mqttEndpoint: string): void;

@@ -135,0 +146,0 @@ }

1

lib/Pushy.js

@@ -74,2 +74,3 @@ import { Platform, AppRegistry, NativeModules, NativeEventEmitter } from 'react-native';

Pushy.setEnterpriseCertificate = () => {};
Pushy.toggleForegroundService = () => {};
Pushy.toggleDirectConnectivity = () => {};

@@ -76,0 +77,0 @@ Pushy.togglePermissionVerification = () => {};

2

package.json
{
"name": "pushy-react-native",
"version": "1.0.38",
"version": "1.0.39",
"description": "The official Pushy SDK for React Native apps.",

@@ -5,0 +5,0 @@ "main": "lib/Pushy.js",