Support for Capacitor v3 and up
rs2-davebanguilan opened this issue · 3 comments
rs2-davebanguilan commented
Current Behaviour
Only supports Capacitor v2.
Expected Behaviour
Support for Capacitor v3 and up
Steps to Reproduce the Problem
- Use version 3 or 4 of capacitor
- Run
npm i @idpass/smartscanner-capacitor
- Error will show that the package uses capacitor
peer @capacitor/core@"^2.4.1" from @idpass/smartscanner-capacitor@0.4.5-beta
Context
rs2-davebanguilan commented
I was able to update it to capacitor v3. Tested the functionality in android and it works fine. I noticed that it only supports the mrz
even though I changed the mode to nfc-scan
. How can I change this to nfc-scan
?
megaxayda commented
hi @rs2-davebanguilan , there is a release for v4 recently, you can try it
https://github.com/newlogic/smartscanner-capacitor/releases/tag/v0.5.0-beta.6
nfc-scan should be working.
rs2-davebanguilan commented
Thank you @megaxayda!