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

[expo-modules-core][expo-dev-launcher] add ReactNativeHostHandler.useDeveloperSupport #17069

Merged
merged 5 commits into from
Apr 18, 2022

Conversation

esamelson
Copy link
Contributor

Why

follow up from #16441 -- looks like there was one piece of the setup that I missed, as it wasn't properly set up in bare-expo 😮 😅

How

Add ReactNativeHostHandler.getUseDeveloperSupport() and override it in DevLauncherReactNativeHostHandler with the value from DevLauncherController.

This lets the dev client properly open published updates, and replaces this piece of the config plugin for SDK 44 and below projects.

Test Plan

Build local dev client with RN 0.68 project (using local project template)
✅ can open a published project, no yellow boxes show up and all dev menu options are greyed out
✅ can still open a project in development, yellow boxes show up and all dev menu options are available and work

Checklist

  • Documentation is up to date to reflect these changes (eg: https://docs.expo.dev and README.md).
  • This diff will work correctly for expo build (eg: updated @expo/xdl).
  • This diff will work correctly for expo prebuild & EAS Build (eg: updated a module plugin).

@expo-bot expo-bot added the bot: suggestions ExpoBot has some suggestions label Apr 14, 2022
@esamelson esamelson force-pushed the @eric/dl-fix-published-android branch from ab4c4c4 to 38302ae Compare April 18, 2022 21:06
Co-authored-by: Expo Bot <34669131+expo-bot@users.noreply.github.com>
@esamelson esamelson force-pushed the @eric/dl-fix-published-android branch from 38302ae to 7d0d3db Compare April 18, 2022 21:07
@expo-bot expo-bot added bot: passed checks ExpoBot has nothing to complain about and removed bot: suggestions ExpoBot has some suggestions labels Apr 18, 2022
@esamelson esamelson merged commit 0d1f072 into main Apr 18, 2022
@esamelson esamelson deleted the @eric/dl-fix-published-android branch April 18, 2022 21:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bot: passed checks ExpoBot has nothing to complain about
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants