Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix more repo checks
  • Loading branch information
vashworth committed Nov 6, 2023
commit f66c4cb904323ddeadc10171da67a2e83fb85147
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,9 @@ void main() {
verify(mockPlatform.signIn());
});

test('clientId and serverClientId parameters is forwarded to implementation', () async {
test(
'clientId and serverClientId parameters is forwarded to implementation',
() async {
// #docregion GoogleSignIn
final GoogleSignIn googleSignIn = GoogleSignIn(
// The OAuth client id of your app. This is required.
Expand Down
2 changes: 2 additions & 0 deletions packages/google_sign_in/google_sign_in_ios/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,9 @@ you can instead configure your app in Dart code. In this case, skip steps 4 to 5
<?code-excerpt "../google_sign_in/test/google_sign_in_test.dart (GoogleSignIn)"?>
```dart
final GoogleSignIn googleSignIn = GoogleSignIn(
// The OAuth client id of your app. This is required.
clientId: 'Your Client ID',
// If you need to authenticate to a backend server, specify its OAuth client. This is optional.
serverClientId: 'Your Server ID',
);
```
Expand Down
3 changes: 2 additions & 1 deletion packages/google_sign_in/google_sign_in_ios/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ topics:

# The example deliberately includes limited-use secrets.
false_secrets:
- /example/ios/Runner/GoogleService-Info.plist
- /example/ios/Runner/Info.plist
- /example/ios/RunnerTests/GoogleService-Info.plist
- /example/ios/RunnerTests/GoogleSignInTests.m
- /example/lib/main.dart