Skip to main content

React Native Installation

Public npm package not yet available

The React Native SDK is not yet published to the public npm registry. Install from the Bitbucket repository (restricted access). See the Downloads & install sources page for the current install URL and Android setup.

Install from Bitbucket

Use the install URL from the Downloads page (single source for links):

yarn add "https://bitbucket.org/azeoo/react-native-azeoo-lib.git"
# or
npm install "https://bitbucket.org/azeoo/react-native-azeoo-lib.git"

If your repo uses authentication, configure credentials (e.g. app password in the URL or .npmrc).

Peer dependency: Install react-native-nitro-modules if not already present:

yarn add react-native-nitro-modules
# or
npm install react-native-nitro-modules

iOS setup

  1. Install CocoaPods dependencies:
    cd ios && pod install && cd ..
  2. The native module is linked via React Native autolinking (no extra step).

Android setup (required)

You must add this line in your app’s project-level android/build.gradle (the one that has allprojects or buildscript, not the app module’s build.gradle):

apply from: "../node_modules/react-native-azeoo-lib/android/azeoolib-dependencies.gradle"

This configures the local Maven repository for the native SDK and the Flutter engine. Without it, the Android build will fail to resolve the Azeoo SDK.

Verify installation

Import the package and wrap your app with AzeooProvider (see Quick Start and Integration).

Next steps