rns

react-native-sound-playerview

audio player view using with react-native-sound and react-navigation

Showing:

Popularity

Downloads/wk

9

GitHub Stars

30

Maintenance

Last Commit

3mos ago

Contributors

1

Package

Dependencies

1

License

MIT

Type Definitions

Tree-Shakeable

No?

Categories

Readme

react-native-sound-playerview

npm npm

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__, dirpath: Sound.MAIN_BUNDLE });

*NOTE: filepath no longer have to be a full file path, you can pass additional prop dirpath and set it for example to Sound.MAIN_BUNDLE

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100
No reviews found
Be the first to rate

Alternatives

No alternatives found

Tutorials

No tutorials found
Add a tutorial