Git Product home page Git Product logo

phonegap-manateeworks-v3's People

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

phonegap-manateeworks-v3's Issues

Android - No new focusing

Hello @manateeworks !
Is it possible to let the user decided which area should be focused while scanning?
The problem occures when the room is darker, on the normal camera app, the focus can be switched so the actual "image" will be brighten up, while scanning this isn't possible, just reposition the camera focus helps.

This results that sometimes the scanning is very dark and therefore the barcode cant be scanned.

Thanks
Graphefruit

Err :mwbScanner is not defined - i followed the readme file and copied the homepage and hompe page.ts from example folder.

Runtime Error
mwbScanner is not defined
Stack
ReferenceError: mwbScanner is not defined
at HomePage.webpackJsonp.191.HomePage.startScanner (http://localhost:8100/build/main.js:56:9)
at Object.eval [as handleEvent] (ng:///AppModule/HomePage.ngfactory.js:476:24)
at handleEvent (http://localhost:8100/build/vendor.js:12273:138)
at callWithDebugContext (http://localhost:8100/build/vendor.js:13565:42)
at Object.debugHandleEvent [as handleEvent] (http://localhost:8100/build/vendor.js:13153:12)
at dispatchEvent (http://localhost:8100/build/vendor.js:9173:21)
at http://localhost:8100/build/vendor.js:9765:20
at HTMLButtonElement. (http://localhost:8100/build/vendor.js:33938:53)
at t.invokeTask (http://localhost:8100/build/polyfills.js:3:9967)
at Object.onInvokeTask (http://localhost:8100/build/vendor.js:4499:37)
Ionic Framework: 3.5.3
Ionic App Scripts: 2.0.2
Angular Core: 4.1.3
Angular Compiler CLI: 4.1.3
Node: 6.11.1
OS Platform: Windows 10
Navigator Platform: Win32
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.115 Safari/537.36

Barcode Scanning Overlay fails to open on Android 11

Hi,

This plugin does not appear to work on Android 11.

Calling the startScanning method launches the scanner activity but the user is just left with a black screen. The user is able to quit back to the app by using the back button and continue using the app without any issue but the scanning functionality simply does not function.

This has been reported by a customer using Samsung S20 and also I have replicated using Browserstack and Android 11 devices available there.

Initially I noticed logcat info around missing the SYSTEM_ALERT_WINDOW permission (which is a change in Android 11), but having manually added a uses-permission for this to the Android Manifest through the config.xml, the behaviour is the same but there no longer a warning (i.e. I believe the permission has been applied correctly but has not had the desired result)

Regards

Manteeworks barcode scanner crash on Windows 10

I'm using Windows 10 Version 1709 (OS Build 16299.19).
Manteeworks barcode scanner closed after I star scan a moment.
I got JS error message:

 "Error: WinRTError: The request is invalid in the current state.\r\nThe request is invalid in the current state."
   at Anonymous function (ms-appx://1234564556643.myapp/www/components/registration/RegistrationCtrl.js:305:17)
   at Anonymous function (ms-appx://1234564556643.myapp/www/plugins/manateeworks-barcodescanner-v3/www/MWBScanner.js:951:13)
   at Anonymous function (ms-appx://1234564556643.myapp/www/plugins/manateeworks-barcodescanner-v3/www/MWBScanner.js:572:46)
   at cordova.callbackFromNative (ms-appx://1234564556643.myapp/www/cordova.js:295:21)
   at cordova.callbackError (ms-appx://1234564556643.myapp/www/cordova.js:282:9)
   at onError (ms-appx://1234564556643.myapp/www/cordova.js:1048:17)
   at Anonymous function (ms-appx://1234564556643.myapp/www/plugins/manateeworks-barcodescanner-v3/src/windows/MWBarcodeScannerProxy.js:1385:13)
   at ErrorPromise_done (ms-appx://1234564556643.myapp/www/WinJS/js/base.js:2318:25)

And Windows log

The machine-default permission settings do not grant Local Activation permission for the COM Server application with CLSID
{C2F03A33-21F5-47FA-B4BB-156362A2F239}
 and APPID
{316CDED5-E4AE-4B15-9113-7055D84DCC97}
 to the user DESKTOP-CHNCD1L\tbson SID (S-1-5-21-3268230523-2733011267-3488820548-1001) from address LocalHost (Using LRPC) running in the application container 1234564556643.myapp_1.0.30.0_x86__h35559jr9hy9m SID (S-1-15-2-27029379-1597962913-2365468229-3442621348-1777524651-2856746473-2594178817). This security permission can be modified using the Component Services administrative tool.

How can I fix this issue?

App doesn't beep after scan a QRCode

I want to hear a beep after scan a QRCode. There is a beep in the manatee-works app at playStore, but not at my application. Should I use a different library for beep?

fails to install on android 7.0.0

Getting the following error trying to install for android.
Failed to install 'manateeworks-barcodescanner': Error: ENOENT: no such file or directory, open '{cordovaproject}\platforms\android\AndroidManifest.xml'

Not Scanning

Hi
I had an issue but it was resolved by the Manatee team. Thank you very much.

what is the best way to parse driver's license information from pdf417

i woud like to get dl information from scanning the barcode at the back of drivers license .
but when i print response. i get see a string starting @ansi324535636...... are there any specific guideline to parse this information to first name last name dob etc?. i scanned licenses of two different states and it looks like this string follows different convention please help me out.

Settings MWBturnFlashOn ignored

Hi,
The MWBturnFlashOn configuration option set has no real effect on the flash during scanning: the flash remains off when scanning starts.

Here my configuration:

            // ...

            // CAMERA SETTINGS
            var settings = [
                {
                    'method': 'MWBenableFlash',       
                    'value' : [true]
                },
                {
                    'method': 'MWBturnFlashOn',        
                    'value' : [true]                  //BUG: ignored
                },
                {
                    'method': 'MWBenableZoom',        
                    'value' : [false]
                },
                {
                    'method': 'MWBuseAutoRect',        
                    'value' : [false]
                }
            ];

            mwbScanner.loadSettings(settings).then(function(res){
                logger.log('--------------------MWBSCANNER CONFIGURATION ---------------------');
                logger.log(JSON.stringify(res));
            }).catch(function(reason){
               logger.error(reason);
            });

            // ...

"manateeworks-barcodescanner-v3": "^3.0.30"

Scanning not returning any value

Hi
Scanning initiated. Barcode detected and scanned but no value returned.

mwbScanner.startScanning(function(result){
alert(result); //returns [object Object]
});

alert(obj.result); //Does not return anything.
License key is in and correct and all barcode types are selected in the Manatee console.

resizePartialScanner clears settings

While the method resizePartialScanner is not documented in the ReadMe, it is present in the plugin and for the most part works. The issue is that whenever the method is called, the settings loaded before startScanning are all cleared and the defaults are used. This behaviour was discovered while developing for Android.

Parse Result Code

[Hi,]

How can I parse the result code to string and remove extra characters like asterisk(*).

This the result:
{"location":false,"code":"e00112346789128","imageWidth":1280,"bytes":[42,101,48,48,49,42,49,50,51,52,42,54,55,56,57,42,49,50,56],"isGS1":true,"type":"Databar 14 Stacked","imageHeight":720}

Code value: e00112346789128
JSON Value: *e001*1234*6789*128

[GS1 Code] (http://barcode.tec-it.com/en/RSS14?data=0123456789012)

Cancel barcode scan

Hi,
We are using manateeworks barcodescanner plugin version 3.0.23 . Is there a way the to cancel the scan
after initiating it on the click of the button?

Result parsed code

Hi @manateeworks

I'm using the plugin for scan a PDF417 code. With the parsed result, I'm doing a substring function. In Android i'm getting the desired result but not in IOS. The parsed string contain some blanks and tabs that Android detects but IOS does not. The parser has some influence?

Plugin version: 3.0.43

Overlay visible after scanned item

Hey,

I am using the overlay mode for the scanning and below the overlay you can see the scanned items.
After scanning a product the overlay closes, but what I really want for some time now is that the overlay stays after an item is scanned.

Is this possible?

Greets,
Cherimo

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.