Comments (5)
Fixed on 1.3.3.
from flutter_file_picker.
Thank you for your input, can you post your full log and the steps to reproduce?
from flutter_file_picker.
Sure :)
Device: Samsung S7 with Android 8.0.0
- Call await FilePicker.getFilePath(type: fileType, fileExtension: extension);
- Select Google Photos (see Screenshot, fifth from the bottom)
- Select any image
- See error (see trace below)
Error:
2019-03-21 14:47:27.713 4484-4586/com.openxchange.oxtalk E/flutter: [ERROR:flutter/lib/ui/ui_dart_state.cc(148)] Unhandled Exception: type 'List<dynamic>' is not a subtype of type 'FutureOr<String>'
#0 FilePicker.getFilePath (package:file_picker/file_picker.dart:35:7)
<asynchronous suspension>
#1 _BlocScreenState._getFilePath (package:justAnApp/src/some_code/just_a_file.dart:401:40)
<asynchronous suspension>
#2 _BlocScreenState._showAttachmentChooser.<anonymous closure>.<anonymous closure> (package:justAnApp/src/some_code/just_a_file.dart:371:28)
#3 _InkResponseState._handleTap (package:flutter/src/material/ink_well.dart:513:14)
#4 _InkResponseState.build.<anonymous closure> (package:flutter/src/material/ink_well.dart:568:30)
#5 GestureRecognizer.invokeCallback (package:flutter/src/gestures/recognizer.dart:120:24)
#6 TapGestureRecognizer._checkUp (package:flutter/src/gestures/tap.dart:242:9)
#7 TapGestureRecognizer.acceptGesture (package:flutter/src/gestures/tap.dart:204:7)
#8 GestureArenaManager.sweep (package:flutter/src/gestures/arena.dart:156:27)
#9 _WidgetsFlutterBinding&BindingBase&GestureBinding.handleEvent (package:flutter/src/gestures/binding.dart:218:20)
#10 _WidgetsFlutterBinding&BindingBase&GestureBinding.dispatchEvent (package:flutter/src/gestures/binding.dart:192:22)
#11 _WidgetsFlutterBinding&BindingBase&GestureBinding._handlePointerEvent (package:flutter/src/gestures/binding.dart:149:7)
#12 _WidgetsFlutterBinding&BindingBase&GestureBinding._flushPointerEventQueue (package:flutter/src/gestures/binding.dart:101:7)
#13 _WidgetsFlutterBinding&BindingBase&GestureBinding._handlePointerDataPacket (package:flutter/src/gestures/binding.dart:85:7)
#14 _rootRunUnary (dart:async/zone.dart:1136:13)
#15 _CustomZone.runUnary (dart:async/zone.dart:1029:19)
#16 _CustomZone.runUnaryGuarded (dart:async/zone.dart:931:7)
#17 _invoke1 (dart:ui/hooks.dart:223:10)
#18 _dispatchPointerDataPacket (dart:ui/hooks.dart:144:5)
from flutter_file_picker.
I've already fixed this in beta
. Looking to deploy a version to pub dart with this and #56 fixed until the weekend.
Thank you for your feedback.
from flutter_file_picker.
Okay nice thank you, have a nice weekend. π
from flutter_file_picker.
Related Issues (20)
- BUG: Picking a folder in iOS causes the original folder to be deleted. HOT 7
- Pick a video but itβs treating them like image HOT 6
- in isolate read a large(17mb) txt file with Error: FileSystemException: File closed HOT 3
- [Linux] FilePicker.platform.pickFiles() always return null HOT 5
- [Windows] The picker is pausing the ripple effect on buttons HOT 2
- Don't automatically close the file window after selecting a file. HOT 2
- iOS privacy manifest required HOT 6
- Is it possible to add support for preventing too many files to be picked? HOT 4
- path null HOT 16
- Permission Error in Android Version 13. HOT 14
- Unable to pick some files(specifically pdf) in android 13 HOT 3
- dyld: Library not loaded: @rpath/DKImagePickerController.framework/DKImagePickerController HOT 3
- Persistent file access option HOT 4
- File_picker doesn't behave as expected on Android 14 HOT 4
- Apple's update to their API policy - Required Reason HOT 2
- FileType.custom not opening gallery in android HOT 2
- Inquiry about target platform requirements for windows HOT 2
- Select file UI sometimes broke in iOS HOT 2
- Drop support for DKImagePickerController
- Remove references to the deprecated Go implementation HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flutter_file_picker.