[google_sign_in] document web usage (#3876)
Fixes https://github.com/flutter/flutter/issues/81848
Also fixed some headers in the readme and one more link
Prepare for v5.0.3 release
diff --git a/packages/google_sign_in/google_sign_in/CHANGELOG.md b/packages/google_sign_in/google_sign_in/CHANGELOG.md
index 539121c..aa62f30 100644
--- a/packages/google_sign_in/google_sign_in/CHANGELOG.md
+++ b/packages/google_sign_in/google_sign_in/CHANGELOG.md
@@ -1,6 +1,7 @@
-## NEXT
+## 5.0.3
* Fixed links in `README.md`.
+* Added documentation for usage on the web.
## 5.0.2
diff --git a/packages/google_sign_in/google_sign_in/README.md b/packages/google_sign_in/google_sign_in/README.md
index 75d3029..6ed21c0 100644
--- a/packages/google_sign_in/google_sign_in/README.md
+++ b/packages/google_sign_in/google_sign_in/README.md
@@ -6,7 +6,9 @@
available yet. [Feedback](https://github.com/flutter/flutter/issues) and
[Pull Requests](https://github.com/flutter/plugins/pulls) are most welcome!
-## Android integration
+## Platform integration
+
+### Android integration
To access Google Sign-In, you'll need to make sure to
[register your application](https://firebase.google.com/docs/android/setup).
@@ -23,7 +25,7 @@
[OAuth consent screen](https://console.developers.google.com/apis/credentials/consent).
Otherwise, you may encounter `APIException` errors.
-## iOS integration
+### iOS integration
1. [First register your application](https://firebase.google.com/docs/ios/setup).
2. Make sure the file you download in step 1 is named
@@ -57,7 +59,7 @@
<!-- End of the Google Sign-in Section -->
```
-### iOS additional requirement
+#### iOS additional requirement
Note that according to
https://developer.apple.com/sign-in-with-apple/get-started, starting June 30,
@@ -70,12 +72,17 @@
[sign_in_with_apple](https://pub.dev/packages/sign_in_with_apple) plugin could
be an option.
+### Web integration
+
+For web integration details, see the
+[`google_sign_in_web` package](https://pub.dev/packages/google_sign_in_web).
+
## Usage
### Import the package
To use this plugin, follow the
-[plugin installation instructions](https://pub.dev/packages/google_sign_in#pub-pkg-tab-installing).
+[plugin installation instructions](https://pub.dev/packages/google_sign_in/install).
### Use the plugin
@@ -114,4 +121,3 @@
Find the example wiring in the
[Google sign-in example application](https://github.com/flutter/plugins/blob/master/packages/google_sign_in/google_sign_in/example/lib/main.dart).
-
diff --git a/packages/google_sign_in/google_sign_in/pubspec.yaml b/packages/google_sign_in/google_sign_in/pubspec.yaml
index 388814b..9c0159c 100644
--- a/packages/google_sign_in/google_sign_in/pubspec.yaml
+++ b/packages/google_sign_in/google_sign_in/pubspec.yaml
@@ -2,7 +2,7 @@
description: Flutter plugin for Google Sign-In, a secure authentication system
for signing in with a Google account on Android and iOS.
homepage: https://github.com/flutter/plugins/tree/master/packages/google_sign_in/google_sign_in
-version: 5.0.2
+version: 5.0.3
flutter:
plugin: