Skip to content
This repository has been archived by the owner on Jan 18, 2024. It is now read-only.

[xdl] Add .expo.* extension for projects running in Expo client #873

Merged
merged 1 commit into from
Jul 24, 2019

Conversation

brentvatne
Copy link
Member

@brentvatne brentvatne commented Jul 23, 2019

This allows developers to provide fallback behavior for Expo client when they are running it against a bare app. Eg: you have Map.js that imports react-native-mapbox-gl, and Map.expo.js that imports react-native-maps. When you do a native build you'll want the react-native-mapbox-gl one, and when you run in the Expo client, in order for it not to crash due to a missing native module, you will want the react-native-maps one.

Note: this is not implemented for web in this PR. We may follow up with support for web, discussing internally.

@brentvatne brentvatne merged commit e0a7a9b into master Jul 24, 2019
@brentvatne brentvatne deleted the @brent/expo-extension branch April 23, 2020 20:49
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant