# capacitor-qrscanner **Repository Path**: fineone/capacitor-qrscanner ## Basic Information - **Project Name**: capacitor-qrscanner - **Description**: 这是ionic capacitor 模式下的扫码插件 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-03-10 - **Last Updated**: 2022-07-08 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ## 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