Reference React Native application shows how to cast videos from a device that is fully compliant with the Cast Design Checklist.
The aim of this app is to be a reference implementation just like the CastVideos sample apps.
In addition, this example project demonstrates how to set up and use react-native-google-cast with:
Make sure you're in the example folder:
- Run
yarn
(ornpm i
) to install dependencies - Run
yarn start
(ornpm run start
) to start Metro Bundler
cd ios && pod install
open ios/CastVideos.xcworkspace
and Run from Xcode
- in Android Studio open
android/
folder and run from there