react-native-onesignal
Advanced tools
Comparing version 3.5.0 to 3.6.0
21
index.js
@@ -475,10 +475,5 @@ | ||
static sendOutcome(name, callback=()=>{}) { | ||
static sendOutcome(name, callback=function(){}) { | ||
if (!checkIfInitialized()) return; | ||
if (Platform.OS === "ios") { | ||
console.warn("OneSignal.sendOutcome is not yet supported on iOS"); | ||
return; | ||
} | ||
invariant( | ||
@@ -492,10 +487,5 @@ typeof callback === 'function', | ||
static sendUniqueOutcome(name, callback=()=>{}) { | ||
static sendUniqueOutcome(name, callback=function(){}) { | ||
if (!checkIfInitialized()) return; | ||
if (Platform.OS === "ios") { | ||
console.warn("OneSignal.sendUniqueOutcome is not yet supported on iOS"); | ||
return; | ||
} | ||
invariant( | ||
@@ -509,10 +499,5 @@ typeof callback === 'function', | ||
static sendOutcomeWithValue(name, value, callback=()=>{}) { | ||
static sendOutcomeWithValue(name, value, callback=function(){}) { | ||
if (!checkIfInitialized()) return; | ||
if (Platform.OS === "ios") { | ||
console.warn("OneSignal.sendOutcomeWithValue is not yet supported on iOS"); | ||
return; | ||
} | ||
invariant( | ||
@@ -519,0 +504,0 @@ typeof callback === 'function', |
{ | ||
"name": "react-native-onesignal", | ||
"version": "3.5.0", | ||
"version": "3.6.0", | ||
"description": "React Native OneSignal SDK", | ||
@@ -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
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
17187977
43
392