Skip to content

braze-inc/braze-expo-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Braze Expo Plugin latest

Quickstart

npm install @braze/react-native-sdk
npx expo install @braze/expo-plugin
// app.json
{
  "expo": {
    "plugins": [
      [
        "@braze/expo-plugin",
        {}
      ],
    ]
  }
}
npx expo prebuild
import { Platform } from "react-native";
import Braze from "@braze/react-native-sdk";

// Initialize the Braze SDK at runtime with the relevant credentials.
const apiKey = Platform.select({
  android: "YOUR-ANDROID-API-KEY",
  ios: "YOUR-IOS-API-KEY",
}) ?? "";

Braze.initialize(apiKey, "YOUR-SDK-ENDPOINT");

Braze.changeUser("Jane Doe")

See the Braze Developer Guide for advanced integration options.

Version Support

Note

This SDK has been tested with Expo version 54.0.8.

Braze Expo Plugin Braze React Native SDK
>=5.0.0 >= 19.2.0
>=4.0.0 >= 19.1.0
>=3.0.0 >= 13.1.0
>=2.0.0 >= 8.3.0
>=1.1.0 >= 2.1.0
1.0.0 - 1.0.1 >= 2.0.2
<= 0.6.0 1.38.0 - 1.41.0

Contact

If you have questions, please contact support@braze.com.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors