Closed LosoncziTamas closed 3 years ago
Steps to reproduce:
CaptureImage(int maxSize, Action<AN_CameraCaptureResult> callback)
Expected result:
Actual result:
I found that the issue was caused by a missing negation in an if statement:
public static void CaptureImage(int maxSize, Action<AN_CameraCaptureResult> callback) { AN_PermissionsUtility.TryToResolvePermission( CameraApiCameraApiRequiredPermissions, granted => { if (granted) { var result = new AN_CameraCaptureResult(new SA_Error(9, "User denied permission.")); callback.Invoke(result); return; } //...
I'm using Android Native version 2020.10.2.
Thx for the report! Fixed.
Steps to reproduce:
CaptureImage(int maxSize, Action<AN_CameraCaptureResult> callback)
Expected result:
Actual result:
I found that the issue was caused by a missing negation in an if statement:
I'm using Android Native version 2020.10.2.