Error text
Error: [android.dangerous]: withAndroidDangerousBaseMod: Cannot read properties of undefined Prebuild failed. Config plugin error.
Error: [android.dangerous]: withAndroidDangerousBaseMod: Cannot read properties of undefined Prebuild failed. Config plugin error.
prebuild breaks while running the plugins from app.json. Usually a plugin option is wrong or its version does not match the SDK.
app.json with that plugin's options.npx expo install --check.android and ios folders and run npx expo prebuild --clean.app.json; even a trailing comma causes this.npx expo prebuild --clean --platform android npx expo config --type introspect npx expo install --check
Do not commit native folders; regenerate them with prebuild every time.
Author and license: Nibras Code