Setup
Install the PRESTOplay for React Native:
npm install --save @castlabs/react-native-prestoplay
Android / Android TV
Add the castLabs repository to your
./android/build.gradle
. Pay attention to the order of repository declarations for optimal build times:allprojects {
repositories {
google()
mavenCentral()
maven {
url 'https://npaw.jfrog.io/artifactory/youbora'
content { includeGroup "com.nicepeopleatwork" }
}
maven { url 'https://mvn.players.castlabs.com/' }
}
}
iOS / tvOS
Add the castLabs repository in
./ios/Podfile
:source 'https://github.com/castlabs/Specs.git'