mirror of
https://github.com/OAuthSwift/OAuthSwift.git
synced 2026-04-26 20:55:57 +03:00
[GH-ISSUE #537] cannot detect dismiss when using SafariURLHandler #354
Labels
No labels
bug
cocoapod
duplicate
enhancement
feature-request
help wanted
help wanted
invalid
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/OAuthSwift#354
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @garyhooper on GitHub (Jul 26, 2019).
Original GitHub issue: https://github.com/OAuthSwift/OAuthSwift/issues/537
Description:
I am using SafariURLHandler as my handler. The handler's presentCompletion() is correctly detected and invoked when the Safari page is displayed.
However, if the user presses Done without entering credentials, dismissCompletion() is not being called. How can I detect that Done was pressed?
OAuth Provider? (Twitter, Github, ..):
OAuth Version:
OS (Please fill the version) :
Installation method:
Library version:
Xcode version:
11.x (Swift 5.1)
10.x (Swift 5.0)
10.x (Swift 4.1)
9.3 (Swift 4.1)
9.0 (Swift 4.0)
other: (Please fill in the version you are using.)
objective c
@phimage commented on GitHub (Jul 26, 2019):
in
SafariURLHandleryou can add a delegate of typeSFSafariViewControllerDelegategithub.com/OAuthSwift/OAuthSwift@ec656d9ab1/Sources/OAuthSwiftURLHandlerType.swift (L126)@garyhooper commented on GitHub (Jul 26, 2019):
Thank you!