commit | 0f7ecebc1f4972641fc9a28da00c01f563cdb5bc | [log] [tgz] |
---|---|---|
author | Geraldi Kusuma Arnanto <geral.sbi2@gmail.com> | Sat Sep 23 03:30:56 2023 +0700 |
committer | GitHub <noreply@github.com> | Fri Sep 22 20:30:56 2023 +0000 |
tree | 506c2950e81d90cc13ceb951222edf59609320fb | |
parent | 18e206e29ff1ef5dd6255ce93aa26fafa3eca083 [diff] |
[image_picker_android] check if data from result is empty when picking a single img or video (#4836) This PR solves the issue when the image_picker plugin is being used on Android 10 devices or below, where when we use the Android photo picker, it crashes due to invalid Uri data being fetched from the Intent. This issue is reproducible on my company's app when trying to pick image from the Android photo picker on Android 10 devices and Android 10 emulators with Google Play *List which issues are fixed by this PR. You must list at least one issue.* https://github.com/flutter/flutter/issues/104168 - [ x] I read the [Contributor Guide] and followed the process outlined there for submitting PRs. - [ x] I read the [Tree Hygiene] wiki page, which explains my responsibilities. - [ x] I read and followed the [relevant style guides] and ran the auto-formatter. (Unlike the flutter/flutter repo, the flutter/packages repo does use `dart format`.) - [ x] I signed the [CLA]. - [ x] The title of the PR starts with the name of the package surrounded by square brackets, e.g. `[shared_preferences]` - [ x] I listed at least one issue that this PR fixes in the description above. - [ x] I updated `pubspec.yaml` with an appropriate new version according to the [pub versioning philosophy], or this PR is [exempt from version changes]. - [x ] I updated `CHANGELOG.md` to add a description of the change, [following repository CHANGELOG style]. - [ x] I updated/added relevant documentation (doc comments with `///`). - [ x] I added new tests to check the change I am making, or this PR is [test-exempt]. - [ x] All existing and new tests are passing.
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: