Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update react-native-safe-area-context #8459

Merged
merged 5 commits into from May 23, 2020

Conversation

brentvatne
Copy link
Member

@brentvatne brentvatne commented May 23, 2020

Why

This is a dependency of react-navigation and we want to be sure we're on the latest version to be able to proceed with using it there. Also, the latest version fixes some bugs and adds support for a SafeAreaView component that works cross-platform and effectively removes the need for the react-native-safe-area-view package.

How

Import via script, add to NCL and docs, test on iOS, Android, and web in home and NCL.

This PR also adds react-native-safe-area-context as a dependency of expo because we use it in our DevContainerView now instead of the react-native SafeAreaView. This fixes an issue where the "Refreshing" popover would sometimes appear to vibrate/jitter around.

Test Plan

Manually test in home and NCL.

Note: Android unit test failure is unrelated to this PR, it is caused by 34808ad. I commented out the offending code on my local branch in order to test this feature.

@brentvatne brentvatne requested a review from tsapeta May 23, 2020 22:04
@brentvatne brentvatne requested a review from ide as a code owner May 23, 2020 22:04
@github-actions
Copy link
Contributor

Native Component List for this branch is ready

@brentvatne brentvatne force-pushed the @brent/update-safe-area-context branch from 9bcd7c4 to d54cc09 Compare May 23, 2020 23:01
@brentvatne brentvatne merged commit deff557 into master May 23, 2020
@brentvatne brentvatne deleted the @brent/update-safe-area-context branch May 23, 2020 23:13
prakashbask pushed a commit to prakashbask/expo that referenced this pull request Mar 16, 2022
* Update react-native-safe-area-context

* Update NCL and docs

* Include all necessary files and add UIKit header import to get it to compile

* Update home and expo pkg to use SafeAreaView from react-native-safe-area-context

* Update dev home
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants