Skip to content

Expo support only works if library name comes after "expo" alphabetically #135

@janicduplessis

Description

@janicduplessis

Environment

react-native-brownfield@1.2.0
com.callstack.react:brownfield-gradle-plugin:0.4.0
expo@53
react-native@0.79

Description

It seems like there is a project configuration ordering issue when using expo modules on android. If the name of the brownfield library comes before "expo" alphabetically then expo modules are not bundled and it crashes at runtime. I think there needs to be an explicit dependency somewhere to make sure the expo project has been evaluated before our library project.

Reproducible Demo

Using https://github.com/hurali97/expo-brownfield-app, if you rename the library project mylibrary to something like brownfieldreact then it will stop working and crash at runtime about some missing classes.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions