Skip to content

Commit 4c8cac9

Browse files
committed
docs: update README
1 parent 72ce965 commit 4c8cac9

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,6 @@ yarn add react-native-safe-area-context react-native-screens
4343

4444
`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>/`.
4545

46-
Add the highlighted code to the body of `MainActivity` class:
47-
4846
```diff
4947
+ import android.os.Bundle
5048
// ...
@@ -105,7 +103,7 @@ Xenon.hide();
105103
```
106104

107105
> [!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.
109107
> To avoid this, make sure to conditionally render the component only in non-production environments. For example:
110108
>
111109
> ```tsx

0 commit comments

Comments
 (0)