Start a new topic

QR Code Scanning doesn't work on new project

I tried to use the sample app and created an activity. I even modified the BarcodePlugin.cpp file to invoke it from my custom activity.

Here is the attached source code. Everything works except qr code or barcode scanning. 


is always returning 0

1 Comment


Could you please provide further details:

  • Which version of the SDK are you using?
  • Are you working with the JS API or the Native API?
  • Are you using any of our Extensions (Cordova, Xamarin, Unity)? If yes, which version are you using?
  • What device does this happen with (model details and OS version)?
  • Is this happening with the sample app or in your own app? If it happens with your own app, does the bar code sample of the sample app work on your device?
  • If the sample app is working, please make sure to have a close look on what code is needed.

Thx and greetings


Login or Signup to post a comment