react-native-onesignal
Advanced tools
Comparing version 1.2.0 to 1.2.1
{ | ||
"name": "react-native-onesignal", | ||
"version": "1.2.0", | ||
"version": "1.2.1", | ||
"description": "React Native OneSignal Component", | ||
@@ -5,0 +5,0 @@ "main": "index", |
@@ -188,3 +188,3 @@ # React Native OneSignal | ||
* Follow the steps according to the official OneSignal SDK Installation here: https://documentation.onesignal.com/docs/installing-the-onesignal-ios-sdk | ||
* Make sure you installed the OneSignal Pod. | ||
* Make sure you installed the OneSignal Pod (Version 1.13.3). | ||
* Once you've finished, Open your project in Xcode. | ||
@@ -336,9 +336,12 @@ | ||
We exposed the tags API of OneSignal (currently on Android) in order to segment people in a better way. | ||
We exposed the tags API of OneSignal to allow you to target users with notification later. | ||
````javascript | ||
// Sending the tags for the device | ||
OneSignal.sendTags(missingTags); | ||
// Sending single tag | ||
OneSignal.sendTags("key", "value"); | ||
//Getting the tags from the server and use the received object | ||
// Sending multiple tags | ||
OneSignal.sendTags({key: "value", key2: "value2"}); | ||
//G etting the tags from the server and use the received object | ||
OneSignal.getTags((receivedTags) => { | ||
@@ -348,4 +351,4 @@ console.log(receivedTags); | ||
//Delete a tag | ||
OneSignal.deleteTag(tag); | ||
// Delete a tag | ||
OneSignal.deleteTag("key"); | ||
```` | ||
@@ -608,3 +611,3 @@ | ||
... | ||
pod 'OneSignal' | ||
pod 'OneSignal', '1.13.3' | ||
@@ -611,0 +614,0 @@ end |
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
3356926
627