I am trying to get camera functionality to work in Xamarin.iOS on an iPad with an Enterprise account.
When I use an Enterprise account, the app crashes as soon as I ask for permission:
var status = await CrossPermissions.Current.RequestPermissionAsync<CameraPermission>();
even though a message shows if I want to let the app use the camera. When I say I want to use the camera and then open the app again, I CAN use the camera without issues. I have set the Camera Usage Description in the Info.pList (When I run the same line of code with a developer subscription on the same iPad, it does not crash the first time, and it does not ask for permission)
Is there anything I am missing? Is there another solution I can use?
Xamarin.Forms v4.8.0.1687
Xamarin.Essentials 1.6.0-pre3
Plugin.Permissions 6.0.1
iPad iOS13.2.3
I use VS2019 in Windows