rebuy-de / rb-forms-barcode

Rb.Forms.Barcode is a Xamarin.Forms view for scanning barcodes.
https://github.com/rebuy-de/rb-forms-barcode
MIT License
43 stars 21 forks source link

Android api 22 camera is not working #72

Closed bilalekremharmansa closed 6 years ago

bilalekremharmansa commented 7 years ago

I have 2 android phones for testing my Xamarin Forms app. One's API is 25 and other one's API is 22. First one is working great but one with API 22 is not.

I provided camera permissions for API 22

AndroidManifest.xml,

<uses-permission android:name="android.permission.FLASHLIGHT" />
<uses-permission android:name="android.permission.CAMERA" /> 

AssemblyInfo.xml , [assembly: UsesPermission(Android.Manifest.Permission.WriteExternalStorage)] [assembly: UsesPermission(Android.Manifest.Permission.Flashlight)] [assembly: UsesPermission(Android.Manifest.Permission.Camera)]

but still camera app does not open. Indicator is running and app is not crashing but nothing happens. Do I need to give more permissions or RB-Forsm Barcode isnt working on earliear versions of API 25 ?