Skip to content

About the Braze Android SDK

The Braze Android SDK helps you integrate Braze messaging, analytics, and user engagement capabilities into your application.

To get started, refer to the following resources:

Quickstart

The following snippets show the minimum configuration required to add the Braze Android SDK to your app.

1
2
3
4
5
6
7
8
9
10
11
12
// build.gradle

// ...
repositories {
  mavenCentral()
}
// ...
dependencies {
  `implementation 'com.braze:android-sdk-ui:42.3.+'`
  `implementation 'com.braze:android-sdk-location:42.3.+'`
}
// ...
1
2
3
4
5
6
<!-- res/values/braze.xml -->
<?xml version="1.0" encoding="utf-8"?>
<resources>
  <string translatable="false" name="com_braze_api_key">YOUR_APP_IDENTIFIER_API_KEY</string>
  <string translatable="false" name="com_braze_custom_endpoint">YOUR_CUSTOM_ENDPOINT_OR_CLUSTER</string>
</resources>
1
Braze.getInstance(context).changeUser("Jane Doe");

For more information about advanced integration options, see the Braze Developer Guide.

Version support

The following table lists the minimum supported versions for tools used by the Braze Android SDK.

Tool Minimum supported version
minSdk 5.0+ / API 21+ (Lollipop and up)
targetSdk 37
Kotlin org.jetbrains.kotlin:kotlin-stdlib:2.2.20
Firebase Cloud Messaging 24.1.2
Font Awesome 4.3.0

Modules

The following table describes each module in the Braze Android SDK.

Module Description
android-sdk-base The Braze SDK base analytics library.
android-sdk-ui The Braze SDK user interface library for in-app messages, push, Content Cards, and banners.
android-sdk-location The Braze SDK location library for location and geofences.
android-sdk-jetpack-compose The Braze SDK library for Jetpack Compose support.
droidboy A sample app that demonstrates how to use Braze in depth.
android-sdk-unity A library that enables Braze SDK integrations on Unity.
samples A folder that contains sample apps for various integration options.

Contact

For questions, contact Braze Technical Support.

For repository details and sample projects, see https://github.com/braze-inc/braze-android-sdk.

New Stuff!