Comments (4)
@iMicknl I also raised this issue. I managed to get around the errors by following the error messages and moving/modifying files in the platform folders, but it ended up only getting me to this point, and it could never actually get cordova.plugins.OpenALPR.scan() to run correctly.
I modified the OpenALPR.js file and it seems to reach the scan function ok, but when it tries to do the exec() it never reaches the OpenALPR.java file. I edited the OpenALPR.java file to automatically call the success function whenever it reached the execute function, but it seems like it never hit that point. I'm not familiar with the plumbing of cordova plugins so there might be something I missed, but that was as far as I could figure out.
It would really be a massive help if you could take a look into these issues for me, and I'm happy to work with you on them if you need it. I'm just not really sure where to start.
scan: function(filepath, success, error) { exec( success, error, 'OpenALPR', 'scan', [filepath] ) }
from cordova-plugin-openalpr.
I can reproduce this using Android 7..1.1, however I don't have a fix available yet. @melvinversluijs and I just updated the iOS package for a 2.0.0 release of the plugin, but we are still struggling with the Android counterpart.
Did you make any progress? A possible solution could be downgrading to a lower SDK version.
from cordova-plugin-openalpr.
@SonnyCampbell,
In our case the problem was caused by an iOS only function of the Camera module. This function was compiled into Android aswel which made it crash. Wrapping the function in a if platform === 'ios'
block fixed the issue.
Could you provide a bit more of your code (Like the camera options). So I can help you debug this issue?
Kind regards,
Melvin
from cordova-plugin-openalpr.
Closing issue due to inactivity and the release of version 2.0. If you are still facing this issue with v2.0, let us know and we will reopen.
from cordova-plugin-openalpr.
Related Issues (20)
- Issue with Cordova Platforms : android 7.0.0 HOT 4
- No rego recognized or error message - 0: No image found for given file path. HOT 5
- Scanning retunrs nothing HOT 11
- Plugin Not Fetching Data From South Africa License Plate HOT 3
- TypeError cannot read property 'scan' of undefined HOT 2
- Ionic 4 support? HOT 3
- Error in Success callbackId: OpenALPR1194570412 : TypeError: callback.success.apply is not a function HOT 5
- I'm not able to use this plugin in ionic v4. HOT 1
- Not working on arm64-v8a, x86 or x86_64 Android devices. HOT 8
- add full support setDefaultRegion HOT 3
- Always returning empty array HOT 2
- Not working no response no error HOT 2
- Android 64-bit support HOT 2
- openalpr.conf changes not being picked up when app built HOT 2
- Enable Bitcode for ios HOT 1
- this.openalpr.scan is not a function / undefined
- Modern iOS / XCode / Capacitor support HOT 3
- Android armeabi-v7a issue? HOT 1
- java.lang.UnsatisfiedLinkError: dlopen failed: library "libopenalprjni.so" not found
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cordova-plugin-openalpr.