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
1
Versions
41
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.10 to 1.0.11

12

lib/Pushy.js

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

else {
// Create event emitter
const pushyEventEmitter = new NativeEventEmitter(Pushy);
// Expose custom notification listener

@@ -24,5 +27,2 @@ Pushy.setNotificationListener = (handler) => {

if (Platform.OS === 'ios') {
// Create event emitter
const pushyEventEmitter = new NativeEventEmitter(Pushy);
// Subscribe to new notification events

@@ -40,2 +40,8 @@ pushyEventEmitter.addListener('Notification', handler);

};
// Expose custom notification click listener
Pushy.setNotificationClickListener = (handler) => {
// Subscribe to new notification events
pushyEventEmitter.addListener('NotificationClick', handler);
};
}

@@ -42,0 +48,0 @@

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