react-native-community / template

The React Native Community Template - getting started building RN apps for Android & iOS
MIT License
70 stars 16 forks source link

feat: use react-native-safe-area-context #78

Closed blakef closed 3 days ago

blakef commented 2 weeks ago

We're recommending using react-native-safe-area-context instead of SafeAreaView for Android 15 targetSDK = 35.

With StatusBar Without StatusBar
e2e e2e-hidden-status-bar
blakef commented 2 weeks ago

CC @alanleedev

blakef commented 1 week ago

We can't land this change until we figure out a couple of things. At the moment when I use the react-native-safe-area-context library, this doesn't work edge-to-edge:

Baseline

CleanShot 2024-11-13 at 10 31 00@2x

Using react-native-safe-area-context:

CleanShot 2024-11-12 at 21 13 15@2x

blakef commented 1 week ago

@alanleedev I've opened up th3rdwave/react-native-safe-area-context#552

alanleedev commented 3 days ago

Closing in favor of new approach: https://github.com/react-native-community/template/pull/85