Make sure camera permission is authorized before running the camera, otherwise app will crash.
I am not too familiar to Objective-c but I did my best to get the permission status and check if camera is authorized before it runs the session. we run to an issue that if user denys camera permission, app immediately crashes.
It will look like this when there is no permission on iOS
I will glad to hear about this PR and learn more about it.
Make sure camera permission is authorized before running the camera, otherwise app will crash.
I am not too familiar to Objective-c but I did my best to get the permission status and check if camera is authorized before it runs the session. we run to an issue that if user denys camera permission, app immediately crashes.
It will look like this when there is no permission on iOS
I will glad to hear about this PR and learn more about it.
Thanks, Majid