Commit 50035adc authored by Soomin Lee's avatar Soomin Lee Committed by Carola Nitz

VLCGoogleDriveController: Remember users session (closes #49)

parent 984bea7f
Pipeline #108 failed with stage
in 0 seconds
......@@ -175,6 +175,8 @@
if (authState) {
// Upon successful completion...
_googleDriveController.driveService.authorizer = [[GTMAppAuthFetcherAuthorization alloc] initWithAuthState:authState];
[GTMAppAuthFetcherAuthorization saveAuthorization:(GTMAppAuthFetcherAuthorization *)_googleDriveController.driveService.authorizer
toKeychainForName:kKeychainItemName];
[self updateViewAfterSessionChange];
[self.activityIndicator startAnimating];
} else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment