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
Libraries
chooseAdd files...
and add the filesAirPlay.swift, AirPlayBridge.m, AirPlayButtonBridge.m
from thenode_modules/react-native-airplay
folder. Be sure that the optioncopy if needed
is unchecked. - If Xcode ask you for include the 'Bridging-Herder.h', accept it
Include in the
Bridging-Herder.h
the 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.