`npx cap run android` runs `sync` by default, which regenerated `capacitor.plugins.json` and removed SafeArea and SharedImage entries after `restore-local-plugins.js` had already run. Use `--no-sync` in `build-android.sh` (auto-run) and `auto-run.sh` so the launch step does not overwrite the restored plugin list.
10 KiB
Executable File
10 KiB
Executable File