Skip to content

adjoeio/adjoe-react-native-sdk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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"
}
  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