New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

react-native-appboy-sdk

Package Overview
Dependencies
Maintainers
1
Versions
62
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-native-appboy-sdk - npm Package Compare versions

Comparing version 1.16.0 to 1.17.0

15

CHANGELOG.md

@@ -0,1 +1,16 @@

## 1.17.0
##### Breaking
- Updated the native iOS bridge to [Braze iOS SDK 3.20.0](https://github.com/Appboy/appboy-ios-sdk/releases/tag/3.20.0).
- **Important:** Braze iOS SDK 3.20.0 contains updated push token registration methods. We recommend upgrading to these methods as soon as possible to ensure a smooth transition as devices upgrade to iOS 13. In `application:didRegisterForRemoteNotificationsWithDeviceToken:`, replace
```
[[Appboy sharedInstance] registerPushToken:
[NSString stringWithFormat:@"%@", deviceToken]];
```
with
```
[[Appboy sharedInstance] registerDeviceToken:deviceToken]];
```
- `ReactAppboy.registerPushToken()` was renamed to `ReactAppboy.registerAndroidPushToken()` and is now a no-op on iOS. On iOS, push tokens must now be registered through native methods.
## 1.16.0

@@ -2,0 +17,0 @@

4

index.d.ts

@@ -146,5 +146,7 @@ // Definitions by: ahanriat <https://github.com/ahanriat>

*
* No-op on iOS.
*
* @param {string} token - The device's push token.
*/
export function registerPushToken(token: string): void;
export function registerAndroidPushToken(token: string): void;

@@ -151,0 +153,0 @@ /**

@@ -136,6 +136,8 @@ const AppboyReactBridge = require('react-native').NativeModules.AppboyReactBridge;

*
* No-op on iOS.
*
* @param {string} token - The device's push token.
*/
registerPushToken: function(token) {
AppboyReactBridge.registerPushToken(token);
registerAndroidPushToken: function(token) {
AppboyReactBridge.registerAndroidPushToken(token);
},

@@ -142,0 +144,0 @@

{
"name": "react-native-appboy-sdk",
"version": "1.16.0",
"version": "1.17.0",
"description": "Braze SDK for React Native.",

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

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