- Updated the native iOS bridge to Braze iOS SDK 3.20.1.
- This patch updates the Braze iOS SDK Dependency from 3.20.0 to 3.20.1, which contains important bugfixes. Integrators should upgrade to this patch version.
- Updated the native iOS bridge to Braze iOS SDK 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 toReactAppboy.registerAndroidPushToken()
and is now a no-op on iOS. On iOS, push tokens must now be registered through native methods.
- Updated the native iOS bridge to Braze iOS SDK 3.19.0.
- Updated the native Android bridge to Braze Android SDK 3.7.0.
- Note: This Braze React SDK release updates to Braze Android SDK and Braze iOS SDK dependencies which no longer enable automatic Braze location collection by default. Please consult their respective changelogs for information on how to continue to enable automatic Braze location collection, as well as further information on breaking changes.
- Removes the Feedback feature.
submitFeedback()
andlaunchFeedback()
have been removed from theAppboy
interface.
- Added the ability to more easily create custom UIs for Content Cards from within the React Native layer by providing access to card data and analytics methods in Javascript.
- Added
ReactAppboy.getContentCards
for getting locally cached content cards data.- To request a Content Cards update, use
ReactAppboy.requestContentCardsRefresh()
.
- To request a Content Cards update, use
- Added
ReactAppboy.logContentCardsDisplayed
for manually logging an impression for the content card feed. - Added
ReactAppboy.logContentCardClicked
for manually logging a click to Braze for a particular card. - Added
ReactAppboy.logContentCardImpression
for manually logging an impression to Braze for a particular card. - Added
ReactAppboy.logContentCardDismissed
for manually logging a dismissal to Braze for a particular card. - Added
ReactAppboy.addListener
for subscribing toReactAppboy.Events.CONTENT_CARDS_UPDATED
events.- After a successful update, use
getContentCards
to retrieve updated cards. -
ReactAppboy.addListener(ReactAppboy.Events.CONTENT_CARDS_UPDATED, async function() { let cards = await ReactAppboy.getContentCards(); console.log('Content Cards Updated.', cards); })
- After a successful update, use
- See braze-inc#58. Thanks @alexmbp!
- Added
- Updated the native iOS bridge to Braze iOS SDK 3.17.0.
- Removed the
NewsFeedLaunchOptions
enum. Using these arguments withlaunchNewsFeed()
had been a no-op since version 1.7.0.
- Updated the native Android bridge to Braze Android SDK 3.5.0.
- Fixed an issue where logging custom events or purchases without event properties would cause crashes on Android, for example
logCustomEvent("event")
.
- Added additional TypeScript definitions.
- Updated the native iOS bridge to Braze iOS SDK 3.15.0.
- This release of the iOS SDK added support for SDWebImage version 5.0.
- Note that upgrading to SDWebImage 5.0 also removed the FLAnimatedImage transitive dependency.
- Updated the native Android bridge to Braze Android SDK 3.3.0.
- Added
ReactAppboy.launchContentCards()
for launching the content cards UI.
- Added Typescript definitions for the
Appboy
interface.- Thanks @ahanriat and @josin for your contributions! See braze-inc#57 and braze-inc#38.
- Note that certain less-used parts of the API were excluded. Please file an issue if you would like specific method(s) added.
- Updated the native Android bridge to Braze Android SDK 3.2.0.
- Added
AppboyFirebaseMessagingService
to directly use the Firebase messaging eventcom.google.firebase.MESSAGING_EVENT
. This is now the recommended way to integrate Firebase push with Braze. TheAppboyFcmReceiver
should be removed from yourAndroidManifest
and replaced with the following:<service android:name="com.appboy.AppboyFirebaseMessagingService"> <intent-filter> <action android:name="com.google.firebase.MESSAGING_EVENT" /> </intent-filter> </service>
- Also note that any
c2dm
related permissions should be removed from your manifest as Braze does not require any extra permissions forAppboyFirebaseMessagingService
to work correctly.
- Also note that any
- Added
- Updated the native iOS bridge to Braze iOS SDK 3.14.0.
- Dropped support for iOS 8.
- Added support for sending JavaScript
Date()
type custom event and purchase properties through theAppboy
interface.
- Updated the native Android bridge to Braze Android SDK 3.1.0.
- Added
addAlias(aliasName, aliasLabel)
to theAppboy
interface to allow aliasing users.- Thanks @alexmbp!
- Updated
build.gradle
to useproject.ext
config if available.
- Updated the native iOS bridge to Braze iOS SDK 3.11.0.
- Updated the native Android bridge to Braze Android SDK 3.0.1.
- Updated the Android wrapper to use
api
andimplementation
syntax in it'sbuild.gradle
instead ofcompile
. As part of this work, the Android Gradle plugin version was updated to3.2.1
.
- Added
setUserAttributionData()
to theAppboy
interface to allow setting the attribution data for the current user. - Added
getInstallTrackingId()
to theAppboy
interface to allow getting the install tracking id. This method is equivalent to callingAppboy.getInstallTrackingId()
on Android and returns the IDFV on iOS. - Added
setLanguage()
to theAppboy
interface to allow setting a language for the current user. - Added
hideCurrentInAppMessage()
to theAppboy
interface to allow hiding of the currently displayed in-app message.
- Fixed an issue where the Android wrapper would include an older version of React Native in test APK builds.
- Updated our sample projects to use React Native
0.56
.
- Updated the native iOS bridge to Braze iOS SDK 3.8.4.
- Updated the native Android bridge to Braze Android SDK 2.7.0.
- Important: Note that in Braze Android SDK 2.7.0,
AppboyGcmReceiver
was renamed toAppboyFcmReceiver
. This receiver is intended to be used for Firebase integrations. Please update theAppboyGcmReceiver
declaration in yourAndroidManifest.xml
to referenceAppboyFcmReceiver
and remove thecom.google.android.c2dm.intent.REGISTRATION
intent filter action.
- Important: Note that in Braze Android SDK 2.7.0,
- Updated the native iOS bridge to Braze iOS SDK 3.8.3.
- Added
setLocationCustomAttribute()
to theAppboy
interface to allow setting of custom location attributes.
- Added
requestLocationInitialization()
to theAppboy
interface. Calling this method is the equivalent of callingAppboyLocationService.requestInitialization()
on the native Braze Android SDK. The method is a no-op on iOS.
- Fixed an issue introduced in
1.7.0
where callinglaunchNewsFeed()
would cause crashes in the Android bridge.
- Updated the podspec to point to Braze iOS SDK version 3.5.1.
- Updated the native iOS bridge to Braze iOS SDK 3.5.1.
- Updated the native Android bridge to Appboy Android SDK 2.4.0.
- Added
Other
,Unknown
,Not Applicable
, andPrefer not to Say
options for user gender. - Updated the
AppboyProject
sample app to use FCM instead of GCM. - Added toasts to provide feedback for user actions in the
AppboyProject
sample app. - Implemented
requiresMainQueueSetup
inAppboyReactBridge.m
to prevent warnings in React Native 0.49+.- See braze-inc#39. Thanks @danieldecsi!
- Passing launch options into
launchNewsFeed()
is now a no-op.
- Updated the native iOS bridge to Braze iOS SDK 3.3.3.
- Updated the native Android bridge to Braze Android SDK 2.2.5.
- Added support for wiping all customer data created by the Braze SDK via
Appboy.wipeData()
.- Note that on iOS,
wipeData()
will disable the SDK for the remainder of the app run. For more information, see our iOS SDK's documentation fordisableSDK
.
- Note that on iOS,
- Added
Appboy.disableSDK()
to disable the Braze SDK immediately. - Added
Appboy.enableSDK()
to re-enable the SDK after a call toAppboy.disableSDK()
.- Note that on iOS,
enableSDK()
will not enable the SDK immediately. For more information, see our iOS SDK's documentation forrequestEnableSDKOnNextAppRun
.
- Note that on iOS,
- Removed
allowBackup
from the pluginAndroidManifest.xml
.- See braze-inc#34. Thanks @SMJ93!
- Fixed a race condition between SDK flavor reporting and sharedInstance initialization on iOS.
- Fixed a bug that caused opted-in subscription states to not be reflected on the user profile.
- Updated the native iOS bridge to Braze iOS SDK 3.0.0 or later.
- Updated the native Android bridge to Braze Android SDK 2.2.4.
- Changed success callbacks on
submitFeedback()
on Android to always returntrue
assubmitFeedback()
was changed to returnvoid
in the native SDK.
- Added support for apps that use use_frameworks in Podfile.
- See https://github.com/Appboy/appboy-react-sdk/commit/6db78a5bbeb31457f8a1dcf988a3265d8db9a437 and braze-inc#29. Thanks @jimmy-devine and @sljuka.
- Updated the native iOS bridge to Braze iOS SDK 2.31.0 or later.
- Updated the native Android bridge to Braze Android SDK 2.1.4.
- Added
ReactAppboy.registerPushToken()
for registering push tokens with Braze.- See braze-inc#13. Thanks @dcvz!
- Added 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 braze-inc#15. Thanks @pietropizzi!
- See the new
- Updates the native iOS bridge to use Braze iOS SDK 2.29.0, which drops support for iOS 7.
- Updates the native Android bridge to use Braze Android SDK 2.0.0.
- Adds
ReactAppboy.requestImmediateDataFlush()
for requesting an immediate flush of any data waiting to be sent to Braze's servers. - Adds
ReactAppboy.requestFeedRefresh()
for requesting a refresh of the News Feed.- See braze-inc#12. Thanks @stief510!
- 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 braze-inc#10. Thanks @mihalychk!
- For more information on currently supported
- Updates the native iOS bridge to be compatible with React Native v0.40.0.
- Updates the AppboyProject sample project to React Native v0.41.1.
- Update Required — Fixes a bug in the iOS bridge where custom attribute dates were converted incorrectly, causing incorrect date data to be sent to Braze. As a result of the fix,
setDateCustomUserAttribute()
in the iOS React bridge may now only be called with a double.- Note: The default Javascript Braze 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 braze-inc#7
- 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 Braze 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.- See braze-inc#1
- 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.- See braze-inc#4
- Targets Braze Android SDK version 1.15.3 and Braze iOS SDK version 2.24.2.
- Updates the AppboyProject sample application to React Native v0.33.0.
- Updates the AppboyProject sample project to integrate session handling and in-app message manager registration using an AppboyLifecycleCallbackListener, as introduced in Braze Android SDK v1.15.0.
- Removes
AppboyBroadcastReceiver.java
from the AppboyProject sample project, as Braze Android SDK v1.15.0 removes the need for a customAppboyBroadcastReceiver
for Braze push notifications.
- Renames Android module to conform to rnpm standard.
- Refactors Android module to have the source directly under the
android
folder.
- Initial release. Targets Braze Android SDK version 1.12.0 and Braze iOS SDK Version 1.18.4.