commit | 5304424565f9eead2b83bea987904ae00b6830a7 | [log] [tgz] |
---|---|---|
author | David Iglesias <ditman@gmail.com> | Thu Feb 16 20:05:23 2023 -0800 |
committer | GitHub <noreply@github.com> | Fri Feb 17 04:05:23 2023 +0000 |
tree | 503bafded98ea3c5456273de3eebceb5a77b900c | |
parent | ea048a249834801be707dca33fc3d754ce0b4969 [diff] |
[google_sign_in_web] Migrate to the GIS SDK. (#6921) * [google_sign_in_web] Migrate to GIS SDK. * include_granted_scopes in requestScopes call. * Remove the old JS-interop layer. * Introduce a mockable GisSdkClient for tests. * Split the people utils. * Delete tests for the old code. * Add some tests for the new code. * More utils_test.dart * Make jsifyAs reusable. * Ignore the tester in utils_test.dart * Make Clients overridable, and some renaming. * Test people.dart * Make autoDetectedClientId more testable. * Add mockito. * Comment about where to better split the code so GisSdkClient is testable too. * Add google_sign_in_web_test.dart (and its mocks) * dart format * Log only in debug. * Sync min sdk with package gis_web * Add migration notes to the README. * When the user is known upon signIn, remove friction. * Do not ask for user selection again in the authorization popup * Pass the email of the known user as a hint to the signIn method * Address PR comments / checks. * Update migration guide after comments from testers. * Update README.md * Remove package:jose from tests. * Rename to Vincent Adultman * _isJsSdkLoaded -> _jsSdkLoadedFuture * Remove idToken comment. * Link issue to split mocking better. * Remove dependency in package:jwt_decoder * Remove unneeded cast call.
This repo is a companion repo to the main flutter repo. It contains the source code for Flutter first-party plugins (i.e., plugins developed by the core Flutter team). Check the packages
directory for all plugins.
Flutter plugins enable access to platform-specific APIs. For more information about plugins, and how to use them, see https://flutter.dev/platform-plugins/.
These plugins 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 “plugin”.
If you wish to contribute a new plugin to the Flutter ecosystem, please see the documentation for developing packages and platform channels. You can store your plugin source code in any GitHub repository (the present repo is only intended for plugins developed by the core Flutter team). Once your plugin is ready, you can publish it to the pub repository.
If you wish to contribute a change to any of the existing plugins in this repo, please review our contribution guide, and send a pull request.
These are the available plugins in this repository.