This is a simple react native VideoPlayer application you can find the built apk here
FileName | Preview |
---|---|
FolderScreen.js | |
VideoList.js | |
PlayerPage.js |
Some sources are mentioned above the code itself
- Clone or Download zip of this repo
- Make sure You have npm and react-native setup on your system(if not follow the instruction from docs
- Just open your cmd or terminal in the folder you have the repo downloaded.
- Run
npm install
make sure that Your running this in the path of the repo where package.json is present. - Run your metro server using
react-native start
and connect your mobile through adb(more instruction) or you can use AVD - Now you have your server and mobile connected to run your code on android run
react-native run-android
.This will build and open the app into your mobile phone which is connected through adb.
- https://reactnative.dev/docs/getting-started
- https://callstack.github.io/react-native-paper/getting-started.html
- https://github.com/react-native-video/react-native-video
- https://www.npmjs.com/package/react-native-fs
- https://reactnavigation.org/
- https://github.com/wonday/react-native-orientation-locker
- https://github.com/callstack/react-native-slider
- https://www.npmjs.com/package/react-native-document-picker
- https://www.instamobile.io/android-development/generate-react-native-release-build-android/