Hi all,
I'm using QRCodeReaderView in a project that wheen we activate a certain config flag, we can read QRcodes.
I've a QRCodeReaderView in my layout that I use when that flag is active.
The app works great in devices that has camera. When I install the app in a device without camera, the app crashes (with an internal error) when the layout is being loaded:
From the crash text, It seems thee QRCodeReaderView is crashing on the device (I suppose because it doesn't have camera).
Did anyone had the issue before? Is something I can do to only add the QRCodeReaderView to the layout when the device has camera? Can I know that the device has camera, or not?
If you know the issues isn't related with this, I would appreciate any oppinion.
Thanks a lot in advance.
I'm using QRCodeReaderView in a project that wheen we activate a certain config flag, we can read QRcodes.
I've a QRCodeReaderView in my layout that I use when that flag is active.
The app works great in devices that has camera. When I install the app in a device without camera, the app crashes (with an internal error) when the layout is being loaded:
B4X:
Root.LoadLayout("MainPage")
From the crash text, It seems thee QRCodeReaderView is crashing on the device (I suppose because it doesn't have camera).
Did anyone had the issue before? Is something I can do to only add the QRCodeReaderView to the layout when the device has camera? Can I know that the device has camera, or not?
If you know the issues isn't related with this, I would appreciate any oppinion.
Thanks a lot in advance.