skip to Main Content

Camera permission exception on iOS in flutter project

I keep getting the following exception in flutter when I try to open the ReaderWidget of this example from the zxing library: [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: CameraException(channel-error, Unable to establish connection on channel: "dev.flutter.pigeon.camera_avfoundation.CameraApi.getAvailableCameras".) #0 AVFoundationCamera.availableCameras (package:camera_avfoundation/src/avfoundation_camera.dart:76:7) <asynchronous suspension> #1 _ReaderWidgetState.initStateAsync.<anonymous…

VIEW QUESTION

Ios swift – How to disable title color change when highlighted state for UIButton using UIButtonConfiguration is active?

This is how my UIButton is defined and initialized: lazy var addButton: UIButton = { let button = UIButton(radius: 32, title: "+", font: .poppinsRegular.withSize(40), backgroundColor: .purple) button.menu = UIMenu(title: "") button.showsMenuAsPrimaryAction = true return button }() extension UIButton { convenience…

VIEW QUESTION
Back To Top
Search