Hi everyone! In my Kotlin Multiplatform app, I'm ...
# multiplatform
a
Hi everyone! In my Kotlin Multiplatform app, I'm using the Android SplashScreen API with installSplashScreen().setKeepOnScreenCon dition { !isInitialized } to hold the splash screen until my refreshToken() call completes. This allows me to check access/ refresh tokens before navigating into the main UI. On iOS, I'm using SwiftUI and a LaunchScreen storyboard defined in Info. plist, but I understand iOS automatically hides this at app start. How can I achieve similar behavior on iOS (i.e., hold splash screen until refreshToken completes ?
not kotlin but kotlin colored 1
f
you can’t directly
o
You can always create your own splash screen, and use launcheffect to hold and check tokens
☝️ 1