Revision Date Author Comments
# 9577a8d2 03-Nov-2020 Łukasz Kosmaty <[email protected]>

[expo-dev-menu-interface] Add auto-linking support (#10775)

# Why

We want to make sure that the installation process for `dev-menu` and `dev-client` is as trivial as possible. So I've added the

[expo-dev-menu-interface] Add auto-linking support (#10775)

# Why

We want to make sure that the installation process for `dev-menu` and `dev-client` is as trivial as possible. So I've added the auto-linking support into `expo-dev-menu-interface`.

# How

- react-native auto-linking works only if the dependency is listed in the package.json. So I've updated the documentation - users need to install both packages `expo-dev-menu` and `expo-dev-menu-interface`.
- create dummy `ReactPackage` - otherwise, the auto-linking doesn't work.
- https://github.com/expo/expo/blob/9262d54309ab52d6b0cdcc60aad9720a9783ccdd/packages/expo-dev-menu-interface/react-native.config.js#L1-L13

# Test Plan

- bare-expo
- iOS ✅
- android ✅

show more ...