ionic capacitor qrscanner activity compat

前端 未结 1 1321
温柔的废话
温柔的废话 2020-12-03 19:12

I\'m creating an ionic capacitor application. In my app I have to use QR Scanner so I used https://ionicframework.com/docs/native/qr-scanner plugin to integrate qr scanner.

相关标签:
1条回答
  • 2020-12-03 19:35

    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
    
    0 讨论(0)
提交回复
热议问题