bees4honey / mobile_vin_scanner Goto Github PK
View Code? Open in Web Editor NEWThis is a repo for Mobile VIN Scanner created by bees4honey.
License: Other
This is a repo for Mobile VIN Scanner created by bees4honey.
License: Other
Update Camera API 2 to check for orientation or use SurfaceView per: https://code.google.com/p/android/issues/detail?id=191210#c4
Nexus 5X devices using bees4honey plug-in preview the image inverted.
Getting such error while integrating into my app
09-30 18:05:00.392 16228-16228/com.bypc E/art: No implementation found for java.lang.String com.bypc.activities.vinscanner.B4HScanner.parse(byte[], int, int, android.content.Context) (tried Java_com_bypc_activities_vinscanner_B4HScanner_parse and Java_com_bypc_activities_vinscanner_B4HScanner_parse___3BIILandroid_content_Context_2)
09-30 18:05:00.393 16228-16228/com.bypc D/AndroidRuntime: Shutting down VM
09-30 18:05:00.394 16228-16228/com.bypc E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.bypc, PID: 16228
java.lang.UnsatisfiedLinkError: No implementation found for java.lang.String com.bypc.activities.vinscanner.B4HScanner.parse(byte[], int, int, android.content.Context) (tried Java_com_bypc_activities_vinscanner_B4HScanner_parse and Java_com_bypc_activities_vinscanner_B4HScanner_parse___3BIILandroid_content_Context_2)
at com.bypc.activities.vinscanner.B4HScanner.parse(Native Method)
at com.bypc.activities.vinscanner.ScannerFragment$ScannerHandler.handleMessage(ScannerFragment.java:302)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:148)
at android.app.ActivityThread.main(ActivityThread.java:5459)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:728)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618)
(B4HCameraOverlayViewController.o)' does not contain bitcode. You must rebuild it with bitcode enabled (Xcode setting ENABLE_BITCODE), obtain an updated library from the vendor, or disable bitcode for this target. for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
We need a .a static library file built with Xcode 10.
As explained in release notes, libstdc++ was replaced by libc++.
https://developer.apple.com/documentation/xcode_release_notes/xcode_10_release_notes
I am a developer, I'm updating this library for a project.
I pulled and opened your Android sample, there're many BIG problems:
I need your support for important release.
Hi Team,
when I tried to send contact mail for purchasing clarification. But it failed to delivery messages to your mentioned email [email protected]. Please provide correct email for getting support
Example VIN #6 was correctly scanned as
"WBANE53517CK92498"
And then immediately after scanned as
"WBANE53517CK924R8"
If the scanner is no more accurate than human error then whats the point?
Currently you are unable to add this plugin through the CLI for PhoneGap/Cordova. I have written a plugin.xml that will allow this process and would like to provide it for a future addition to your repo :). It currently only supports Android but can be switch to add iOS easily. To use this code just place it in the root of your repo (not in the sub-folders). Hope you guys find this helpful!
<?xml version="1.0" encoding="UTF-8"?>
<!--
Bees4Honey Vin Scanner PhoneGap Plugin XML for Android
The purpose of this xml file will allow PhoneGap users to install the Bees4Honey
mobile VIN Scanner through PhoneGap CLI. By including this file users of this plugin
can simply add the plugin to their projects by running:
phonegap/cordova plugin add https://github.com/bees4honey/mobile_vin_scanner.git
Once this plugin has been added users will still be required to add their application
id reference into Scanner.java before building their projects.
@author Matt Darkis <[email protected]>
@link http://bees4honey.com/
@see http://docs.phonegap.com/en/3.4.0/plugin_ref_spec.md.html#Plugin%20Specification
-->
<plugin xmlns="http://www.phonegap.com/ns/plugins/1.0"
xmlns:android="http://schemas.android.com/apk/res/android"
id="com.bees4honey.vinscanner.plugin"
version="1.0.0">
<name>Bees4Honey</name>
<platform name="android">
<!-- register plugin -->
<config-file target="res/xml/config.xml" parent="/widget">
<feature name="VinBarScanner">
<param name="android-package" value="com.bees4honey.vinscanner.plugin.VinBarScanner"/>
</feature>
</config-file>
<!-- add permissions in AndroidManifest.xml file-->
<config-file target="AndroidManifest.xml" parent="/manifest">
<uses-permission android:name="android.permission.CAMERA"/>
<uses-permission android:name="android.permission.VIBRATE"/>
<uses-feature android:name="android.hardware.camera.autofocus"></uses-feature>
<uses-feature android:name="android.hardware.camera" android:required="true"></uses-feature>
</config-file>
<!-- add Bees4Honey Activity to the "application" section of AndroidManifest.xml file -->
<config-file target="AndroidManifest.xml" parent="/manifest/application">
<activity android:name="com.bees4honey.vinscanner.Scanner"
android:screenOrientation="landscape"
android:configChanges="orientation|keyboardHidden"
android:theme="@android:style/Theme.NoTitleBar.Fullscreen"
android:windowSoftInputMode="stateAlwaysHidden">
<intent-filter>
<action android:name="com.bees4honey.vinscanner.plugin.SCAN"/>
<category android:name="android.intent.category.DEFAULT"/>
</intent-filter>
</activity>
</config-file>
<!-- copy assets resources -->
<source-file src="phonegap_android/assets/www/js/barcodescanner.js" target-dir="assets/www"/>
<!-- copy Bees4honey Lib resources -->
<source-file src="phonegap_android/libs/armeabi/libb4hvinscanner.so" target-dir="libs/armeabi" />
<source-file src="phonegap_android/libs/armeabi-v7a/libb4hvinscanner.so" target-dir="libs/armeabi-v7a" />
<!-- copy Bees4honey resources (images, etc) -->
<source-file src="phonegap_android/res/raw/scanned.wav" target-dir="res/raw"/>
<source-file src="phonegap_android/res/drawable/light.png" target-dir="res/drawable"/>
<source-file src="phonegap_android/res/drawable/light_on.png" target-dir="res/drawable"/>
<source-file src="phonegap_android/res/drawable/rotate.png" target-dir="res/drawable"/>
<source-file src="phonegap_android/res/layout/scan.xml" target-dir="res/layout"/>
<!-- add Bees4honey plugin source code -->
<source-file src="phonegap_android/src/com/bees4honey/vinscanner/plugin/VinBarScanner.java" target-dir="src/com/bees4honey/vinscanner/plugin"/>
<source-file src="phonegap_android/src/com/bees4honey/vinscanner/B4HScanner.java" target-dir="src/com/bees4honey/vinscanner"/>
<source-file src="phonegap_android/src/com/bees4honey/vinscanner/Scanner.java" target-dir="src/com/bees4honey/vinscanner"/>
<source-file src="phonegap_android/src/com/bees4honey/vinscanner/TorchControl.java" target-dir="src/com/bees4honey/vinscanner"/>
<source-file src="phonegap_android/src/com/bees4honey/vinscanner/ViewFinder.java" target-dir="src/com/bees4honey/vinscanner"/>
</platform>
</plugin>
I would like to use your scanner in a current project, but while testing I got the error that it exceeded scans. Is it possible to license the scanner?
https://www.openssl.org/news/vulnerabilities.html - OpenSSL 1.0.1l has known vulnerabilities.
Due to this Google Play Store is displaying a warning for apps that are using this library.
Would be great if these libraries were rebuilt to statically link with the version of OpenSSL containing fixes.
$ wget https://github.com/bees4honey/mobile_vin_scanner/blob/master/android_scanner_sdk/libs/armeabi-v7a/libb4hvinscanner.so?raw=true -O libb4hvinscanner.so
$ sum libb4hvinscanner.so
17 994 libb4hvinscanner.so
$ strings libb4hvinscanner.so |grep "OpenSSL 1.0.1l"
lhash part of OpenSSL 1.0.1l 15 Jan 2015
PEM part of OpenSSL 1.0.1l 15 Jan 2015
RSA part of OpenSSL 1.0.1l 15 Jan 2015
SHA1 part of OpenSSL 1.0.1l 15 Jan 2015
Stack part of OpenSSL 1.0.1l 15 Jan 2015
X.509 part of OpenSSL 1.0.1l 15 Jan 2015
ASN.1 part of OpenSSL 1.0.1l 15 Jan 2015
Big Number part of OpenSSL 1.0.1l 15 Jan 2015
Diffie-Hellman part of OpenSSL 1.0.1l 15 Jan 2015
DSA part of OpenSSL 1.0.1l 15 Jan 2015
(1EC part of OpenSSL 1.0.1l 15 Jan 2015
ECDSA part of OpenSSL 1.0.1l 15 Jan 2015
EVP part of OpenSSL 1.0.1l 15 Jan 2015
MD5 part of OpenSSL 1.0.1l 15 Jan 2015
RAND part of OpenSSL 1.0.1l 15 Jan 2015
SHA-256 part of OpenSSL 1.0.1l 15 Jan 2015
SHA-512 part of OpenSSL 1.0.1l 15 Jan 2015
CONF part of OpenSSL 1.0.1l 15 Jan 2015
ECDH part of OpenSSL 1.0.1l 15 Jan 2015
ECONF_def part of OpenSSL 1.0.1l 15 Jan 2015
We purchased a Android plugin for Phonegap and we have a problems with it.
If you try to tap on a lightbulb icon on device where is no flashlight, the app will crash.
We tried it on multiple Android devices.
We use the most recent version of your plugin.
Cordova v2.9
I am getting the following error when trying to install the vin scanner plugin in the latest cordova 7.1:
support for subdirectories is deprecated and will be removed in Cordova@7
Failed to restore plugin "com.bees4honey.vinscanner" from config.xml. You might need to try adding it again. Error: --fetch does not support subdirectories
We have found that if the license file is converted from Unix line endings to Windows line endings that the license file is read as invalid, resulting in an ERROR_INCOR_SIGNATURE status.
We run into this issue because our git repositories are configured to force Windows line endings on pushes. When we release, we have to remember to copy in the original license with Unix line endings.
I am getting this fatal exception when I run the cordova plugin vin code scanner on android.
Cordova Android platform version: 6.1.2 (latest)
Android Target SDK: 25 (default)
Device Android version: 6.0.1 (latest)
Scanner version: Master Branch @ 3/17/17 (latest)
03-17 15:01:47.716: E/AndroidRuntime(3679): FATAL EXCEPTION: main
03-17 15:01:47.716: E/AndroidRuntime(3679): Process: com.myapp, PID: 3679
03-17 15:01:47.716: E/AndroidRuntime(3679): java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "__aeabi_memclr4" referenced by "/data/app/com.myapp-2/lib/arm/libb4hvinscanner.so"...
03-17 15:01:47.716: E/AndroidRuntime(3679): at java.lang.Runtime.loadLibrary(Runtime.java:372)
03-17 15:01:47.716: E/AndroidRuntime(3679): at java.lang.System.loadLibrary(System.java:1076)
03-17 15:01:47.716: E/AndroidRuntime(3679): at com.bees4honey.vinscanner.B4HScanner.<clinit>(B4HScanner.java:127)
03-17 15:01:47.716: E/AndroidRuntime(3679): at com.bees4honey.vinscanner.ScannerFragment$ScannerHandler.<init>(ScannerFragment.java:312)
03-17 15:01:47.716: E/AndroidRuntime(3679): at com.bees4honey.vinscanner.ScannerFragment.<init>(ScannerFragment.java:91)
03-17 15:01:47.716: E/AndroidRuntime(3679): at com.bees4honey.vinscanner.ScannerActivity.instantiateScannerFragment(ScannerActivity.java:151)
03-17 15:01:47.716: E/AndroidRuntime(3679): at com.bees4honey.vinscanner.ScannerActivity.onCreate(ScannerActivity.java:83)
03-17 15:01:47.716: E/AndroidRuntime(3679): at android.app.Activity.performCreate(Activity.java:6259)
03-17 15:01:47.716: E/AndroidRuntime(3679): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1130)
03-17 15:01:47.716: E/AndroidRuntime(3679): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2379)
03-17 15:01:47.716: E/AndroidRuntime(3679): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2490)
03-17 15:01:47.716: E/AndroidRuntime(3679): at android.app.ActivityThread.access$900(ActivityThread.java:154)
03-17 15:01:47.716: E/AndroidRuntime(3679): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1354)
03-17 15:01:47.716: E/AndroidRuntime(3679): at android.os.Handler.dispatchMessage(Handler.java:102)
03-17 15:01:47.716: E/AndroidRuntime(3679): at android.os.Looper.loop(Looper.java:148)
03-17 15:01:47.716: E/AndroidRuntime(3679): at android.app.ActivityThread.main(ActivityThread.java:5443)
03-17 15:01:47.716: E/AndroidRuntime(3679): at java.lang.reflect.Method.invoke(Native Method)
03-17 15:01:47.716: E/AndroidRuntime(3679): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:728)
03-17 15:01:47.716: E/AndroidRuntime(3679): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618)
@nik123
We are having an issue with your plugin in our app and so we are trying to test your VIN Scanner sample app. We are receiving the following crash on a Google pixel c running 7.1.1. Any ideas?
12244-12244/com.bees4honey.vinscanner.integrationdemo D/AndroidRuntime: Shutting down VM
02-09 21:11:04.131 12244-12244/com.bees4honey.vinscanner.integrationdemo E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.bees4honey.vinscanner.integrationdemo, PID: 12244
android.content.ActivityNotFoundException: No Activity found to handle Intent { act=android.intent.action.VIEW dat=b4hvinscan://scan?caller_name=FAST VIN&callback_url=b4hvindemo://B4HVINCODE }
at android.app.Instrumentation.checkStartActivityResult(Instrumentation.java:1809)
at android.app.Instrumentation.execStartActivity(Instrumentation.java:1523)
at android.app.Activity.startActivityForResult(Activity.java:4225)
at android.app.Activity.startActivityForResult(Activity.java:4183)
at android.app.Activity.startActivity(Activity.java:4522)
at android.app.Activity.startActivity(Activity.java:4490)
at com.bees4honey.vinscanner.integrationdemo.MainActivity$1.onClick(MainActivity.java:37)
at android.view.View.performClick(View.java:5637)
at android.view.View$PerformClick.run(View.java:22429)
at android.os.Handler.handleCallback(Handler.java:751)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:154)
at android.app.ActivityThread.main(ActivityThread.java:6119)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:886)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:776)
Hi, want to try your vin scanner sdk. Would you please provide an example for how to integrate with ionic 2?
We can not scan some of the VIN numbers. For example, 5XYZT3LB1EG147684
A new problem arises, the overlay does not seem to be working. Tried many thing to no avail...I will keep diggin.
Hi!
I'm trying to use this in a phonegap project using ionicframework (angularjs) like this:
var scannerSuccess = function(result) {
console.log(result);
};
var scannerFailure = function(message) {
console.log(message);
};
$scope.scan = function() {
window.plugins.VINBarcodeScanner.scan(scannerSuccess, scannerFailure);
};
The result is nothing happening and my console shows the following message:
TypeError: Cannot read property 'VINBarcodeScanner' of undefined
Any ideas on this?
Thank you!
I've just generated a phonegap app using vin scanner with an input. When I open the vin scanner, b4h opens a web browser vin scanner first instead of the native camera. If I uninstall the other vin scanner app, it works fine.
Fairly new to the phonegap xcode dev so take with a grain of salt.
Trying to build this per instructions provided for ios phonegap readme. 1 Difference that I found was Cordova.plist lines would now be entered into the config.xml. I added the references to the VIN plugins to the Plugins directory and tried to build for 6.1 ios and it gave 13 errors Mach-O errors. I removed references and compiled and it was able to build successfully with no errors. Just trying to figure out where to go next?
libb4hvinscanner.so file is not found for few architectures. e.g., for arm64-v8a architecture I did not find .so file hence library is not supported for devices like Galaxy S6 Edge+.
I just started getting linker errors when trying to compile an app that uses the library. Does something need to be updated for Xcode 10?
Undefined symbols for architecture arm64:
"std::__throw_length_error(char const*)", referenced from:
std::vector<b4hscanner::Ref<b4hscanner::Reader>, std::allocator<b4hscanner::Ref<b4hscanner::Reader> > >::_M_insert_aux(__gnu_cxx::__normal_iterator<b4hscanner::Ref<b4hscanner::Reader>*, std::vector<b4hscanner::Ref<b4hscanner::Reader>, std::allocator<b4hscanner::Ref<b4hscanner::Reader> > > >, b4hscanner::Ref<b4hscanner::Reader> const&) in libB4HVINScanner.a(dm_scanner.o)
std::vector<b4hscanner::datamatrix::ECB*, std::allocator<b4hscanner::datamatrix::ECB*> >::_M_insert_aux(__gnu_cxx::__normal_iterator<b4hscanner::datamatrix::ECB**, std::vector<b4hscanner::datamatrix::ECB*, std::allocator<b4hscanner::datamatrix::ECB*> > >, b4hscanner::datamatrix::ECB* const&) in libB4HVINScanner.a(dm_scanner.o)
std::vector<b4hscanner::Ref<b4hscanner::datamatrix::Version>, std::allocator<b4hscanner::Ref<b4hscanner::datamatrix::Version> > >::_M_insert_aux(__gnu_cxx::__normal_iterator<b4hscanner::Ref<b4hscanner::datamatrix::Version>*, std::vector<b4hscanner::Ref<b4hscanner::datamatrix::Version>, std::allocator<b4hscanner::Ref<b4hscanner::datamatrix::Version> > > >, b4hscanner::Ref<b4hscanner::datamatrix::Version> const&) in libB4HVINScanner.a(dm_scanner.o)
"std::string::_Rep::_S_create(unsigned long, unsigned long, std::allocator<char> const&)", referenced from:
char* std::string::_S_construct<char*>(char*, char*, std::allocator<char> const&, std::forward_iterator_tag) in libB4HVINScanner.a(dm_scanner.o)
"std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&)", referenced from:
b4hscanner::Exception::Exception(char const*) in libB4HVINScanner.a(dm_scanner.o)
"std::ostream& std::ostream::_M_insert<unsigned long>(unsigned long)", referenced from:
b4hscanner::operator<<(std::ostream&, b4hscanner::Result&) in libB4HVINScanner.a(dm_scanner.o)
b4hscanner::operator<<(std::ostream&, b4hscanner::GF256Polynom const&) in libB4HVINScanner.a(dm_scanner.o)
"std::basic_stringbuf<char, std::char_traits<char>, std::allocator<char> >::str() const", referenced from:
b4hscanner::LuminanceSource::operator std::string() in libB4HVINScanner.a(dm_scanner.o)
b4hscanner::BitMatrix::description() in libB4HVINScanner.a(dm_scanner.o)
b4hscanner::GridSampler::checkAndNudgePoints(b4hscanner::Ref<b4hscanner::BitMatrix>, std::vector<float, std::allocator<float> >&) in libB4HVINScanner.a(dm_scanner.o)
b4hscanner::GF256Polynom::description() const in libB4HVINScanner.a(dm_scanner.o)
b4hscanner::datamatrix::DecodedBitStreamParser::decode(b4hscanner::ArrayRef<unsigned char>) in libB4HVINScanner.a(dm_scanner.o)
"std::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >::basic_ostringstream(std::_Ios_Openmode)", referenced from:
b4hscanner::LuminanceSource::operator std::string() in libB4HVINScanner.a(dm_scanner.o)
b4hscanner::BitMatrix::description() in libB4HVINScanner.a(dm_scanner.o)
b4hscanner::GridSampler::checkAndNudgePoints(b4hscanner::Ref<b4hscanner::BitMatrix>, std::vector<float, std::allocator<float> >&) in libB4HVINScanner.a(dm_scanner.o)
b4hscanner::GF256Polynom::description() const in libB4HVINScanner.a(dm_scanner.o)
b4hscanner::datamatrix::DecodedBitStreamParser::decode(b4hscanner::ArrayRef<unsigned char>) in libB4HVINScanner.a(dm_scanner.o)
"std::basic_ostream<char, std::char_traits<char> >& std::__ostream_insert<char, std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&, char const*, long)", referenced from:
b4hscanner::LuminanceSource::operator std::string() in libB4HVINScanner.a(dm_scanner.o)
b4hscanner::operator<<(std::ostream&, b4hscanner::Result&) in libB4HVINScanner.a(dm_scanner.o)
b4hscanner::operator<<(std::ostream&, b4hscanner::BitMatrix const&) in libB4HVINScanner.a(dm_scanner.o)
b4hscanner::GridSampler::checkAndNudgePoints(b4hscanner::Ref<b4hscanner::BitMatrix>, std::vector<float, std::allocator<float> >&) in libB4HVINScanner.a(dm_scanner.o)
b4hscanner::operator<<(std::ostream&, b4hscanner::PerspectiveTransform const&) in libB4HVINScanner.a(dm_scanner.o)
b4hscanner::operator<<(std::ostream&, b4hscanner::String const&) in libB4HVINScanner.a(dm_scanner.o)
b4hscanner::operator<<(std::ostream&, b4hscanner::GF256 const&) in libB4HVINScanner.a(dm_scanner.o)
...
"std::string::_Rep::_S_empty_rep_storage", referenced from:
b4hscanner::Exception::Exception() in libB4HVINScanner.a(dm_scanner.o)
b4hscanner::Exception::Exception() in libB4HVINScanner.a(dm_scanner.o)
b4hscanner::Exception::~Exception() in libB4HVINScanner.a(dm_scanner.o)
b4hscanner::FormatException::FormatException() in libB4HVINScanner.a(dm_scanner.o)
b4hscanner::ReaderException::ReaderException() in libB4HVINScanner.a(dm_scanner.o)
b4hscanner::FormatException::FormatException() in libB4HVINScanner.a(dm_scanner.o)
b4hscanner::ReaderException::ReaderException() in libB4HVINScanner.a(dm_scanner.o)
...
"std::string::_Rep::_S_terminal", referenced from:
char* std::string::_S_construct<char*>(char*, char*, std::allocator<char> const&, std::forward_iterator_tag) in libB4HVINScanner.a(dm_scanner.o)
"std::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >::~basic_ostringstream()", referenced from:
b4hscanner::LuminanceSource::operator std::string() in libB4HVINScanner.a(dm_scanner.o)
b4hscanner::BitMatrix::description() in libB4HVINScanner.a(dm_scanner.o)
b4hscanner::GridSampler::checkAndNudgePoints(b4hscanner::Ref<b4hscanner::BitMatrix>, std::vector<float, std::allocator<float> >&) in libB4HVINScanner.a(dm_scanner.o)
b4hscanner::GF256Polynom::description() const in libB4HVINScanner.a(dm_scanner.o)
b4hscanner::datamatrix::DecodedBitStreamParser::decode(b4hscanner::ArrayRef<unsigned char>) in libB4HVINScanner.a(dm_scanner.o)
"std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(std::string const&)", referenced from:
b4hscanner::DecoderResult::DecoderResult(b4hscanner::ArrayRef<unsigned char>, b4hscanner::Ref<b4hscanner::String>, b4hscanner::ArrayRef<b4hscanner::ArrayRef<unsigned char> >&, std::string const&) in libB4HVINScanner.a(dm_scanner.o)
b4hscanner::GlobalHistogramBinarizer::getBlackRow(int, b4hscanner::Ref<b4hscanner::BitArray>) in libB4HVINScanner.a(dm_scanner.o)
b4hscanner::String::String(std::string const&) in libB4HVINScanner.a(dm_scanner.o)
b4hscanner::String::String(std::string const&) in libB4HVINScanner.a(dm_scanner.o)
b4hscanner::datamatrix::DecodedBitStreamParser::decode(b4hscanner::ArrayRef<unsigned char>) in libB4HVINScanner.a(dm_scanner.o)
b4hscanner::datamatrix::Decoder::correctErrors(b4hscanner::ArrayRef<unsigned char>, int) in libB4HVINScanner.a(dm_scanner.o)
"std::string::_Rep::_M_destroy(std::allocator<char> const&)", referenced from:
b4hscanner::Exception::~Exception() in libB4HVINScanner.a(dm_scanner.o)
b4hscanner::BitMatrix::description() in libB4HVINScanner.a(dm_scanner.o)
b4hscanner::GridSampler::checkAndNudgePoints(b4hscanner::Ref<b4hscanner::BitMatrix>, std::vector<float, std::allocator<float> >&) in libB4HVINScanner.a(dm_scanner.o)
b4hscanner::GF256Polynom::description() const in libB4HVINScanner.a(dm_scanner.o)
b4hscanner::datamatrix::DecodedBitStreamParser::decode(b4hscanner::ArrayRef<unsigned char>) in libB4HVINScanner.a(dm_scanner.o)
b4hscanner::DecoderResult::~DecoderResult() in libB4HVINScanner.a(dm_scanner.o)
b4hscanner::DecoderResult::~DecoderResult() in libB4HVINScanner.a(dm_scanner.o)
...
"std::__throw_logic_error(char const*)", referenced from:
char* std::string::_S_construct<char*>(char*, char*, std::allocator<char> const&, std::forward_iterator_tag) in libB4HVINScanner.a(dm_scanner.o)
"std::ostream& std::ostream::_M_insert<double>(double)", referenced from:
b4hscanner::operator<<(std::ostream&, b4hscanner::PerspectiveTransform const&) in libB4HVINScanner.a(dm_scanner.o)
"std::ostream::operator<<(int)", referenced from:
b4hscanner::GridSampler::checkAndNudgePoints(b4hscanner::Ref<b4hscanner::BitMatrix>, std::vector<float, std::allocator<float> >&) in libB4HVINScanner.a(dm_scanner.o)
b4hscanner::operator<<(std::ostream&, b4hscanner::GF256 const&) in libB4HVINScanner.a(dm_scanner.o)
b4hscanner::operator<<(std::ostream&, b4hscanner::GF256Polynom const&) in libB4HVINScanner.a(dm_scanner.o)
b4hscanner::datamatrix::DecodedBitStreamParser::decodeAsciiSegment(b4hscanner::Ref<b4hscanner::BitSource>, std::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >&, std::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >&) in libB4HVINScanner.a(dm_scanner.o)
ld: symbol(s) not found for architecture arm64
Here is the error when try to install it
support for subdirectories is deprecated and will be removed in Cordova@7
Error: --fetch does not support subdirectories
The VINBarcodeScanner.scan() function from b4hvinscanner.js is firing, but then nothing happens, the scanner never launches. There are no web console errors and no console errors from xcode. The console log "VINBarcodeScanner.scan method called" is the only thing I see.
Cordova IOS platform version: 4.3.1 (latest)
Device iOS version: 10.2.1 (latest)
Scanner version: Master Branch @ 3/17/17 (latest)
Using Xcode 7.2.1, when attempting to archive a phonegap project containing the com.bees4honey.vinscanner phonegap plugin, I am receiving the following error:
"ld: bitcode bundle could not be generated because '/Users/.../phonegap/platforms/ios/project/Plugins/com.bees4honey.vinscanner/libB4HVINScanner.a(ImageBuffer.o)' was built without full bitcode. All object files and libraries for bitcode must be generated from Xcode Archive or Install build for architecture arm64"
I have updated the com.bees4honey.vinscanner plugin to the latest from the git repo which has a commit msg of "iOS library rebuilt with Bitcode support".
I can build, clean and run the project in Xcode without any problems. I only encounter the issue when archiving for distribution.
Is there a way to lock the orientation of the scanner to one, say landscape or portrait?
App run alright on devices android < 6.0 for android but app crash on device android 6.0
File B4Hscanner.java at following snippet code:
static {
System.loadLibrary("b4hvinscanner");
}
Please recheck it. Thanks.
This is log:
FATAL EXCEPTION: main
Process: com.bees4honey.vinscanner, PID: 25452
java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "__aeabi_memclr4" referenced by "/data/app/com.bees4honey.vinscanner-1/lib/arm/libb4hvinscanner.so"...
at java.lang.Runtime.loadLibrary(Runtime.java:372)
at java.lang.System.loadLibrary(System.java:1076)
at com.bees4honey.vinscanner.B4HScanner.(B4HScanner.java:127)
at com.bees4honey.vinscanner.ScannerFragment$ScannerHandler.(ScannerFragment.java:312)
at com.bees4honey.vinscanner.ScannerFragment.(ScannerFragment.java:91)
at com.bees4honey.vinscanner.ScannerActivity.instantiateScannerFragment(ScannerActivity.java:151)
at com.bees4honey.vinscanner.ScannerActivity.onCreate(ScannerActivity.java:83)
at android.app.Activity.performCreate(Activity.java:6303)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1108)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2376)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2483)
at android.app.ActivityThread.access$900(ActivityThread.java:153)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1349)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:148)
at android.app.ActivityThread.main(ActivityThread.java:5438)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:739)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:629)
Hi team,
We purchased your license for our app months ago,
But after upgraded to new library (x64) for Android app, when we scan VIN, it always shows ""license file is not valid" .
What should I do now?
Do we need to get new license for new libs?
Whenever I try to scan a VIN I get an alert saying that the license file is not valid. The license is paid for and is the same one that we have always used, but now it has stopped working. How can I go about troubleshooting this issue?
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.