Managed to get login working in tivi.app on iOS 🎉

Delegated the OAuth flow to the AppAuth-iOS framework for ease, but was surprisingly easy to hook into the #KotlinMultiplatform DI graph. Getting closer to being fully functioning...

PR: https://github.com/chrisbanes/tivi/pull/1359

Add Trakt login to iOS by chrisbanes · Pull Request #1359 · chrisbanes/tivi

Leaning heavily on https://github.com/russhwolf/multiplatform-settings and it's Keychain support for storing tokens, and AppAuth-iOS for the handling the OAuth flow. output.mp4 ...

GitHub
@cb this is really nice! I wasn't aware of the kotlin-inject library and was confused a bit before google-ing it on how you could have gotten dagger/hilt to work, since they're generating java.
I'll take it for a spin instead of koin.
@alexb I’ve been very impressed with it. It’s more Dagger than Hilt (you need to create all the components), but it leans heavily on the Kotlin language for DI primitives.