```Please someone help me, yesterday I upgraded my...
# compose
g
Copy code
Please someone help me, yesterday I upgraded my phone to android 12 version, since then if I put installSplashScren() or something else before the setContent{} of the MainActivity.kt it fails and doesn't pass to the NavGraph(), when I remove it If it works fine, I don't understand what happens because navGraph doesn't work for me now and any other composable does, and the other way also works for me, removing the installSplashScreen if navGraph() works for me. I don't understand anything...
🥵 1
s
I'd suggest the following. Either: Follow the official documentation again and see if you've somehow missed something Or Make a repro project from scratch and link it here so that others can see what may be happening
g
I just read the navigation again and there is nothing strange, also, if it has always gone well for me, and when I have updated the mobile phone is when it began to fail, what documentation do I look at? I have already looked at everything and nothing
s
Okay I don't think I can help in any way then
c
if you have a minimal reproducible project/code please share.
I currently use installSplashScreen, setContent, and compose nav and everything works fine.
g
i have my MainActivity.kt
Copy code
@AndroidEntryPoint
class MainActivity : ComponentActivity() {
    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        installSplashScreen()
        setContent {
            PaparcarComposeTheme {
                NavGraph()
            }
        }
    }
}
Copy code
Something very strange happens to me, when I run the app, the screen stays blank but when I touch the screen as if I were dragging my finger, that's when it loads, I don't understand anything, but if I remove the splash it works fine, I've also tried to do it in a different activity just for the splash, but when I go to the next activity, when I put the theme I want to the MainActivity from the Manifest with andriod:theme, the same thing happens to me, it kind of stays blank, instead If I don't put the theme, it works fine (I need the theme because I don't want the app bar that comes by default in Android)