You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

pushy-react-native

Package Overview
Dependencies
Maintainers
1
Versions
57
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.55

36

lib/Pushy.js

@@ -59,22 +59,22 @@ import { Platform, AppRegistry, NativeModules, NativeEventEmitter } from 'react-native';

};
}
// Android: Define placeholder method(s) for iOS-only functionality
if (Platform.OS === 'android') {
Pushy.setBadge = () => {};
Pushy.toggleAPNs = () => {};
Pushy.toggleInAppBanner = () => {};
Pushy.setLocalPushConnectivityConfig = () => {};
Pushy.toggleIgnorePushPermissionDenial = () => {};
}
// Android: Define placeholder method(s) for iOS-only functionality
if (Platform.OS === 'android') {
Pushy.setBadge = () => {};
Pushy.toggleAPNs = () => {};
Pushy.toggleInAppBanner = () => {};
Pushy.setLocalPushConnectivityConfig = () => {};
Pushy.toggleIgnorePushPermissionDenial = () => {};
}
// iOS: Define placeholder method(s) for Android-only functionality
if (Platform.OS === 'ios') {
Pushy.toggleFCM = () => {};
Pushy.setNotificationIcon = () => {};
Pushy.setHeartbeatInterval = () => {};
Pushy.setEnterpriseCertificate = () => {};
Pushy.toggleForegroundService = () => {};
Pushy.toggleDirectConnectivity = () => {};
Pushy.togglePermissionVerification = () => {};
// iOS: Define placeholder method(s) for Android-only functionality
if (Platform.OS === 'ios') {
Pushy.toggleFCM = () => {};
Pushy.setNotificationIcon = () => {};
Pushy.setHeartbeatInterval = () => {};
Pushy.setEnterpriseCertificate = () => {};
Pushy.toggleForegroundService = () => {};
Pushy.toggleDirectConnectivity = () => {};
Pushy.togglePermissionVerification = () => {};
}
}

@@ -81,0 +81,0 @@

{
"name": "pushy-react-native",
"version": "1.0.54",
"version": "1.0.55",
"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