This is a music player I made quick and perhaps dirty that downloads any song from youtube using the api from rapid api: https://rapidapi.com/ytjar/api/youtube-mp36/. I wanted an ad free app to play music and to practice React Native. It is a complete music track player that saves mp3's to your local iphone's storage. It is free to anyone. I will not be maintaining this repo.
This project 'Anytune' was coincidently named but is not associated with Anytune Inc. or the Anytune apps they have published.
React Native version 0.69. Optimized for iOS. Tested on iOS version 16.1.2. Not tested on Android.
Converts and downloads any audio on YouTube. Includes the functions: Play, Stop, Skip Forward and Back, Shuffle Play, Animated song title, Delete song from queue and storage, Continuous background playback, Car play.
Once you have an account setup at rapid api for the youtube to mp3 api (link above in Description section), add your key to: src/config/apiConfig.js. The rest is just making sure you have all the code cloned locally and using xcode to get it on your iphone. That part is not covered here but can easily be found in the React Native docs: https://reactnative.dev/ and/or swimming in Google searches:p
Note: Once you have everything setup and running, you may notice that the track did not download when you click download to download the youtube track with the url. You just have to try again. I am not sure why this happens yet, but my guess it is the youtube api from rapid api. I had this same behavior when I created a web version.
Home Screen:
Player Screen:
Delete track option:
Continuous background playback (car included):
App example workflow: