newlogic/smartscanner-capacitor

Support for Capacitor v3 and up

rs2-davebanguilan opened this issue · 3 comments

Current Behaviour

Only supports Capacitor v2.

Expected Behaviour

Support for Capacitor v3 and up

Steps to Reproduce the Problem

  1. Use version 3 or 4 of capacitor
  2. Run npm i @idpass/smartscanner-capacitor
  3. Error will show that the package uses capacitor peer @capacitor/core@"^2.4.1" from @idpass/smartscanner-capacitor@0.4.5-beta

Context

Capacitor 3 info:
image

Capacitor 4 info (Latest):
image

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?

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.

Thank you @megaxayda!