Skip to content

Bare React Native App for (Android) to stream music from YouTube

Notifications You must be signed in to change notification settings

jossydeleon/urMusic

Repository files navigation

Project in Development

Bare React Native App for (iOs and Android) to stream music from YouTube.

Note

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)

What is using

  • 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

What is doing?

  • Keyword suggestions from Google. (No api required)
  • Search videos from Youtube. (No api required)
  • Play audio in background (Only Android)

Install Dependencies

npm install

Install dependencies for iOs

npx pod-install

Run project on Android

npx react-native run-android

To Do

  • 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

Known Bugs

  • 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)

Gallery

About

Bare React Native App for (Android) to stream music from YouTube

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published