Redth / ZXing.Net.Mobile

Barcode Scanner for Xamarin.iOS, Xamarin.Android, UWP and Tizen
MIT License
1.07k stars 701 forks source link

Please update the Android part to the new Camera2 API #911

Open Martin-Stein opened 4 years ago

Martin-Stein commented 4 years ago

Hi, I have an issues with the actual Android implementation. While I have debugged the code, I have seen, that the Camera related Types an Method are obsolete.

So please update this, hopefully it works better then. (my App is crashig, when it enters the onResume state, CameraControlelr.Refresh do not work properly. Sometimes my App crashes, sometimes it will show the preview but is not scanning any more)

Kind regards, Martin

knocte commented 3 years ago

I have an issues with the actual Android implementation.

What version of ZXing.Net.Mobile did you try?

AlexSchuetz commented 3 years ago

Camera API 1 was deprecated in API 21. Any plans on supporting the new Camera API 2?

Martin-Stein commented 3 years ago

I have an issues with the actual Android implementation.

What version of ZXing.Net.Mobile did you try?

I am using Vers. 2.4.1