cognex-id / phonegap-manateeworks-v3 Goto Github PK
View Code? Open in Web Editor NEWManatee Works Barcode Scanner v3
Home Page: https://manateeworks.com
Manatee Works Barcode Scanner v3
Home Page: https://manateeworks.com
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
Steps to reproduce
Install the app
Open the barcode scanner for first time
it will show pop up xxxx app would like to access Camera
Click ok
Blank screen appears-(no scanner its showing)
But once we close the application and reopen the app do the same steps it works
Hi how can i setup this plugin with ionic 2?
Trying to use the front camera to scan but the view is a "mirror" image, meaning inverted. As a result the reader does not scan the barcode as it is "backwards"
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
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
I have an issue with the plugin, after reading more that 80 barcodes in iOS 9.2 or 10.x, is opening the barcode reader screen but not read anything, I'm using your example code that you provide at the bottom.
Cordova version 6.4.0
Plugin version 3.0.14
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?
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?
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'
When I scan a code 128 barcode, I kept getting an asterisks for some of the characters.
Hi
I had an issue but it was resolved by the Manatee team. Thank you very much.
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.
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"
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.
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.
[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)
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?
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
Like title suggests, any way to disable the popup on iOS and Android after the scan works?
Or is this a paid license feature only?
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.