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

fix: add hasTwoStates iOS check #1151

Merged
merged 1 commit into from
Sep 27, 2021
Merged

fix: add hasTwoStates iOS check #1151

merged 1 commit into from
Sep 27, 2021

Conversation

burakgormek
Copy link
Contributor

Description

PR adds iOS check for NativeScreenNavigationContainer. Android trying to call RNSScreenNavigationContainer which is only had on iOS.
image

Changes

Added iOS check before the NativeScreenNavigationContainerValue init. Actually line 235 calls NativeScreenNavigationContainer if navigation hasTwoStates but I combined both check in one place.

Test code and steps to reproduce

1- Add navigation patch react-navigation/react-navigation#9772
2- Run Test619 on Android

Checklist

Copy link
Member

@WoLewicki WoLewicki left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the fix!

@WoLewicki WoLewicki merged commit eb0650b into software-mansion:master Sep 27, 2021
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.

2 participants