Skip to content

Commit 2273cfb

Browse files
feat: Listen for universal links redirections (#247)
1 parent 671e6b7 commit 2273cfb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ios/Plugin/GenericOAuth2Plugin.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@ public class GenericOAuth2Plugin: CAPPlugin {
9090

9191
override public func load() {
9292
NotificationCenter.default.addObserver(self, selector: #selector(self.handleRedirect(notification:)), name: .capacitorOpenURL, object: nil)
93+
NotificationCenter.default.addObserver(self, selector: #selector(self.handleRedirect(notification:)), name: .capacitorOpenUniversalLink, object: nil)
9394
registerHandlers()
9495
}
9596

0 commit comments

Comments
 (0)