Socket
Socket
Sign inDemoInstall

@johnbraum/capacitor-qrscanner

Package Overview
Dependencies
2
Maintainers
1
Versions
44
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @johnbraum/capacitor-qrscanner

QR Scanner for Capacitor


Version published
Weekly downloads
59
increased by195%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

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

Support

If you like the plugin and want to support me: https://buymeacoffee.com/johnbraum

Keywords

FAQs

Last updated on 07 Sep 2021

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc