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

feat: make enabled take precendce over ENABLE_SCREENS #868

Merged

Conversation

WoLewicki
Copy link
Member

Description

Changed the logic to make the enabled prop set to true result in using native code even if ENABLE_SCREENS is set to false.

Changes

Changed index.native.tsx.

Test code and steps to reproduce

Don't call enableScreens() in your app and don't pass false to detachInactiveScreens in your navigator and it will resolve in native react-native-screens components being used.

Checklist

  • Ensured that CI passes

@kacperkapusciak kacperkapusciak merged commit 6231356 into master Mar 31, 2021
@kacperkapusciak kacperkapusciak deleted the @wolewicki/make-enabled-higher-prio-than-enableScreens branch March 31, 2021 07:19
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