Skip to content
This repository was archived by the owner on Feb 22, 2023. It is now read-only.

Conversation

@ditman
Copy link
Owner

@ditman ditman commented Nov 1, 2019

Description

Adds a web implementation of the google_sign_in plugin, via JS interop with the gapi object.

Related Issues

flutter/flutter#43774

Missing stuff

  • Unit tests
  • Update the pubspec.yaml once everything else has been pushed.

Checklist

Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes ([x]). This will ensure a smooth and quick review process.

  • I read the Contributor Guide and followed the process outlined there for submitting PRs.
  • My PR includes unit or integration tests for all changed/updated/fixed behaviors (See Contributor Guide).
  • All existing and new tests are passing.
  • I updated/added relevant documentation (doc comments with ///).
  • The analyzer (flutter analyze) does not report any problems on my PR.
  • I read and followed the Flutter Style Guide.
  • The title of the PR starts with the name of the plugin surrounded by square brackets, e.g. [shared_preferences]
  • I updated pubspec.yaml with an appropriate new version according to the pub versioning philosophy.
  • I updated CHANGELOG.md to add a description of the change.
  • I signed the CLA.
  • I am willing to follow-up on review comments in a timely manner.

Breaking Change

Does your PR require plugin users to manually update their apps to accommodate your change?

  • Yes, this is a breaking change (please indicate a breaking change in CHANGELOG.md and increment major revision).
  • No, this is not a breaking change.

@ditman
Copy link
Owner Author

ditman commented Nov 9, 2019

(Rebased with latest federated_google_sign_in_native)

@ditman ditman force-pushed the federated_google_sign_in_native branch from 6c32b97 to 0f8aa13 Compare November 12, 2019 01:08
@ditman ditman force-pushed the federated_google_sign_in_web branch from 55dcc85 to 65b5f9b Compare November 12, 2019 18:36
@ditman
Copy link
Owner Author

ditman commented Nov 12, 2019

(Rebased with latest federated_google_sign_in_native)

@ditman ditman force-pushed the federated_google_sign_in_native branch from ba2b8ae to 7d626a8 Compare November 13, 2019 20:00
- Adds support in the plugin
- Adds a v2 embedding to the example app
- Fixes a broken remote example in the example app
- Increments the Flutter SDK dependency
- Increments the version
- Adds e2e tests for some simple use cases of the plugin
@ditman ditman force-pushed the federated_google_sign_in_web branch from 65b5f9b to 8c2a221 Compare November 13, 2019 20:16
jmagman and others added 7 commits November 13, 2019 13:06
- Add a lint to url_launcher and url_launcher_platform_interface to
prevent undocumented public members.
- Add some unit tests.
Previously all navigation decisions needed to be made synchronously in
Dart. The platform layers are already waiting for the MethodChannel
callback, so just changed the return type to be
`FutureOr<NavigationDecision>'. This is a change to the method signature
of `WebViewPlatformCallbacksHandler#onNavigationRequest`, but that
interface appears to only be meant to be implemented internally to the
plugin.
…lutter#2266)

* Port google_sign_in.dart to use the federated Platform Interface, instead of MethodChannels.
* Ignore google_sign_in_platform_interface on all-plugins-app call.
  * Refactor endlessly growing --exclude param value into a string that
 gets generated for a list of plugin names.
@ditman ditman force-pushed the federated_google_sign_in_web branch from 2647393 to 8c55b95 Compare November 15, 2019 02:35
@ditman ditman closed this Nov 15, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants