how to clone react project from github code example
Example 1: how to run a cloned react native project
npm install --save github:facebook/react-native#master
Example 2: how to run a cloned react native project
gradle.projectsLoaded {
rootProject.allprojects {
buildDir = "/path/to/build/directory/${rootProject.name}/${project.name}"
}
}