Skip to main content

Setup

Install the PRESTOplay for React Native:

npm install --save @castlabs/react-native-prestoplay

Android / Android TV

  1. 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

  1. Add the castLabs repository in ./ios/Podfile:

    source 'https://github.com/castlabs/Specs.git'