react-native-sound-playerview

1.0.0 • Public • Published

react-native-sound-playerview

audio player view for iOS/Android using with react-native-sound and react-navigation

Getting started

$ npm install react-native-sound-playerview

Step 1. Register Screen with react-navigation

import {StackNavigator} from 'react-navigation';
import PlayerScreen from 'react-native-sound-playerview'

...

const Navigation = StackNavigator({
    ...
    player:{screen:PlayerScreen},
    ...
})

...

Step 2. Navigate to 'react-native-sound-playerview'

this.props.navigation.navigate('player', {title:__TITLE__, filepath:__AUDIO_FILEPATH__});

*NOTE: filepath should be a full file path.

Dependencies (1)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i react-native-sound-playerview

    Weekly Downloads

    35

    Version

    1.0.0

    License

    MIT

    Unpacked Size

    2.61 MB

    Total Files

    10

    Last publish

    Collaborators

    • benevbright