Преглед на файлове

Have sample app use birthday scope rather than contacts. (#72)

Peter Andrews преди 4 години
родител
ревизия
3129aafeaa
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      Sample/Source/SignInViewController.m

+ 1 - 1
Sample/Source/SignInViewController.m

@@ -291,7 +291,7 @@ static NSString * const kClientID =
 }
 
 - (IBAction)addScopes:(id)sender {
-  [GIDSignIn.sharedInstance addScopes:@[ @"https://www.googleapis.com/auth/contacts.readonly" ]
+  [GIDSignIn.sharedInstance addScopes:@[ @"https://www.googleapis.com/auth/user.birthday.read" ]
              presentingViewController:self
                              callback:^(GIDGoogleUser * _Nullable user,
                                         NSError * _Nullable error) {