A film project based on pure cross-platform react-native, and welcome to star
This project tested through the line, only for them to learn information
!!! strongly suggest that you were compiled under the double-ended react native to experience the charm !!!
ios end error statistics
ios operating statistics
android-side error statistics
android operating statistics
Screenshots
Feature Highlights:
- m3u8 video playback, fast forward gesture-back, multiple play
- m3u8 video buffer (single-threaded mode) does not support the HTTP
- List generic encapsulation
- realm database use
- codepush use hot update
- react-navigation route navigation
- redux framework
This set of network layer and removes the code codepush heat update their configuration may be required.
Run android:
- Install node, and then install the react-native command: npm install -g react-native-cli
- In the root directory of the project execution npm install
- In the node-modules / react-native-video / android-exoplayer / src / main / java / com / brentvatne / exoplayer / ReactExoplayerView line 710 determines statements removed
- react-native run-android, if error, please use android studio to build again, and then execute react-native run-android
Run ios:
- Install node, and then install the react-native command: npm install -g react-native-cli
- In the root directory of the project execution npm install
- In the node-modules / react-native-video / ios / RCTVideo.m, line 394, is added
if([uri isEqualToString:@""]){ return nil; }
- react-native run-ios
If the compiler Android / ios encounter an error, please mention issuess
Finally, to give you a star O (∩_∩) O Portal
Reproduced in: https: //juejin.im/post/5d083dc0f265da1bbd4b76cb