You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using file_picker plugin for document pick from device but it doesn't work
I am getting this error below steps:
First time click on button and trying to open file explorer but did not open. i mention error below
[Presentation] Attempt to present <UIDocumentPickerViewController: 0x10c736ca0> on <UINavigationController: 0x10d80e000> (from <FlutterViewController: 0x10c816800>) whose view is not in the window hierarchy.
Second time click on button and getting this error below
flutter: [MethodChannelFilePicker] Platform exception: PlatformException(multiple_request, Cancelled by a second request, null, null)
flutter: Unsupported operationPlatformException(multiple_request, Cancelled by a second request, null, null)
[VERBOSE-2:ui_dart_state.cc(209)] Unhandled Exception: Null check operator used on a null value
#0 _LessionAttachmentState._openFileExplorer. (package:tutors_app/Screens/tutor/TabBarItems/Dashboard%20items/LessionAttachment.dart:72:30) #1 State.setState (package:flutter/src/widgets/framework.dart:1088:30) #2 _LessionAttachmentState._openFileExplorer (package:tutors_app/Screens/tutor/TabBarItems/Dashboard%20items/LessionAttachment.dart:70:5)
I have tested on real device while getting error. I mention above
Please any suggestions.
Thanks in advance.
The text was updated successfully, but these errors were encountered:
Hi, this have already been opened and it’s likely related to an implementation issue on the app’s side. Just make sure you’re calling the picker once and awaiting for the result before invoking again.
I am using file_picker plugin for document pick from device but it doesn't work
I am getting this error below steps:
[Presentation] Attempt to present <UIDocumentPickerViewController: 0x10c736ca0> on <UINavigationController: 0x10d80e000> (from <FlutterViewController: 0x10c816800>) whose view is not in the window hierarchy.
flutter: [MethodChannelFilePicker] Platform exception: PlatformException(multiple_request, Cancelled by a second request, null, null)
flutter: Unsupported operationPlatformException(multiple_request, Cancelled by a second request, null, null)
[VERBOSE-2:ui_dart_state.cc(209)] Unhandled Exception: Null check operator used on a null value
#0 _LessionAttachmentState._openFileExplorer. (package:tutors_app/Screens/tutor/TabBarItems/Dashboard%20items/LessionAttachment.dart:72:30)
#1 State.setState (package:flutter/src/widgets/framework.dart:1088:30)
#2 _LessionAttachmentState._openFileExplorer (package:tutors_app/Screens/tutor/TabBarItems/Dashboard%20items/LessionAttachment.dart:70:5)
I have tested on real device while getting error. I mention above
Please any suggestions.
Thanks in advance.
The text was updated successfully, but these errors were encountered: