You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`react-native-screens` package requires one additional configuration step to properly work on Android devices. Edit `MainActivity.kt` file which is located under `android/app/src/main/java/<your package name>/`.
45
45
46
-
Add the highlighted code to the body of `MainActivity` class:
47
-
48
46
```diff
49
47
+ import android.os.Bundle
50
48
// ...
@@ -105,7 +103,7 @@ Xenon.hide();
105
103
```
106
104
107
105
> [!WARNING]
108
-
> `<Xenon.Component />` is enabled by default in all environments, **including production**. This could expose sensitive debugging tools to end users, creating potential security risks.
106
+
> `<Xenon.Component />` is enabled by default in all environments, **including production**. This could expose sensitive tools to end users, creating potential security risks.
109
107
> To avoid this, make sure to conditionally render the component only in non-production environments. For example:
0 commit comments