Closed menjada closed 6 years ago
Hey @menjada
I hope you have already read the documentation and other issues before posting this. Issue #22 is regarding exactly this and it has been mentioned in the documentation under issues and fixes. If you did try everything and it still isn't working. Please tell me what you tried and also please let me know what your cordova
, cordova-android
and cordova-ios
versions are. You can get this info by using cordova platform
in the CLI. I would also like any other technical detail you can provide. Like mobile device platform[Android / Ios], Platform version etc.
Also try console.log(scan)
and let me know what output you are getting.
Also for camera you need to use 1 instead of zero in scan.scanDoc(0, onSuccessScan, onFailScan);
unless you are using iOS in which case currently both 0 and 1 open camera.
Hi!
Sorry missed that but thx. Unfortunately i cannot make this work, not even with the test files in the thread. I use Phonegap build to complie the app, get errors… I do this intead of using the CLI
But to be clear, this will not work with the Phonegap Build desktop tool?
/Jörgen
On 10 juli 2018 18:55 +0200, Christy Thomas Alex notifications@github.com, wrote:
Hey @menjada I hope you have already read the documentation and other issues before posting this. Issue #22 is regarding exactly this and it has been mentioned in the documentation under issues and fixes. If you did try everything and it still isn't working. Please tell me what you tried and also please let me know what your cordova, cordova-android and cordova-ios versions are. You can get this info by using cordova platform in the CLI. I would also like any other technical detail you can provide. Like mobile device platform[Android / Ios], Platform version etc. Also try console.log(scan) and let me know what output you are getting. Cheers, Chris Neutrinos — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.
Hey @menjada
Yes according to that issue you do need CLI. Although I haven't personally tried it, I don't think phonegap build desktop tool alone will work. The issue poster of that issue had this same problem and he explains how he solved it by installing a few other tools like Android Studio and Cordova CLI.
Can not make this plugin to work. Is there anything else i need to do if i use Phonegapbuild.
scan.scanDoc(0, onSuccessScan, onFailScan); Does nothing? Reqular accessing the camera works fine?