Cordova SDK repository guide
About the Braze Cordova SDK
The Braze Cordova SDK helps you integrate Braze messaging, analytics, and user engagement capabilities into your application.
To get started, refer to the following resources:
Minimum version requirements
The following table lists the minimum supported versions for the Braze Cordova SDK.
| Braze plugin | Cordova Android | Cordova iOS |
|---|---|---|
| 10.0.0+ | >= 13.0.0 | >= 5.0.0 |
| 2.31.0+ | >= 12.0.0 | >= 5.0.0 |
This SDK also inherits the requirements of its underlying Braze native SDKs. Be sure to also adhere to version support information defined in braze-inc/braze-android-sdk and braze-inc/braze-swift-sdk.
Installing the SDK

important
Add the Braze Cordova SDK using only the following methods. Using other methods may introduce security risks.
# To use the base SDK functionality, install using the `master` branch.
cordova plugin add https://github.com/braze-inc/braze-cordova-sdk#master
# To use location collection and geofences in addition to the base SDK functionality, install using `geofence-branch`.
cordova plugin add https://github.com/braze-inc/braze-cordova-sdk#geofence-branch
Running the sample application
cordova plugin remove cordova-plugin-braze
cordova plugin add https://github.com/braze-inc/braze-cordova-sdk#master
# To run android
cordova run android
# To run iOS
cordova run ios
For repository details and sample projects, see https://github.com/braze-inc/braze-cordova-sdk.
New Stuff!