Skip to content

v1.0.0-beta.26

Choose a tag to compare

@brentvatne brentvatne released this 12 Jan 23:55
· 4067 commits to main since this release

Breaking change: handle translucent status bar within Expo automatically.

  • You no longer need to add any padding around your app to handle the translucent status bar in CRNA / Expo apps, it should just work as expected.
  • If you would like to revert to the old behavior, you can use the following escape hatch:
import { Platform } from 'react-native';
import { SafeAreaView } from 'react-navigation';
if (Platform.OS === 'android') {
  SafeAreaView.setStatusBarHeight(0);
}