Ionic Native Barcode Scanner not working on iOS

I’m having an issue with the barcode scanner that comes with Ionic Native. It works perfectly on Android, but on iOS I get nothing, not even an error. It also never comes up and asks permission to access the camera, which seems odd.

I have update the Info in XCode to make sure it is allowed to access the camera.

I’m evidently not the only one to experience this, as I can see this on their github: https://github.com/phonegap/phonegap-plugin-barcodescanner/issues/488

However, unlike the user in that github comment, I’m already on OSX 10.12 and XCode 8.3.2, so my issue is not the same as theirs. Anyone know what might be going on here?

Thanks,
Rob

Sorry all, disregard. The ol’ remove platform ios / add platform ios seems to have done the trick.

1 Like

What does this trick means? I’m having a similar issue (works fine in android).