Giter Site home page Giter Site logo

npm version

react-native-google-cast

This library wraps the native Google Cast SDK for Android and iOS (and maybe web/Chrome in the future), providing a unified JavaScript interface.

It is written in TypeScript so types will always be up-to-date.

Version History

RNGC React Native iOS Android Maintained Notes
1.x 🤷‍♂️ 🤷‍♂️ 🤷‍♂️ 🛑 Old version implemented for Google Cast SDK v2 with manual discoverability.
3.x >=0.40 🤷‍♂️ 🤷‍♂️ 🛑 Rewrite of the library for Google Cast SDK v3 with automatic session management.
4.x >=0.60 10+ 🐜 Completely rewritten API, closely resembling native Android/iOS APIs.
5.x >=0.68 13+ Rewritten using React Native's New Architecture

Version 5.x is currently in development.

Documentation

https://react-native-google-cast.github.io/docs/getting-started/installation

Example

Refer to the example folder to find a React Native version of the CastVideos reference app.

Playground

Refer to the playground folder to find a sample app demonstrating the available APIs provided by the library.

Expo

This library can by used by custom built Expo apps since Expo SDK 42. See @config-plugins/react-native-google-cast for more information.

Troubleshooting

See Troubleshooting in the docs.

Contribution

  1. Read CONTRIBUTING.md
  2. Fork the repo
  3. Implement your shiny new thing
  4. Demonstrate how to use it in the playground project
  5. Document the functionality in JSDoc and the docs
  6. Create a pull request

React Native Google Cast's Projects

rngcarm icon rngcarm

Example project for building with Arm (M1/M2) Macs

rngcexpo icon rngcexpo

Expo example using react-native-google-cast

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.