Giter Site home page Giter Site logo

cordova-plugin-qrscanner-nbs's Introduction

cordova-plugin-qrscanner

A fast, energy efficient, highly-configurable QR code scanner for Cordova / Ionic apps โ€“ available for the iOS, Android, Windows, and browser platforms.


Works as of August 2022.

ionic@6
cordova@11
cordova-ios@6
cordova-android@10
angular@14

Original plugin/repo is https://github.com/bitpay/cordova-plugin-qrscanner. Currently not working with the latest Android/iOS version. It fails during XCode build.

Other packages on npm with apparent solutions keep installing the original plugin. So they fail during XCode build, too.


This is a fork of https://github.com/v1934/cordova-plugin-qrscanner-11, with a commit taken from https://github.com/NoahSun/cordova-plugin-qrscanner.

It's working with the latest android platform and contains fixes for compilation errors due to incompatibilities with Swift 5


If you're using Ionic, switch to Capacitor.

cordova-plugin-qrscanner-nbs's People

Contributors

gianluigitrontini avatar

Watchers

 avatar

Forkers

vegs jammin197

cordova-plugin-qrscanner-nbs's Issues

Error on Electron build / and migrate to swift 4 for iOS

I try your plugin to use for app with ios android and electron and I have this error message when I build app in electron ๐Ÿ‘

Uncaught Error: Module cordova-plugin-qrscanner.QRScannerProxy does not exist.
at addEntry (cordova.js:1177)
at Object.exports.runs (cordova.js:1199)
at onScriptLoadingComplete (cordova.js:1337)
at scriptLoadedCallback (cordova.js:1358)
at HTMLScriptElement. (cordova.js:1312)

Can not build :

Script 'D:\app2\src-cordova\platforms\android\cordova-plugin-qrscanner-nbs\app-qrscanner.gradle' line: 6

  • What went wrong:
    A problem occurred evaluating script.

Could not find method compile() for arguments [com.journeyapps:zxing-android-embedded:4.3.0] on object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler.

app.qrscanner.gradle:
repositories {
jcenter()
}

dependencies {
compile 'com.journeyapps:zxing-android-embedded:4.3.0'
compile 'com.android.support:appcompat-v7:23.1.0'
}

android {
buildToolsVersion '23.0.2' // Older versions may give compile errors
}

i've change com.journeyapps:zxing-android-embedded:4.3.0 from 3.3.0

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.