ionic capacitor qrscanner activity compat

Capacitor 2.0 uses Android X, that means all plugins have to use Android X too and that one is not updated.

As workarounds you can use Capacitor 1.5.2 or use jetifier to patch plugins to use Android X.

npm install jetifier
npx jetifier
npx cap sync android

Leave a Comment