pushy-react-native
Advanced tools
Comparing version 1.0.22 to 1.0.23
@@ -19,2 +19,8 @@ import { Platform, AppRegistry, NativeModules, NativeEventEmitter } from 'react-native'; | ||
else { | ||
// Android: Define placeholder methods for RN built in Event Emitter calls | ||
if (Platform.OS === 'android') { | ||
Pushy.addListener = () => {}; | ||
Pushy.removeListeners = () => {}; | ||
} | ||
// Create event emitter | ||
@@ -21,0 +27,0 @@ const pushyEventEmitter = new NativeEventEmitter(Pushy); |
{ | ||
"name": "pushy-react-native", | ||
"version": "1.0.22", | ||
"version": "1.0.23", | ||
"description": "The official Pushy SDK for React Native apps.", | ||
@@ -11,3 +11,3 @@ "main": "lib/Pushy.js", | ||
"type": "git", | ||
"url": "git+https://github.com/pushy-me/pushy-react-native.git" | ||
"url": "git+https://github.com/pushy/pushy-react-native.git" | ||
}, | ||
@@ -17,6 +17,6 @@ "author": "Pushy <support@pushy.me>", | ||
"bugs": { | ||
"url": "https://github.com/pushy-me/pushy-react-native/issues" | ||
"url": "https://github.com/pushy/pushy-react-native/issues" | ||
}, | ||
"homepage": "https://github.com/pushy-me/pushy-react-native#readme", | ||
"homepage": "https://github.com/pushy/pushy-react-native#readme", | ||
"dependencies": {} | ||
} |
@@ -14,3 +14,3 @@ # pushy-react-native | ||
Please refer to [pushy-demo-react-native](https://github.com/pushy-me/pushy-demo-react-native) for a sample project that integrates this SDK. | ||
Please refer to [pushy-demo-react-native](https://github.com/pushy/pushy-demo-react-native) for a sample project that integrates this SDK. | ||
@@ -17,0 +17,0 @@ ## License |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
51
216840