Describe the bug
In some older devices the camera won't open when the quality is set and is not Default. (Rather, the issue here is the resolution of the camera I guess). i.e. 2019's Samsung Galaxy A20.
The culript seems to be this line of code:
|
return new ResolutionStrategy(GetTargetResolution(quality), ResolutionStrategy.FallbackRuleClosestHigher); |
Changing the fallback to ResolutionStrategy.FallbackRuleClosestHigherThenLower seems to do the trick.
Describe the bug
In some older devices the camera won't open when the quality is set and is not Default. (Rather, the issue here is the resolution of the camera I guess). i.e. 2019's Samsung Galaxy A20.
The culript seems to be this line of code:
BarcodeScanner.Mobile/BarcodeScanner.Mobile.Maui/Shared/Extensions.cs
Line 39 in 1120eb9
Changing the fallback to
ResolutionStrategy.FallbackRuleClosestHigherThenLowerseems to do the trick.