Launch Week Day 1: Socket for Jira Is Now Available.Learn More
Socket
Book a DemoSign in
Socket

react-native-avroutepickerview

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-native-avroutepickerview

Updated iOS AVRoutePickerView for React Native

latest
Source
npmnpm
Version
0.4.0
Version published
Weekly downloads
63
-22.22%
Maintainers
1
Weekly downloads
 
Created
Source

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

NameTypeDescription
colorstring(optional) Icon color when AirPlay is inactive.
activeColorstring(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

Keywords

react-native

FAQs

Package last updated on 01 Dec 2022

Did you know?

Socket

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