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.2.0 to 1.3.0

android/src/main/res/values/appboy.xml

14

CHANGELOG.md

@@ -0,1 +1,15 @@

## 1.3.0
##### Breaking
- Updates the native iOS bridge to use [Appboy iOS SDK 2.29.0](https://github.com/Appboy/appboy-ios-sdk/blob/master/CHANGELOG.md#2290), which drops support for iOS 7.
- Updates the native Android bridge to use [Appboy Android SDK 2.0.0](https://github.com/Appboy/appboy-android-sdk/blob/master/CHANGELOG.md#200).
##### Added
- Adds `ReactAppboy.requestImmediateDataFlush()` for requesting an immediate flush of any data waiting to be sent to Appboy's servers.
- Adds `ReactAppboy.requestFeedRefresh()` for requesting a refresh of the News Feed.
- See https://github.com/Appboy/appboy-react-sdk/pull/12. Thanks @stief510!
- Added the ability to pass an optional dictionary of News Feed launch options to `launchNewsFeed()`. See `NewsFeedLaunchOptions` for supported keys.
- For more information on currently supported `NewsFeedLaunchOptions` keys, see the card width and card margin properties on [ABKFeedViewController](http://appboy.github.io/appboy-ios-sdk/docs/interface_a_b_k_feed_view_controller.html).
- See https://github.com/Appboy/appboy-react-sdk/pull/10. Thanks @mihalychk!
## 1.2.0

@@ -2,0 +16,0 @@

28

index.js
const AppboyReactBridge = require('react-native').NativeModules.AppboyReactBridge;
AppboyReactBridge.setSDKFlavor();

@@ -368,8 +369,16 @@ /**

* Launches the News Feed UI element.
* @param {object} launchOptions - An optional dictionary of News Feed launch options. See NewsFeedLaunchOptions for supported keys.
*/
launchNewsFeed: function() {
AppboyReactBridge.launchNewsFeed();
launchNewsFeed: function(launchOptions) {
AppboyReactBridge.launchNewsFeed(launchOptions);
},
/**
* Requests a News Feed refresh.
*/
requestFeedRefresh: function() {
AppboyReactBridge.requestFeedRefresh();
},
/**
* Returns the current number of News Feed cards for the given category.

@@ -404,2 +413,10 @@ * @param {CardCategory} category - Card category. Use ReactAppboy.CardCategory.ALL to get the total card count.

// Flush Controls
/**
* Requests an immediate flush of any data waiting to be sent to Appboy's servers.
*/
requestImmediateDataFlush: function() {
AppboyReactBridge.requestImmediateDataFlush();
},
// Enums

@@ -424,2 +441,9 @@ CardCategory: {

'FEMALE': 'f'
},
NewsFeedLaunchOptions: {
'CARD_WIDTH_FOR_IPHONE': 'cardWidthForiPhone',
'CARD_WIDTH_FOR_IPAD': 'cardWidthForiPad',
'MINIMUM_CARD_MARGIN_FOR_IPHONE': 'minimumCardMarginForiPhone',
'MINIMUM_CARD_MARGIN_FOR_IPAD': 'minimumCardMarginForiPad'
}

@@ -426,0 +450,0 @@ };

2

package.json
{
"name": "react-native-appboy-sdk",
"version": "1.2.0",
"version": "1.3.0",
"description": "Appboy SDK for React Native.",

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

@@ -7,2 +7,2 @@ ![Appboy Logo](https://github.com/Appboy/appboy-react-sdk/blob/master/Appboy_Logo_400x100.png)

See our [Technical Documentation](http://documentation.appboy.com "Appboy Technical Documentation") for instructions on integrating Appboy into your React Native App.
See our Technical Documentation ([iOS](https://www.appboy.com/documentation/React_Native/iOS/), [Android](https://www.appboy.com/documentation/React_Native/Android_and_FireOS/)) for instructions on integrating Appboy into your React Native App.

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