Thanks to visit codestin.com
Credit goes to github.com

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

Commit c6065aa

Browse files
authored
[google_sign_in] document web usage (#3876)
Fixes flutter/flutter#81848 Also fixed some headers in the readme and one more link Prepare for v5.0.3 release
1 parent 53319eb commit c6065aa

File tree

3 files changed

+14
-7
lines changed

3 files changed

+14
-7
lines changed

packages/google_sign_in/google_sign_in/CHANGELOG.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
## NEXT
1+
## 5.0.3
22

33
* Fixed links in `README.md`.
4+
* Added documentation for usage on the web.
45

56
## 5.0.2
67

packages/google_sign_in/google_sign_in/README.md

+11-5
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@ _Note_: This plugin is still under development, and some APIs might not be
66
available yet. [Feedback](https://github.com/flutter/flutter/issues) and
77
[Pull Requests](https://github.com/flutter/plugins/pulls) are most welcome!
88

9-
## Android integration
9+
## Platform integration
10+
11+
### Android integration
1012

1113
To access Google Sign-In, you'll need to make sure to
1214
[register your application](https://firebase.google.com/docs/android/setup).
@@ -23,7 +25,7 @@ Make sure you've filled out all required fields in the console for
2325
[OAuth consent screen](https://console.developers.google.com/apis/credentials/consent).
2426
Otherwise, you may encounter `APIException` errors.
2527

26-
## iOS integration
28+
### iOS integration
2729

2830
1. [First register your application](https://firebase.google.com/docs/ios/setup).
2931
2. Make sure the file you download in step 1 is named
@@ -57,7 +59,7 @@ Otherwise, you may encounter `APIException` errors.
5759
<!-- End of the Google Sign-in Section -->
5860
```
5961

60-
### iOS additional requirement
62+
#### iOS additional requirement
6163

6264
Note that according to
6365
https://developer.apple.com/sign-in-with-apple/get-started, starting June 30,
@@ -70,12 +72,17 @@ The Flutter Favorite
7072
[sign_in_with_apple](https://pub.dev/packages/sign_in_with_apple) plugin could
7173
be an option.
7274

75+
### Web integration
76+
77+
For web integration details, see the
78+
[`google_sign_in_web` package](https://pub.dev/packages/google_sign_in_web).
79+
7380
## Usage
7481

7582
### Import the package
7683

7784
To use this plugin, follow the
78-
[plugin installation instructions](https://pub.dev/packages/google_sign_in#pub-pkg-tab-installing).
85+
[plugin installation instructions](https://pub.dev/packages/google_sign_in/install).
7986

8087
### Use the plugin
8188

@@ -114,4 +121,3 @@ Future<void> _handleSignIn() async {
114121

115122
Find the example wiring in the
116123
[Google sign-in example application](https://github.com/flutter/plugins/blob/master/packages/google_sign_in/google_sign_in/example/lib/main.dart).
117-

packages/google_sign_in/google_sign_in/pubspec.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: google_sign_in
22
description: Flutter plugin for Google Sign-In, a secure authentication system
33
for signing in with a Google account on Android and iOS.
44
homepage: https://github.com/flutter/plugins/tree/master/packages/google_sign_in/google_sign_in
5-
version: 5.0.2
5+
version: 5.0.3
66

77
flutter:
88
plugin:

0 commit comments

Comments
 (0)