Skip to content

bmovement/react-native-airplay-menu

 
 

Repository files navigation

This library provides method to show AirPlay menu

Usage

<>
    <TouchableOpacity
        style={[styles.wrapper, styles.border]}
        onPress={() => this.menuRef && this.menuRef.showMenu()}
    >
        <Text style={styles.button}>Listen in AirPods</Text>
    </TouchableOpacity>

    <AirPlay
        ref={e => (this.menuRef = e)}
    />
</>

About

RN module to open AirPlay menu imperatively

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Objective-C 51.7%
  • JavaScript 24.3%
  • Swift 16.3%
  • Ruby 6.5%
  • C 1.2%