react-native-avroutepickerview
TypeScript icon, indicating that this package has built-in type declarations

0.4.0 • Public • Published

react-native-avroutepickerview

iOS AVRoutePickerView for React Native. Provides a native AirPlay button and corresponding view for selecting the AV "route". Use this module to add native AirPlay functionality to your React Native app on iOS! Forked from react-native-avroutepicker when it was no longer building or working correctly.

Installation

npm install react-native-avroutepickerview

or

yarn add react-native-avroutepickerview

On iOS, you'll then need to:

cd ios && pod install

Note: The iOS simulator won't show the pop-up UI when you click the picker, at least in some versions of the simulator. The only reliable way to see the sytsem picker menu is to run it on a device.

Usage

import AVRoutePickerView from 'react-native-avroutepickerview';

// ...

<AVRoutePicker color="white" activeColor="blue" />;

Properties

Name Type Description
color string (optional) Icon color when AirPlay is inactive.
activeColor string (optional) Icon color when AirPlay is active.

Contributing

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

License

MIT

Package Sidebar

Install

npm i react-native-avroutepickerview

Weekly Downloads

0

Version

0.4.0

License

MIT

Unpacked Size

27.7 kB

Total Files

22

Last publish

Collaborators

  • fivecar