Spotify Web API wrapper for Kotlin, Java, JS, and Native - Targets JVM, Android, JS (browser), Native (Desktop), and Apple tvOS/iOS. Includes a Spotify Web Playback SDK wrapper for Kotlin/JS, and a spotify-auth wrapper for Kotlin/Android.
I'm making my app's remake (called Spowlo) and I'm really dependant on this library. I really love it, but there are some things like the ones I have added here for trying to improve it a little bit.
The library makes my app crash and really unstable at the hour of creating the PKCE client (and also using it), as well as a very large ammount of time (like 5-7 seconds) for creating the client API, while blocking the main thread of the app.
What I have made?
Updated the androidx.security.crypto library for updating the EncryptedSharedPreferences function in a modern way and non-deprecated.
Made the getSpotifyClientPkceApi function suspend and deleted the runBlocking blocks, so the user can choose the thread that he wants to run the function; anyways this can be changed.
Why
I'm making my app's remake (called Spowlo) and I'm really dependant on this library. I really love it, but there are some things like the ones I have added here for trying to improve it a little bit. The library makes my app crash and really unstable at the hour of creating the PKCE client (and also using it), as well as a very large ammount of time (like 5-7 seconds) for creating the client API, while blocking the main thread of the app.
What I have made?