Bare React Native App for (iOs and Android) to stream music from YouTube.
Although the app runs for iOS and Android, it can only stream music on Android devices. This is because in iOs it is not possible to reproduce from the link generated by the server. (I am looking for a way to solve this)
- Typescript
- react-navigation 5
- react-native-elements (UI library)
- react-native-track-player (Audio library)
- react-native-svg to handle Circle Slider
- momentjs for date handling (I will change it later for another maintained library)
- react-native-url-polyfill as a work-around to support URL in React Native
- Redux to manage app state
- Redux-thunk to make async computations
- Keyword suggestions from Google. (No api required)
- Search videos from Youtube. (No api required)
- Play audio in background (Only Android)
npm install
npx pod-install
npx react-native run-android
- Placeholder when image not found
- Save playlist in device storage
- Display recently searched videos on home page
- Work on Settings page
- Add functionalities to Favorite, Repeat mode, Random mode to buttons in MediaPlayerScreen
- Hide keyboard when selecting a suggestion on SearchHeader (Keyboards needs to be dissmised in order to select option from dropdown)
- This video requires payment to watch (Need to catch this error in useMediaPlayer)
- Hide live videos from search response
- Allow repeat playlist when queue end up (Warning: There is not tracks left/right to play)