Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-native-onesignal

Package Overview
Dependencies
Maintainers
3
Versions
136
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-native-onesignal - npm Package Compare versions

Comparing version 3.2.8 to 3.2.9

android/.idea/gradle.xml

23

index.js

@@ -56,3 +56,3 @@

export default class OneSignal {
static addEventListener(type: any, handler: Function) {
static addEventListener(type, handler) {
if (!checkIfInitialized()) return;

@@ -69,2 +69,6 @@

if (type == 'opened') {
RNOneSignal.didSetNotificationOpenedHandler();
}
// Check if there is a cache for this type of event

@@ -107,3 +111,3 @@ var cache = _notificationCache.get(type);

static promptForPushNotificationsWithUserResponse(callback: Function) {
static promptForPushNotificationsWithUserResponse(callback) {
if (!checkIfInitialized()) return;

@@ -162,3 +166,3 @@

static checkPermissions(callback: Function) {
static checkPermissions(callback) {
if (!checkIfInitialized()) return;

@@ -187,3 +191,3 @@

static getPermissionSubscriptionState(callback: Function) {
static getPermissionSubscriptionState(callback) {
if (!checkIfInitialized()) return;

@@ -365,2 +369,13 @@

static setExternalUserId(externalId) {
if (!checkIfInitialized()) return;
RNOneSignal.setExternalUserId(externalId);
}
static removeExternalUserId() {
if (!checkIfInitialized()) return;
RNOneSignal.removeExternalUserId();
}
}

2

package.json
{
"name": "react-native-onesignal",
"version": "3.2.8",
"version": "3.2.9",
"description": "React Native OneSignal Component",

@@ -5,0 +5,0 @@ "main": "index",

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

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