JamitLabs / JamitFoundation

JamitFoundation is a collection of useful concepts to enable composition oriented development with UIKit
MIT License
10 stars 5 forks source link

Crash when using BarcodeScanner Plugin #22

Closed SimonNumberTwo closed 3 years ago

SimonNumberTwo commented 4 years ago

Description

When using the BarcodeScanner without having the camera permission granted the app crashes when dismissing the view the barcode scanner is in.

Steps to reproduce

  1. Open the sample app on the branch feature/sample-project-enhancements on a real device
  2. Decline the camera permission request
  3. Go back to the overview
  4. Open the barcode scanner again. You should be presented with an alert telling you to grant the camera permission
  5. Open the settings
  6. Go back without granting access to the camera
  7. Go back to the overview --> App crashes
SimonNumberTwo commented 3 years ago

This has been fixed with #34 and #36