We've enabled the BarCode scan for mobile App.
The behavior is correct for some devices but in some others we have an unexpected behavior (Android used in a Huawei Y5 2017
Build number: Maya-L03C212B120
EMUI version 4.1
Android versión 6.0).
Sugar SDK version: 220.127.116.117-1.2.0-1
We attached the used code (from mobile SDK API Documentation: https://mobiletools.sugarcrm.com/docs/latest/sdk/docs/sdk/tutorial-scan-qr.html )
The problem is presented in the following order,
1.- We select an opportunity record
2.- Over the opportunity we have the scan icon, which is selected.
3.- The camera is open correctly, but after few seconds the app redirect to the main page(like a new open)
Do you know if this problem was reported before, or what do you recommend us to solve the problem?
Thanks and regards