Improve SignOut UX
Closed this issue · 6 comments
The unavoidable UX where a user has to consent to Sign Out is pretty confusing. However, with iOS 12 now there is apparently a work-around using the newly minted ASWebAuthenticationSession
to handle Sign In and calling a normal SFSafariViewController
to end the session.
Example of another app doing so: stacks-archive/blockstack-ios#29
Hi @RichiCoder1 ,
Fully agree, Sign Out
consent is very confusing. And thanks for the hint with workaround! We will check whether it makes sense to use SFSafariViewController
to end the session
Ildar
Hopefully!
news on that?
Any update here?
@jcislinsky No updates on this. Making sign in via ASWebAuthenticationSession
and sign out via SFSafariViewController
are not safe in our library. From abstraction point of view, these classes are not related.
Imagine if Apple changes this behavior and it stops working. For now it's just a workaround not a solution.
As I can see from the PR provided in issue' description - sign in/out are done via SFSafariViewController
. So issue' description is confusing.
Consider workarounds described and this one.