unstale

npm / react-native-safe-area-context

react-native-safe-area-context

What changed in react-native-safe-area-context 5, from its official release notes, upgrade guides and advisories. Sources checked 2026-11-30.

1 breaking2 new APIs and options2 behavior and defaults10 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli on npm

react-native-safe-area-context 515 changes

Breaking changes 1

  • The minimum supported React Native version is now 0.74, so projects on older versions cannot update to v5.

    5.0.0release notes

New APIs and options 2

  • Adds corner-adapted safe area insets.

    5.11.0release notes

  • The component exposes a ref to the underlying View, allowing developers to access that View.

    5.10.0release notes

Behavior and default changes 2

  • On Android, window insets now respect adjustments a parent makes for its subtree.

    5.11.0release notes

  • Nested SafeAreaProvider instances on web now report their own frame and insets.

    5.9.0release notes

Fixes and other changes 10

  • Keeps SafeAreaView insets current in native sheets after rotation.

    5.11.1release notes

  • On web, safe area insets no longer grow during scrolling.

    5.11.0release notes

  • Declares the SwiftPM package name in package.json.

    5.10.1release notes

  • Registers src/paper/java as a Java source set on the old architecture, fixing the associated build issue.

    5.9.1release notes

  • Avoids NotFoundError when the measurement element is already detached.

    5.9.0release notes

  • On web, insets and frame are updated when the window is resized.

    5.9.0release notes

  • Fabric SafeAreaView no longer updates state while detached from the window.

    5.8.1release notes

  • SafeAreaView now respects the edges parameter on web.

    5.7.0release notes

  • Adds the missing event dispatcher for tvOS and macOS in the legacy architecture.

    5.6.2release notes

  • Adds support for RN 0.76.

    5.0.0release notes