Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
@braze/react-native-sdk
Advanced tools
Effective marketing automation is an essential part of successfully scaling and managing your business. Braze empowers you to build better customer relationships through a seamless, multi-channel approach that addresses all aspects of the user life cycle Braze helps you engage your users on an ongoing basis.
Braze Plugin | React Native | Supports New Architecture? |
---|---|---|
6.0.0+ | >= 0.68 | ✅ (>= 0.70.0) |
2.0.0+ | >= 0.68 | ✅ |
<= 1.41.0 | <= 0.71 | ❌ |
If you're using Expo, you can install our plugin to integrate the React Native SDK without any native code. See the Braze Expo Plugin Github for more details.
BrazeProject
- Contains the BrazeProject sample app with integration examples for the React Native bridge. This sample app integrates the iOS bridge via manual linking, and the iOS SDK via Cocoapods. It can
also optionally integrate the iOS bridge using Cocoapods via a local Podspec.The following commands apply to both sample projects and use the BrazeProject
directory as an example.
cd BrazeProject/
yarn install
# In a separate tab:
cd BrazeProject/
npx react-native start
Our sample app integrates the native Braze iOS SDK through Cocoapods.
From the BrazeProject
directory:
sudo gem install cocoapods
cd ios/
pod install # If you are using the New Architecture, you need to run `RCT_NEW_ARCH_ENABLED=1 pod install` instead.
cd ../
npx react-native run-ios
From the BrazeProject
directory:
npx react-native run-android
npm run lint
to list errors or npm run lint-fix
to automatically fix errors. To override the rules in the standard-react
config, add "rules"
in .eslintrc.json
.npm test
6.0.0
0.70
or higher.RCTAppDelegate
.
RCTAppDelegate
and was following our previous AppDelegate
setup in the sample project or Braze documentation, you will need to reference our updated samples to prevent any crashes from occurring when subscribing to events in the new Turbo Module. ⚠️NativeBrazeReactModule
file to properly mock the Turbo Module functions in Jest.
subscribeToInAppMessages
or addListener
in the Javascript layer will no longer cause a custom BrazeInAppMessageUIDelegate
implementation on iOS to be ignored.Braze.addListener
for the inAppMessageReceived
event will subscribe in both the Javascript and the native layers (iOS + Android). This means it is no longer required to call Braze.subscribeToInAppMessage
.
subscribeToInAppMessage
to use the default In-App Message UI.0.70
+.getDeviceId
method to replace getInstallTrackingId
, which is now deprecated.build.gradle
file to prepare for React Native 0.73, which uses AGP 8.x.
FAQs
Braze SDK for React Native.
The npm package @braze/react-native-sdk receives a total of 22,637 weekly downloads. As such, @braze/react-native-sdk popularity was classified as popular.
We found that @braze/react-native-sdk demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.