Socket
Socket
Sign inDemoInstall

react-native-google-cast

Package Overview
Dependencies
0
Maintainers
2
Versions
62
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    react-native-google-cast

React Native wrapper for the Google Cast SDK for iOS and Android


Version published
Weekly downloads
7K
increased by1.92%
Maintainers
2
Install size
864 kB
Created
Weekly downloads
 

Changelog

Source

4.8.0

Readme

Source

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

RNGCReact NativeiOSAndroidMaintainedNotes
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.6010+🐜Completely rewritten API, closely resembling native Android/iOS APIs.
5.x>=0.6813+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

Keywords

FAQs

Last updated on 20 Feb 2024

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc