Giter Site home page Giter Site logo

didinj / ionic3-cordova-barcode-qrcode-scanner Goto Github PK

View Code? Open in Web Editor NEW
34.0 6.0 43.0 2.08 MB

Ionic 3, Angular 4 and Cordova Barcode QRCode Scanner App Example

Home Page: https://www.djamware.com/post/59bb219f80aca768e4d2b13e/example-of-ionic-3-angular-4-cordova-barcode-and-qr-code-scanner

License: MIT License

TypeScript 40.18% HTML 22.51% CSS 29.76% JavaScript 7.55%
ionic ionic3 angular angularjs angular4 cordova phonegap barcode qrcode scanner

ionic3-cordova-barcode-qrcode-scanner's Introduction

Example of Ionic 3 Angular 4 Cordova Barcode and QRCode Scanner

This source code is part of Example of Ionic 3 Angular 4 Cordova Barcode and QRCode Scanner tutorial.

If you think this source code is useful, it will be great if you just give it star or just buy me a cup of cofee Donate

Steps to run on devices:

  • Clone this repository
  • Connect your phone to your computer
  • Run npm install
  • Run ionic cordova platform rm android
  • Run ionic cordova platform add android
  • Run ionic cordova platform rm ios
  • Run ionic cordova platform add ios
  • Run ionic cordova run android or ionic cordova run ios

ionic3-cordova-barcode-qrcode-scanner's People

Contributors

didinj avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

ionic3-cordova-barcode-qrcode-scanner's Issues

Whats wrong here please ?

Could not resolve all files for configuration ':app:debugCompileClasspath'.

Could not find :barcodescanner:.

real device test error

**hi
i have exactly same file as you and when i test in chrom every thing is ok without error but when i test in a real device android i have this error **
`:app:compileDebugAidl
UP-TO-DATE

:CordovaLib:packageDebugRenderscript
NO-SOURCE
:app:compileDebugRenderscript
UP-TO-DATE

:app:checkDebugManifest UP-TO-DATE
:app:generateDebugBuildConfig
UP-TO-DATE
:app:prepareLintJar UP-TO-DATE
:app:generateDebugResValues UP-TO-DATE
:app:generateDebugResources UP-TO-DATE
:app:mergeDebugResources

UP-TO-DATE
:app:createDebugCompatibleScreenManifests
UP-TO-DATE
:app:processDebugManifest
C:\Users\utilisateur\Desktop\kalantarian_pro\QrIon3\platforms\android\app\src\main\AndroidManifest.xml:19:5-65 Error:

See http://g.co/androidstudio/manifest-merger for more information about the manifest merger.

:app:processDebugManifest FAILED
23 actionable tasks: 1 executed, 22 up-to-date
Element uses-permission#android.permission.CAMERA at AndroidManifest.xml:19:5-65 duplicated with element declared at AndroidManifest.xml:16:5-90
C:\Users\utilisateur\Desktop\kalantarian_pro\QrIon3\platforms\android\app\src\main\AndroidManifest.xml:21:5-84 Error:
Element uses-feature#android.hardware.camera at AndroidManifest.xml:21:5-84 duplicated with element declared at AndroidManifest.xml:17:5-85
C:\Users\utilisateur\Desktop\kalantarian_pro\QrIon3\platforms\android\app\src\main\AndroidManifest.xml Error:
Validation failed, exiting

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':app:processDebugManifest'.

Manifest merger failed with multiple errors, see logs

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

  • Get more help at https://help.gradle.org

BUILD FAILED in 1s
(node:8488) UnhandledPromiseRejectionWarning: Error: cmd: Command failed with exit code 1 Error output:
C:\Users\utilisateur\Desktop\kalantarian_pro\QrIon3\platforms\android\app\src\main\AndroidManifest.xml:19:5-65 Error:
Element uses-permission#android.permission.CAMERA at AndroidManifest.xml:19:5-65 duplicated with element declared at AndroidManifest.xml:16:5-90
C:\Users\utilisateur\Desktop\kalantarian_pro\QrIon3\platforms\android\app\src\main\AndroidManifest.xml:21:5-84 Error:
Element uses-feature#android.hardware.camera at AndroidManifest.xml:21:5-84 duplicated with element declared at AndroidManifest.xml:17:5-85
C:\Users\utilisateur\Desktop\kalantarian_pro\QrIon3\platforms\android\app\src\main\AndroidManifest.xml Error:
Validation failed, exiting

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':app:processDebugManifest'.

Manifest merger failed with multiple errors, see logs

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

  • Get more help at https://help.gradle.org

BUILD FAILED in 1s
at ChildProcess.whenDone (C:\Users\utilisateur\Desktop\kalantarian_pro\QrIon3\platforms\android\cordova\node_modules\cordova-common\src\superspawn.js:169:23)
at emitTwo (events.js:126:13)
at ChildProcess.emit (events.js:214:7)
at maybeClose (internal/child_process.js:925:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5)
(node:8488) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:8488) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.`

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.