Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Example code not working for camera position #47

Open
tbecker opened this issue Jul 5, 2022 · 0 comments
Open

Example code not working for camera position #47

tbecker opened this issue Jul 5, 2022 · 0 comments

Comments

@tbecker
Copy link

tbecker commented Jul 5, 2022

Environment
Mac M1, Flutter 3.0 IOS version target 15

In info.plist
NSCameraUsageDescription is included

When opening dialog for selecting picture from camera, the request permission screen is shown.
Clicking on button leads to an error message. No Dialog opens for confirming camera usage.

Error message
The following _CastError was thrown while handling a gesture:
Null check operator used on a null value

When the exception was thrown, this was the stack:
#0 _ImagePickerState._initCameraController (package:advance_image_picker/widgets/picker/image_picker.dart:281:41)

Line 281:
final cameraController = _controller!;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant