https://github.com/bitcoin-com/cordova-plugin-qrreader
https://github.com/bitcoin-com/cordova-plugin-qrreader
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/bitcoin-com/cordova-plugin-qrreader
- Owner: Bitcoin-com
- License: apache-2.0
- Created: 2019-02-25T02:14:43.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-04-09T08:10:55.000Z (about 7 years ago)
- Last Synced: 2025-01-26T06:25:30.123Z (over 1 year ago)
- Language: Java
- Size: 47.9 KB
- Stars: 0
- Watchers: 9
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.