google / google/GoogleSignIn-iOS

Add `-[GIDSignIn addScopes:completion:]`to provide add scopes flow without a presenting view controller or window

オープン
#285 コメント 0 件 リアクション 0 件 担当者 1 名 @mdmathias が担当を希望しています GitHub で見る
enhancement
主要言語
Objective-C
スター
750
フォーク
282
平均マージ
2日 15時間
マージ済み PR(30日)
9

説明

The main goal of this method will be to create an instance of `GIDSignInInternalOptions` with no presenting window or view controller. Something like:

```
GIDSignInInternalOptions *options =
[GIDSignInInternalOptions defaultOptionsWithConfiguration:configuration
#if TARGET_OS_IOS || TARGET_OS_MACCATALYST
presentingViewController:nil
#elif TARGET_OS_OSX
presentingWindow:nil
#endif // TARGET_OS_IOS || TARGET_OS_MACCATALYST
loginHint:self.currentUser.profile.email
addScopesFlow:YES
completion:completion];
```

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。