Skip to main content
Function Signature
Throws
  • MpcError.backupMethodNotRegistered if the Google Drive backup method has not been registered using registerBackupMethod
  • GDriveClientError.authenticationNotInitialized if setGDriveConfiguration has not been called yet
Notes
  • Requires only setGDriveConfiguration. A presenting view (setGDriveView) is not needed to sign out.
  • Use it to let a user switch Google accounts, or to clear a session you know is stale before the next backup or recovery.
  • You do not need to call it when Google revokes or expires the stored sign-in. The SDK detects that case, clears the dead session, and falls back to a fresh interactive sign-in on its own.
  • Available starting from SDK version 7.4.0.
Example Usage
Related Documentation