WECodeScanner
WECodeScanner copied to clipboard
Now it won't crash if the user doesn't allow to use the camera
With the previous code if the user denies the permission to use the camera the app crashes. With this change it will just show a white screen. It would be even better to show a message saying that the app has no access to the camera and how the user can fix this in settings