[Support Request]: Status of Expo config plugin release (prebuild fails on 0.19.0)

Aperta
#711 0 commenti 0 reazioni 1 assegnatario Vedi su GitHub

I maintainer di solito rispondono entro 5 giorni

@jokerttu ci sta già lavorando.

Dal 8/11/2026.

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

Summary

I'm trying to set up this package in an Expo app by following EXPO.md on main, but npx expo prebuild fails with the latest npm release (0.19.0) because that version doesn't include the config plugin.

From what I can tell, the plugin was added in #709 after v0.19.0 was published, and is waiting to ship in release PR #710 (0.19.1). npm view still shows 0.19.0 as latest, and the installed package has no app.plugin.js or plugin/ directory.

Questions
  1. Is there an expected timeline for publishing 0.19.1, or anything blocking #710?
  2. Until then, is there a supported way for Expo apps to use the plugin, or should we wait for the release?
  3. Could EXPO.md state the minimum package version that includes the plugin? It's linked from the README on the default branch, so anyone following it today will hit this error.
Environment
@googlemaps/react-native-navigation-sdk 0.19.0
Expo SDK 58.0.23
React Native 0.88.1
React 19.3.0
Node 22.20.0
OS Windows 11
Platform tested Android (npx expo prebuild -p android)
Steps to reproduce
  1. Install the package with npx expo install @googlemaps/react-native-navigation-sdk expo-build-properties.

  2. Add the plugin to app.json, as described in EXPO.md:

    "plugins": [
      "@googlemaps/react-native-navigation-sdk",
      ["expo-build-properties", { "android": { "kotlinVersion": "2.3.21" } }]
    ]
    
  3. Run npx expo prebuild -p android.

Actual result
PluginError: Transform failed with 1 error:
node_modules/react-native/index.js:27:7: ERROR: Unexpected "typeof"

No "app.plugin.{js,cjs,mjs,ts,cts,mts}" file was found in "@googlemaps/react-native-navigation-sdk", so the package's main entry was loaded instead. Config plugins are typically exported from an "app.plugin.js" file in the package root.

The No "app.plugin..." file was found line looks like the actual problem. With no plugin file, Expo falls back to the package's main entry, which pulls in react-native. The Unexpected "typeof" part appears to be a side effect: my app.config.ts imports tsx/cjs, so esbuild tries to transform React Native's Flow source. I don't think it indicates a separate bug in this package.

Expected result

npx expo prebuild finds the config plugin and generates the native projects, as EXPO.md describes.

Thanks for adding Expo support, and to @kota113 for the original work in #577.

Lingua principale
TypeScript
Stelle
226
Fork
39
Merge medio
1g 20h
PR unite (30g)
7

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di googlemaps/react-native-navigation-sdk

Tutte le issue di googlemaps/react-native-navigation-sdk

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.