-
Notifications
You must be signed in to change notification settings - Fork 664
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
Selecting a single image from Google Photos does not work #58
Labels
bug
Something isn't working
Comments
Boehrsi
added a commit
to Boehrsi/plugins_flutter_file_picker
that referenced
this issue
Mar 21, 2019
Thank you for your input, can you post your full log and the steps to reproduce? |
miguelpruivo
added
bug
Something isn't working
triage
Further information is requested
on hold
labels
Mar 21, 2019
Sure :) Device: Samsung S7 with Android 8.0.0
Error:
|
miguelpruivo
added
fixed on beta
and removed
triage
Further information is requested
on hold
labels
Mar 22, 2019
I've already fixed this in Thank you for your feedback. |
Okay nice thank you, have a nice weekend. 👍 |
Fixed on 1.3.3. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If FilePicker.getFilePath() is used and an image is added via the default file chooser + Google Photos an error occurs.
E/flutter: [ERROR:flutter/lib/ui/ui_dart_state.cc(148)] Unhandled Exception: type 'List<dynamic>' is not a subtype of type 'String'
#0 FilePicker.getFile (package:file_picker/file_picker.dart:42:18)
The reason for this problem is Google Photos and not this plugin. Even if only one file is requested Google Photos returns a list of elements, with one entry. It seems like a good idea to verify the returned data and wrap it if necessary. I will attach a PR which fixes the problem.
The text was updated successfully, but these errors were encountered: