commit | e84b49cbb84addb7dd3bafd716941c1d4a536117 | [log] [tgz] |
---|---|---|
author | Jeroen Weener <JeroenWeener@users.noreply.github.com> | Fri May 19 22:15:38 2023 +0200 |
committer | GitHub <noreply@github.com> | Fri May 19 20:15:38 2023 +0000 |
tree | fe15cca63c000dd33f47a9e9be326ce2afee7b38 | |
parent | 1e214d716ed4bbaa7179d62f43b6acfb04a89799 [diff] |
[image_picker] Fix crash due to `SecurityException` (#4004) Issue flutter/flutter#100025 mentions crashing of the image picker plugin due to a `SecurityException`. As research into the issue did not yield reproduction steps, we decided to surround the breaking method call with a `try/catch` block for now (see discussion in the issue). This PR implements just that. Instead of crashing on a `SecurityException`, the plugin will now return an image path of `null`. This PR fixes flutter/flutter#100025.
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: