adamint / spotify-web-api-kotlin

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.
https://adamint.github.io/spotify-web-api-kotlin-docs/
MIT License
194 stars 21 forks source link

Updated EncryptedSharedPreferences and moved getSpotifyClientPkceApi to a suspend fun #330

Closed BobbyESP closed 9 months ago

BobbyESP commented 10 months ago

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?