Skip to content

Latest commit

 

History

History
42 lines (29 loc) · 1.2 KB

README.md

File metadata and controls

42 lines (29 loc) · 1.2 KB

This project is the property of adjoe GmbH and is published for the sole use of entities with which adjoe has a contractual agreement. The unauthorized redistribution of any or all parts of this project is strictly prohibited.

Add React Native module to your project

To integrate the adjoe React Native module into your React Native project, follow these steps:

  1. Open your project's package.json file.

  2. Add the adjoe as a dependency under the dependencies section. You can change the version number to the desired version of adjoe SDK you want to integrate.

dependencies: {
  "react-native-adjoe-sdk": "https://github.com/adjoeio/adjoe-react-native-sdk#v3.0.0-beta.2"
}
  1. Open your build.gradle file in android folder and add the following section:
allprojects {
    repositories {
        maven {
            url  "https://releases.adjoe.io/maven"
        }
    }
}

Note that all stable versions have three parts, while all beta versions have four parts. If you are using a beta version of the Playtime SDK, you must change the Maven address to:

            url  "https://pre-releases.adjoe.io/maven-pre-release"
  1. Run the following command:
npm install