Open ligi opened 8 years ago
just found https://github.com/dm77/barcodescanner/issues/235 which might be the source of this
You can reproduce the error by removing the camera permisson again and than restart the app.
Good catch! So we probably need to add
github.com/hotchemi/PermissionsDispatcher is really nice to handle runtime-permissions
had same issue. fixed by explicitly requesting camera permission before switching to the page containing the code that uses the camera. in my case zxing scanner for xamarin. It's a messy business due to different android versions so i used of a great NuGet plugin (helper). PlugIn.Permissions (https://www.nuget.org/packages/Plugin.Permissions/).
e9eabc6 might fix this, let's see
Wast just opening the app again as I was setting up a pretix installation. Unfortunately the first time opening the app crashed and even worse I cannot reproduce this anymore currently. Opening the app after this and until now worked like a charm.