0.0.3 • Published 7 years ago
@tnaughts/react-native-airplay v0.0.3
react-native-airplay
AirPlay library for iOS
Installation
Add this line to your package.json:
"react-native-airplay": "SweatWorking/react-native-airplay",Only iOS
- Open your Xcode project
- In
LibrarieschooseAdd files...and add the obj-c/swift files fromnode_modules/react-native-airplayfolder. - If Xcode ask you for include the 'Bridging-Header.h', accept it.
Include in the
Bridging-Header.hthe next lines:#import <React/RCTViewManager.h> #import <React/RCTEventEmitter.h>Rebuild your project and done!
Clone the Example if you need how to include in js.