google / google/GoogleSignIn-iOS

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

Ouverte
#285 0 commentaires 0 réactions 1 personne assignée Réclamée par @mdmathias Voir sur GitHub
enhancement
Langage dominant
Objective-C
Étoiles
750
Forks
282
Merge moyen
2 j 15 h
PR mergées (30 j)
9

Description

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];
```

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.