Skip to content

Manual cancellation

Nate River edited this page Jun 1, 2024 · 1 revision

User cancelled callback is called automatically when the user returns to the app without performing auth. To change this behaviour, set [Platform]AuthSettings.ManualCancellation = true.

Then implement proper UI:

  • Fade the game screen and show a spinner (block UI)
  • Create Cancel button
  • Call [Platform]Auth.Cancel() when the user clicks Cancel button
Clone this wiki locally