2 thoughts on “Using Modal in an app with status bar hidden = true results in status bar being shown

  1. Just go to styles.xml of android/app/src/main/res/values/styles.xml and put this code in Base application theme

    `

    <style name=”AppTheme” parent=”Theme.ReactNative.AppCompat.Light.NoActionBar.FullScreen”>

    </style>

    `

    After putting code, remove generated folders from android/app/build/generated folder and again do
    react-native run-android . It will work

Comments are closed.

2 thoughts on “Using Modal in an app with status bar hidden = true results in status bar being shown

  1. Just go to styles.xml of android/app/src/main/res/values/styles.xml and put this code in Base application theme

    `

    <style name=”AppTheme” parent=”Theme.ReactNative.AppCompat.Light.NoActionBar.FullScreen”>

    </style>

    `

    After putting code, remove generated folders from android/app/build/generated folder and again do
    react-native run-android . It will work

Comments are closed.