commit | 61df84d1bdbd45c04b58e63c351b355227a6899e | [log] [tgz] |
---|---|---|
author | Kamil PowaĆowski <hello@kamil.id> | Thu Jul 06 07:42:17 2023 +0200 |
committer | GitHub <noreply@github.com> | Thu Jul 06 05:42:17 2023 +0000 |
tree | f451891d1f5e541dc6cb547590cc4a4ca21fadd3 | |
parent | c768b143db2875251ed38bf721a67b247644c392 [diff] |
[google_sign_in_web] Fixes force unwrap on values that can be null (#4374) During Google Sign-in, the code uses two force unwraps on values (name and picture) that can be not present in the response. This cause an unhandled error that blocks sign-in. Fixes https://github.com/flutter/flutter/issues/130002 reported by me. The bug report describes how to get that error together with a screenshot of a given line. My PR fixes that and add additional test for the future.
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: