An open API service indexing awesome lists of open source software.

https://github.com/bitcoin-com/cordova-plugin-qrreader


https://github.com/bitcoin-com/cordova-plugin-qrreader

Last synced: 2 months ago
JSON representation

Awesome Lists containing this project

README

          

1. After cloning, delete the platforms/android folder. It's convenient to use that folder for now when working on the plugin. We will remove it from the repo after the plugin dev is complete.

2. `npm run apply:bitcoincom`

3. `node_modules/cordova/bin/cordova plugin add ./plugins-bitcoincom/cordova-plugin-qrreader`

4. `npm run start:android` it will run, but the scanning may not work.

5. Add the contents of

plugins-bitcoincom/cordova-plugin-qrreader/src/android/qrreader.gradle

to the end of

platforms/android/build-extras.gradle

Contents presented here for your convenience:

dependencies {
// Important - the CameraSource implementation in this project requires version 8.1 or higher.
compile 'com.google.android.gms:play-services-vision:11.8.0'
}

6. `npm run start:android` Scanning should work now.