cordova-gmv-barcode-scanner | Cordova barcode scanning plugin | iOS library
kandi X-RAY | cordova-gmv-barcode-scanner Summary
kandi X-RAY | cordova-gmv-barcode-scanner Summary
A Cordova barcode scanning plugin based on the Google Mobile Vision library for iOS & Android.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Returns a callback for the result of obtaining permissions
- Creates the camera source
- Called when a barcode detected
- Gets the check digit
- Executes an scan
- Open a new activity
- Initializes the controller
- Request the camera permission
- Set the callback for auto - focus move
- Starts the auto - focus callback
- Takes a picture
- Sets the focus mode
- Sets the flash mode
- Called when the camera has changed
- Initializes the barcode capture activity
- Draws the barcode annotations on the given canvas
- Invoked when an activity is exited
- Override this method to handle the barcode capture activity
- Performs the zoom level
- Draws the overlay with all its graphics objects
cordova-gmv-barcode-scanner Key Features
cordova-gmv-barcode-scanner Examples and Code Snippets
Community Discussions
Trending Discussions on cordova-gmv-barcode-scanner
QUESTION
i have a cordova application with cordova-gmv-barcode-scanner plugin installed. On Android, everything works fine, but there is a weird bug on when i run it on IOS.
What I am expecting ?
After users clicks on a button, i call GMVBarcodeScanner.scan(..) and expect that camera window pops up
What is happening ?
After user clicks on a button, i call MVBarcodeScanner.scan(..) and nothing happens. However, when i slide down just a little bit from top menu (just make interaction with top menu where battery indicator is), camera windows pops up and everything works as expected.
What ive tried ?
Ive tested on emulators with iphone 11, iphone 8, ipad 7 and also on real device (iphone 7). Behaviour is exactly the same an all devices either emulated or real.
Ive tried playing with deviceready event. But nothing helped. Event is fired as expected just after the click but camera appears only if i interact with top menu.
Ive tried running digest cycle (i use angularjs) after calling the function from event handler but had no effect
my JS
...ANSWER
Answered 2019-Dec-06 at 15:30I managed to solve my problem by allowing gap://ready in CSP META tag. Cordova tried to poke native api but couldnt as it was always blocked by security policy.
Ive changed
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install cordova-gmv-barcode-scanner
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page