commit | 528aa2dd1c722d77f03db1adf4ed798714e605bf | [log] [tgz] |
---|---|---|
author | Jeroen Weener <JeroenWeener@users.noreply.github.com> | Fri Apr 21 19:44:43 2023 +0200 |
committer | GitHub <noreply@github.com> | Fri Apr 21 17:44:43 2023 +0000 |
tree | 0c0dc5b376d05e5abfd222a2aa9cbc3d908b9c7f | |
parent | 6b7f75b14c524498bacb17c6a9054159ec0cdb2f [diff] |
[image_picker] Mention `launchMode: singleInstance` in README (#3759) Users of the image picker are reporting issues for Android when setting the `launchMode` of the application activity to `singleInstance`. Namely, the image picker will always return `RESULT_CANCELED`. After investigation, it turned out that this problem is inherent by the way Android handles activities with this launch mode: `singleInstance` instructs the framework to open new activities in a new task. As activities cannot communicate between tasks, the image picker activity is unable to relay back the result to the calling activity. This PR updates the README to mention this behavior and provide a workaround. Closes [76856](https://github.com/flutter/flutter/issues/76856).
This repo is a companion repo to the main flutter repo. It contains the source code for Flutter's first-party packages (i.e., packages developed by the core Flutter team). Check the packages
directory to see all packages.
These packages are also available on pub.
Please file any issues, bugs, or feature requests in the main flutter repo. Issues pertaining to this repository are labeled “package”.
If you wish to contribute a new package to the Flutter ecosystem, please see the documentation for developing packages. You can store your package source code in any GitHub repository (the present repo is only intended for packages developed by the core Flutter team). Once your package is ready you can publish to the pub repository.
If you wish to contribute a change to any of the existing packages in this repo, please review our contribution guide, and send a pull request.
These are the packages hosted in this repository: