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

Abierto
#711 0 comentarios 0 reacciones 1 asignado Ver en GitHub

Los mantenedores suelen responder en 5 días

@jokerttu ya está trabajando en esto.

Desde el 8/11/2026.

Evaluación

Este issue todavía no se ha evaluado.

Descripción

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.

Lenguaje dominante
TypeScript
Estrellas
226
Forks
39
Merge medio
1 d 20 h
PR fusionados (30 d)
7

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de googlemaps/react-native-navigation-sdk

Todos los issues de googlemaps/react-native-navigation-sdk

Issues similares

Más issues de TypeScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.