Skip to content

feat: expo config plugin#223

Open
artus9033 wants to merge 64 commits intomainfrom
feat/expo-config-plugin
Open

feat: expo config plugin#223
artus9033 wants to merge 64 commits intomainfrom
feat/expo-config-plugin

Conversation

@artus9033
Copy link
Collaborator

@artus9033 artus9033 commented Jan 22, 2026

Summary

Our brownfield plugin has previously worked with Expo, but required manual setup. This PR provides an Expo config plugin to automate that, and a demo Expo application for testing. The plugin applies all the setup steps we described in brownfield's docs, automatically, during expo prebuild. Additionally:

  • it scans Expo & friends for transitive dependencies -> filters out ones that are already bundled with our AAR -> leaves only necessary ones -> injects them to both Gradle metadata & Maven POM files for publication
      • this process is a bit more complicated: we mimic Gradle's dep resolution mechanics by storing only top versions in a set-like structure
  • adds missing Coil dependencies that are not detected but needed for Expo < 55

Demo apps & CI have been adjusted:

  • AndroidApp now
  • CI has 2 jobs running in parallel: one packaging RNApp and the other ExpoApp, then each building the corresponding flavor of AndroidApp

CLI has been adjusted to run the Expo prebuild if expo is both: detected installed & explicitly listed in the package.json so as not to produce false positives in monorepo setups.

Finally, the CLI is updated to work seamlessly with Expo projects.

Screenshots

Android CLI screenshots image image image
iOS CLI screenshots
Android app: Expo variant image
Android app: vanilla variant Screenshot 2026-02-12 at 15 01 43

Test plan

CI green.

@artus9033 artus9033 self-assigned this Jan 22, 2026
@artus9033 artus9033 force-pushed the feat/expo-config-plugin branch from d95f090 to f56b57d Compare January 22, 2026 19:47
@artus9033 artus9033 force-pushed the feat/expo-config-plugin branch from f56b57d to 2afa209 Compare January 23, 2026 09:41
@artus9033 artus9033 force-pushed the feat/expo-config-plugin branch from ffdea99 to 9390219 Compare February 12, 2026 11:37
@artus9033 artus9033 marked this pull request as ready for review February 12, 2026 19:17
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.

2 participants