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

react-native-onesignal

Package Overview
Dependencies
Maintainers
1
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 1.2.0 to 1.2.1

2

package.json
{
"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

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