@eventonehq/capacitor-qrscanner

v1.1.12
QR Scanner for Capacitor
capacitor plugin native qrscanner qr

General

Current version works with iOS and Android There are no styling options or camera settings now.

Installation

npm i @johnbraum/capacitor-qrscanner

In your specific view:

For Capacitor v2 (version before v1.1.0)

import { Plugins } from '@capacitor/core';
const { CapacitorQRScanner } = Plugins;

For Capacitor v3 (version >= v1.1.7)

const { CapacitorQRScanner } = '@johnbraum/capacitor-qrscanner';

Then just call the method:

let result = await CapacitorQRScanner.scan();

Access the found code result.code

Bugs / Feedback

If you have problems or questions:
https://bitbucket.org/golbros/capacitor-qrscanner/issues

npm i @eventonehq/capacitor-qrscanner

Metadata

  • MIT
  • Whatever
  • Marcel Golob
  • released 9/1/2021

Downloads

Maintainers