Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for Capacitor v3 and up #13

Open
rs2-davebanguilan opened this issue Dec 16, 2022 · 3 comments
Open

Support for Capacitor v3 and up #13

rs2-davebanguilan opened this issue Dec 16, 2022 · 3 comments

Comments

@rs2-davebanguilan
Copy link

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/[email protected]

Context

Capacitor 3 info:
image

Capacitor 4 info (Latest):
image

@rs2-davebanguilan
Copy link
Author

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
Copy link
Collaborator

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
Copy link
Author

Thank you @megaxayda!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants