Comments (6)
Tested version 1.4 on an iOS phone and it works fine.
from camera.maui.
I have tried out version 1.4 on Android (google pixel 7 Pro) and have had similar issues. The app crashes. The older version works fine.
from camera.maui.
Hi,
sorry, but I can't reproduce the error. Could you download this repository and test the included app in debug mode?
from camera.maui.
I have download the repository test app and found the line of code in MainCameraView.cs InitDevices that is causing the null exception.
foreach(var s in map.GetOutputSizes(Class.FromType(typeof(ImageReader))))
cameraInfo.AvailableResolutions.Add(new(s.Width, s.Height));
Works fine on the pixel 5 emulator but errors out on my Samsung S20 device.
from camera.maui.
Hi,
Really I don't understand why it crash... I call the same function in other code part (in previews versions too) and It works... by the way I added an exception control in the last version (1.4.2) and It should works right now.
from camera.maui.
That fixed it. Thanks
from camera.maui.
Related Issues (20)
- [Question] Can this package be used for a .net 8 iOS app (not a MAUI app)?
- Slow Barcode Reading HOT 3
- Upside down
- Library crashes and becomes unresponsive while using AutoSnapShot and Barcode reading on IOS
- TorchEnabled not working on Android
- Can't focus if subject is too near from the camera (for iPhone14 Pro and above models) HOT 4
- camera always rotates HOT 1
- How to use library for making photo automatically HOT 1
- Poor resolution HOT 1
- can't scan Ean13 format
- Android only NullReferenceException on double StartCameraAsync HOT 2
- version 1.5.1 does not work on ios HOT 3
- StartRecordingAsync helds and send acces error in net maui ios
- `NullReferenceException` inside `cameraView.TakePhotoAsync` HOT 3
- Resolution doesnt change
- Barcode scanning does not work in version 1.5.1, only QRcode scanning
- Memory leaking HOT 1
- Cameraview Resolution update on Rotation HOT 1
- Camera not loading on some Samsung devices
- Complex QR codes are not detected HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from camera.maui.