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

Ouverte
#711 0 commentaires 0 réactions 1 personne assignée Voir sur GitHub

Les mainteneurs répondent en général sous 5 jours

@jokerttu y travaille déjà.

Depuis le 8/11/2026.

Évaluation

Cette issue n'a pas encore été évaluée.

Description

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.

Langage dominant
TypeScript
Étoiles
226
Forks
39
Merge moyen
1 j 20 h
PR mergées (30 j)
7

Préparer son environnement

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Autres issues de googlemaps/react-native-navigation-sdk

Toutes les issues de googlemaps/react-native-navigation-sdk

Issues similaires

Plus d'issues TypeScript

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.