0.2.3 • Published 6 months ago

react-native-airplay-module v0.2.3

Weekly downloads
-
License
MIT
Repository
github
Last release
6 months ago

react-native-airplay-module

React Native AirPlay Module

Installation

npm install react-native-airplay-module
yarn add react-native-airplay-module

Usage

import AirPlay from 'react-native-airplay-module'

useEffect(() => {
   AirPlay.startScan()

   AirPlay.AirPlayListener.addListener('deviceConnected', ({ devices }) => {
      console.log(devices)
   })

   return () => {
      AirPlay.disconnect()
   }
}, [])

const openMenu = () => {
   AirPlay.openMenu()
}

Contributing

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

License

MIT

0.2.3

6 months ago

0.2.2

12 months ago

0.2.1

4 years ago

0.2.0

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago