Closed lukaville closed 7 years ago
We have not separated CANCEL and FAIL scenarios since do not think that there is a valuable difference for the requesting application.
However, for now you can fork the SDK, change code executed in back scenario.
We are also accepting patches, so you are free to offer a pull request. However, bear in mind, that since most applications do not need to distinguish cancel and error scenarios, the API changes should not cause any changes for them in their code.
How handle authorization cancel event?
OkListener
callback allows to handle onlyonError
andonSuccess
events. But when user cancels authorization (e.g. taps back button), SDK fires onError callback (withАвторизация была отменена
error message).