Change theme
Help
Press space for more information.
Show links for this issue (Shortcut: i, l)
Copy issue ID
Previous Issue (Shortcut: k)
Next Issue (Shortcut: j)
Sign in to use full features.
Vote: I am impacted
Notification menu
Refresh (Shortcut: Shift+r)
Go home (Shortcut: u)
Pending code changes (auto-populated)
View issue level access limits(Press Alt + Right arrow for more information)
Attachment actions
Unintended behavior
View staffing
Description
Version used: 1.0.1
Devices/Android versions reproduced on: SDK 31 and 32
When running the app in Android Studio via USB device it is always stuck in white screen however, stopping the process and launching the app manually works. This is a huge problem to us since this issue also happens in Firebase Test Lab, the crawler cannot execute the Robo Test on devices that is running SDK 31 and 32.
Upon investigation, it turns out that `setOnExitAnimationListener` is not called if you run the app via USB debugging that integrates SplashScreen API in SDK 31 and 32.
```
splashScreen = installSplashScreen().apply {
setOnExitAnimationListener { // Not being called if app is running with usb debugging
// Do nothing so the splash screen will remain visible
splashScreenViewProvider = it
// Fetch and navigate to activity
launchActivity()
}
}
```