-
-
Notifications
You must be signed in to change notification settings - Fork 36
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
Black CameraView in UNO / MAUI mobile project (Android) #86
Comments
I have the same problem. According to the log, the camera is restarted continuously because the dimensions have been adjusted.
|
I have the same problem too. I tried it with the CameraView of the community toolkit. This works.. |
Sorry, I don't have any experience with UNO... |
I found a Solution for me. It sounds weird, but it looks like a render issue. I had the camera view in a ScrollView. It worked after replacing with a StackLayout |
Any chance of some more hint on the fix. Camera doesn't render on the screen. Not sure what is happening when i navigates to the page second time @afriscic . First time the page loads correctly and the second load the page doesn't load the camera. I checked the handler it is initialized. Not sure why the rendering is not happening @rockit666 Can you please help if you have any finding. Stackpanel didn't fix it. Thanks in advance. |
This looks to me like a Handler issue. Try not to call The thing is if a page is transient (new page gets created on each navigation) then you need to call |
Well, I use a singleton page and it works. |
Thanks. When I reading through your issues I also read a comment very similar to this again special thanks for that to route me to issue. I had to comment few lines in lib to make it working the Android CameraManager Dispose was causing these issues. I suppose whenever we are removing those camerapages it was calling disconnect handler and that dispose call caused the issue when it reinitialises second time. So I just commented the Executor and scanner interface dispose methods temporarily to see, that fixes the issue. Creating a singleton Page and reusing it will solve the problem - solution works. Thanks @rockit666 @afriscic |
Hi I tried many free and commercial barcode scanning libs in my UNO Platform project.
Scandit works great but I am revisiting free options.
All is done as MAUI components through MAUI embedding in UNO, as newer UNO versions don't have any directly supported barcode scanning libs
CameraView component is just black allways.
Any idea why ?
(camera permissions are ok)
There are no errors.
Mayne UNO is the problem or anything else.
I am using 1.5.2 version because of dll hell with UNO dependencies , so I can't use latest :
Any ide why ?
Or shoot questions for details.
Here is the log if it is any help :
The text was updated successfully, but these errors were encountered: