AirPlay library for iOS
A library for Airplay
##Installation npm i react-native-airplay --save
- 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 <React/RCTBridgeModule.h>
#import <React/RCTEventDispatcher.h>
#import <React/RCTView.h>
#import <React/RCTViewManager.h>
- Rebuild your project and done!
Clone the Example if you need how to include in js.
wanaya, memoanaya@gmail.com
gbox-video-player is available under the MIT license. See the LICENSE file for more info.