dynamsoft / capture-vision-cordova-samples Goto Github PK
View Code? Open in Web Editor NEWDynamsoft Capture Vision Cordova SDK Samples
License: Other
Dynamsoft Capture Vision Cordova SDK Samples
License: Other
The path to the BarcodeScanner.java in Android conflicts with the other plugin phonegap-plugin-barcodescanner. Not sure why you didn't keep the folder naming consistent with the plugin name?
Hey @Dynamsoft-Henry
I needs some suggestions on this, we can use this plugin without internet connection or not ?
Because some time when internet connection is slow or not available then scanner is not open
"Received Event: deviceready", source: file:///android_asset/www/js/index.js (63)
2019-11-17 12:03:35.400 6755-6755/com.example.hello I/chromium: [INFO:CONSOLE(32)] "Uncaught TypeError: Cannot read property 'barcoeScanner' of undefined", source: file:///android_asset/www/js/index.js (32)
i got this error
cordova.plugins.barcoeScanner.scan(
Hi,
I'm getting an error building with this plugin:
app:preDebugBuild FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Could not resolve all files for configuration ':app:debugCompileClasspath'.
> Could not find :dbr:.
Node version: v8.15.0
Cordova version: 8.0.0
Java JDK: installed 1.8.0
Android SDK: installed true
Android target: installed android-28,android-27,android-26
Gradle: installed /usr/local/Cellar/gradle/5.1/bin/gradle
The Android application consuming the dynamsoft-capture-vision-cordova
plugin fails to build with the following error:
[23:42:39]: ▸ FAILURE: Build completed with 2 failures.
[23:42:39]: ▸ 1: Task failed with an exception.
[23:42:39]: ▸ -----------
[23:42:39]: ▸ * Where:
[23:42:39]: ▸ Script '/home/runner/work/project/platforms/android/dynamsoft-capture-vision-cordova/test-barcodereader.gradle' line: 16
[23:42:39]: ▸ * What went wrong:
[23:42:39]: ▸ A problem occurred evaluating script.
[23:42:39]: ▸ > No signature of method: test_barcodereader_8rt3ypgrvfhme12j7io6xr0vw.android() is applicable for argument types: (test_barcodereader_8rt3ypgrvfhme12j7io6xr0vw$_run_closure1) values: [test_barcodereader_8rt3ypgrvfhme12j7io6xr0vw$_run_closure1@37a72807]
[23:42:39]: ▸ * Try:
[23:42:39]: ▸ Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
[23:42:39]: ▸ ==============================================================================
[23:42:39]: ▸ 2: Task failed with an exception.
[23:42:39]: ▸ -----------
[23:42:39]: ▸ * What went wrong:
[23:42:39]: ▸ A problem occurred configuring project ':app'.
[23:42:39]: ▸ > compileSdkVersion is not specified. Please add it to build.gradle
[23:42:39]: ▸ * Try:
[23:42:39]: ▸ Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
[23:42:39]: ▸ ==============================================================================
We are building the Android app with this command: bundle exec fastlane android build
.
We are using [email protected]
and [email protected]
.
Would you happen to know what's the issue here?
Is there a documentation on how to change the UI of the barcode reader for mobile? Instead of the green rectangular line with a red line in the middle, I would like to change it similar to Dynamsoft's Barcode Reader in Web that is moving which looks like this.
https://demo.dynamsoft.com/dbr_wasm/barcode_reader_javascript.html
Thanks.
I have working on IONIC project and i have stucked at one point of scanner issue.
Can you please once look with this demo and please help me on this issue.
DEMO CODE: https://www.dropbox.com/s/h23268kr9bdalhv/qr-code-dynamosoft.zip?dl=0
ISSUE:
I have created one scanner.js file which contains scanner methods like createInstance, startScanner and stopScanner.
And two different pages are created "Test Page 1" & "Test Page 2"
So first we open scanner from anyone of the page from above and scanner works (WITH OPEN CAMERA VIEW)
But if we go to another page and then open scanner then it's not works fine. There is CAMERA VIEW is not open but scanning of barcode is works.
So basically if you first go to the "Test Page 1" and start scanner then works fine (OPEN CAMERA VIEW and Barcode scans perfectly) then you go to the another page "Test Page 2" and start scanner then it's not works like "NOT OPEN CAMERA VIEW but scanning of barcode is works without open CAMERA VIEW".
Can you please help me on this what was the issue on this ??? I really needs help on this please ....
Steps for generate IOS build:
Hello @Dynamsoft-Henry
From here: #47
There is new issue happened on IOS devices.
When i was testing, if i open scanner first time then it's work fine to show green-box (scan region)
And if i open it second time green-box (scan-region) not appears but it scans properly, but as per user experience it's not looks good.
I'm using this plugins "develop" branch.
So basically i needs green-box always when we open scanner.
Hello @Dynamsoft-Henry
We are getting many errors on our Firebase console; some of the errors are mentioned here.
Can you please, once you look at this, let me know if you have any ideas to resolve it or fix it?
Fatal Exception: java.lang.IllegalStateException: Session has been closed; further changes are illegal.
at android.hardware.camera2.impl.CameraCaptureSessionImpl.checkNotClosed(CameraCaptureSessionImpl.java:887)
at android.hardware.camera2.impl.CameraCaptureSessionImpl.stopRepeating(CameraCaptureSessionImpl.java:418)
at com.dynamsoft.dce.CameraEnhancer$9.run(CameraEnhancer.java:1442)
at java.lang.Thread.run(Thread.java:1012)
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.