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.
To integrate the adjoe React Native module into your React Native project, follow these steps:
-
Open your project's
package.json
file. -
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"
}
- 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"
- Run the following command:
npm install