Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom Settings / found device issue #5

Open
Novotnde opened this issue Oct 21, 2020 · 5 comments
Open

Custom Settings / found device issue #5

Novotnde opened this issue Oct 21, 2020 · 5 comments
Labels
bug Something isn't working

Comments

@Novotnde
Copy link

Novotnde commented Oct 21, 2020

Hello,

I am using regula nuggets in my solution. And I found that few custom settings behave differently on iPhone and iPad.

  1. Torch - I have set the torch to false as its shown in the manual for custom settings. On iPhone(sys 13.7) the icon is gone however on iPad (14.0.1) the icon is still present.
    iPad - Sometimes when the icon torch is tapped the scanning screen turns white around the scanning frame and then the app crashes.Please see the first image

RGLDocReader.Shared.Functionality.ShowTorchButton = true;

  1. Camera switch - iPad - icon appears correctly when set to true, tapping the icon makes the torch icon disappear but doesn't switch to the front camera.
    RGLDocReader.Shared.Functionality.ShowCameraSwitchButton = true;

3.Scanning page - iPad / scanning page is not on the whole display but directed only to the center. While on iPhone the page is completely spread. Please see second attached image

  1. when repeatedly tapping torch/switch camera icon the application crashes.

tested on
Phone 7 sys 13.7
iPad 9.7 sys 14.0.1
iPad 10.2 sys 14.0.1

The same behavior occurs on application in apple store

Please, let me know if you need some more informations.
Kind Regards
IMG_0023
IMG_0021

@vyakimchik
Copy link
Contributor

Hello,

Thanks for the detailed report. Regarding the arisen issues:

  1. We cannot reproduce it. The torch button is hidden, we checked it out. Are you able to reproduce this issue in our demo project which is available in this repository?
  2. Also cannot reproduce.
  3. It has the right preview dimensions. In the previous version, we scaled the preview to the full screen, but we thought that it's an incorrect way. Therefore, you see the black spaces near the preview.
  4. Cannot also reproduce it.

We'll investigate issues 1,2,4 and try to fix them.

@Novotnde
Copy link
Author

Novotnde commented Oct 27, 2020

Hello, I will try, but as I mentioned above I can reproduce the issue 4 and 2 on the application in App Store if I use iPad so I don't think that its only on my side..

Would there by any chance of adjusting the screen as it was in the previous version?

@Novotnde
Copy link
Author

I just have checked the app here and the torch is still there, its gone once I press the button for switching the camera however if set to false its still there.

@Novotnde
Copy link
Author

Novotnde commented Oct 29, 2020

Hello, I have found the issue when it comes to switch camera to front. For some reason once I set RGLDocReader.Shared.Functionality.VideoSessionPreset = AVFoundation.AVCaptureSession.Preset1920x1080; the camera doesn't switch even on the application you have here

public void ShowScanner(bool IsReadRfid)
{
this.IsReadRfid = IsReadRfid;
RGLDocReader.Shared.Functionality.VideoSessionPreset = AVFoundation.AVCaptureSession.Preset1920x1080;
RGLDocReader.Shared.Functionality.ShowTorchButton = false;
RGLDocReader.Shared.Functionality.ShowCameraSwitchButton = true;
RGLDocReader.Shared.ShowScanner(CurrentPresenter, OnResultsObtained);
}

@vyakimchik
Copy link
Contributor

Hello,

We'll think of that.

Would there by any chance of adjusting the screen as it was in the previous version?

It was fixed in v5.3. Please check it out.

I just have checked the app here and the torch is still there, its gone once I press the button for switching the camera however if set to false its still there.

It means that the preset you set isn't supported by the camera you are about to switch.

Hello, I have found the issue when it comes to switch camera to front. For some reason once I set RGLDocReader.Shared.Functionality.VideoSessionPreset = AVFoundation.AVCaptureSession.Preset1920x1080; the camera doesn't switch even on the application you have here

@vyakimchik vyakimchik added the bug Something isn't working label Feb 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

No branches or pull requests

2 participants