0.0.2 • Published 9 years ago
react-native-airplay v0.0.2
react-native-airplay
AirPlay library for iOS
A library for Airplay
##Installation npm i react-native-airplay --save
Only iOS
- Open your Xcode project
- In
LibrarieschooseAdd files...and add the filesAirPlay.swift, AirPlayBridge.m, AirPlayButtonBridge.mfrom thenode_modules/react-native-airplayfolder. Be sure that the optioncopy if neededis unchecked. - If Xcode ask you for include the 'Bridging-Herder.h', accept it
Include in the
Bridging-Herder.hthe next lines:#import "RCTBridgeModule.h" #import "RCTEventDispatcher.h" #import "RCTView.h" #import "RCTViewManager.h"Rebuild your project and done!
Clone the Example if you need how to include in js.
Author
wanaya, memoanaya@gmail.com
License
gbox-video-player is available under the MIT license. See the LICENSE file for more info.