CBCNewMedia / react-native-airplay-button

React Native Airplay button component

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

react-native-airplay-button

Stream audio or video to AirPlay-enabled devices with a customizable AirPlay button.

AirPlay Button AirPlay Button Pressed

Installation

npm install @cbcnewmedia/react-native-airplay-button --save

React Native 0.60 and above

Run npx pod-install. Linking is not required in React Native 0.60 and above.

React Native 0.59 and below

Run react-native link react-native-airplay-button to link the react-native-airplay-button library.

Usage

import AirPlayButton from "@cbcnewmedia/react-native-airplay-button";

<AirPlayButton 
  activeTintColor="blue"
  tintColor="red"
  prioritizesVideoDevices={false}
  style={{ width: 30, height: 30 }}
/>

Contributing

See the contributing guide to learn how to contribute to the repository and the development workflow.

License

MIT

About

React Native Airplay button component

License:MIT License


Languages

Language:Objective-C 49.2%Language:JavaScript 20.2%Language:Ruby 14.7%Language:TypeScript 13.9%Language:C 1.2%Language:Swift 0.8%