0.1.0 • Published 7 years ago

react-native-sample-module v0.1.0

Weekly downloads
4
License
MIT
Repository
github
Last release
7 years ago

react-native-sample-module

A sample native module to integrate react-native application

Installation

First, install the library from npm

npm install --save react-native-sample-module

Second, Link the native dependencies

react-native link react-native-sample-module

Imperative APIs

NameParametersDescription.Note
playstream uriplay streaming uri
pauseXpause current music
isPlayingcallback.check if music plays now or notcallback contains result

Example Setup

  1. Start emulator
  2. Install npm packages
cd Example
npm install
  1. Run example
react-native run-ios or react-native run-android