Releases: braze-inc/braze-react-native-sdk
Releases · braze-inc/braze-react-native-sdk
1.5.2
1.5.1
1.5.0
Breaking
- Updated the native iOS bridge to Appboy iOS SDK 3.0.0 or later.
- Updated the native Android bridge to Appboy Android SDK 2.2.4.
- Changed success callbacks on
submitFeedback()
on Android to always returntrue
assubmitFeedback()
was changed to returnvoid
in the native SDK.
1.4.1
1.4.0
Breaking
- Updates the native iOS bridge to use Appboy iOS SDK 2.31.0 or later.
- Updates the native Android bridge to use Appboy Android SDK 2.1.4.
Added
- Adds
ReactAppboy.registerPushToken()
for registering push tokens with Appboy. - Adds the local
react-native-appboy-sdk
Podspec for integrating the React Native iOS bridge via Cocoapods.- See the new
HelloReact
sample app for an integration example. - See #15. Thanks @pietropizzi!
- See the new
1.3.0
Breaking
- Updates the native iOS bridge to use Appboy iOS SDK 2.29.0, which drops support for iOS 7.
- Updates the native Android bridge to use Appboy Android SDK 2.0.0.
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. - Added the ability to pass an optional dictionary of News Feed launch options to
launchNewsFeed()
. SeeNewsFeedLaunchOptions
for supported keys.- For more information on currently supported
NewsFeedLaunchOptions
keys, see the card width and card margin properties on ABKFeedViewController. - See #10. Thanks @mihalychk!
- For more information on currently supported
1.2.0
1.1.0
Breaking
- Update Required — Fixes a bug in the iOS bridge where custom attribute dates were converted incorrectly, causing incorrect date data to be sent to Appboy. As a result of the fix,
setDateCustomUserAttribute()
in the iOS Appboy React bridge may now only be called with a double.- Note: The default Javascript Appboy interface has not changed, so for most integrations this just requires updating the SDK, unless you were manually calling our iOS bridge outside of our recommended integration.
- See #7
1.0.0
- Targets Appboy Android SDK version 1.15.3 and Appboy iOS SDK version 2.24.2.
- Update Required — Updates iOS push handling in the AppboyProject sample project to be compatible with iOS 10. For more information, refer to the CHANGELOG for Appboy iOS SDK v2.24.0.
- Adds callbacks to the native bindings to provide function call results to React Native.
- Exposes
ReactAppboy.getCardCountForCategories()
andReactAppboy.getUnreadCardCountForCategories()
for retrieving News Feed card counts. - Adds
ReactAppboy.getInitialURL()
for handling deep links when an iOS application is launched from the suspended state by clicking on a push notification with a deep link. SeecomponentDidMount()
inAppboyProject.js
for a sample implementation. - Exposes
ReactAppboy.setTwitterData()
andReactAppboy.setFacebookData()
for Twitter and Facebook integration. - Removes
AppboyBroadcastReceiver.java
from the AppboyProject sample project, as Appboy Android SDK v1.15.0 removes the need for a customAppboyBroadcastReceiver
for Appboy push notifications. - Updates the AppboyProject sample project to integrate session handling and in-app message manager registration using an AppboyLifecycleCallbackListener, as introduced in Appboy Android SDK v1.15.0.
- Updates the AppboyProject sample application to React Native v0.33.0.