This is a music player app built using Compose Multiplatform UI and KMP that works on Android, iOS, Desktop, and Web platforms.
This is a music player app built using Compose Multiplatform UI that works on Android, iOS, Desktop, and Web platforms. It uses the spotify api for fetching the top 50 charts and getting the trending albums. The Google login is still in pending and for now, you need to add the spotify token manually. You can easily hit the endpoint here to get the album and then get the token and set in the app.
You can find it live here
The app uses different media players on different platforms:
For iOS, AVKit is used For Android, Media Player is used For Desktop, VLC media player is used For the Web, an HTML media player is used.
One of the objectives of building this app was to explore how Compose UI interacts with low-level APIs. The experience was challenging yet fun, and the process taught me a lot. Out of all the media players used, integrating with the Web Media Player was the easiest. I'm grateful to IceRock Development and Aleksey Mikhailov for their demo application, which was a fantastic learning resource.
git clone https://github.com/SEAbdulbasit/MusicApp-KMP.git
onReady
and onVideoCompleted
which is causing the player to not start automatically. I was unable to configure the callbacks but hopefully, will be
fixing that soon.To explore what Compose UI can do, check out the repository for the latest updates: https://github.com/SEAbdulbasit/MusicApp-KMP.
If you're interested in getting started with Compose Multiplatform, I have a template for you here: https://github.com/SEAbdulbasit/KMP-Compose-Template.
If you find my work helpful, please consider giving it a ⭐ ❤️.
TravelApp: https://github.com/SEAbdulbasit/TravelApp-KMP
TODO