Hey Ionic community,
I’m trying to get the Barcode Scanner plugin to work in a small app.
I installed it by executing this commands:
npm install ionic-native --save ionic plugin add phonegap-plugin-barcodescanner
My code for the page I want to trigger the Barcode Scanner from looks like this:
My problem is that when I start the app on my Nexus 5 via
ionic run and click my test button I get a generic error message saying that there has been a problem with the Android camera and that it could help to reboot the device.
A screenshot of the message (sorry for it being in German):
I tried restarting my device and the strange thing is that the camera of my device works normally in the camera app.
What can I do to fix my problem (I hope this isn’t a stupid question )?
Thanks in advance for the help.