Skip to content

Commit

Permalink
feat: Listen for universal links redirections (#247)
Browse files Browse the repository at this point in the history
  • Loading branch information
moberwasserlechner committed Jul 31, 2024
1 parent 671e6b7 commit 2273cfb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ios/Plugin/GenericOAuth2Plugin.swift
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ public class GenericOAuth2Plugin: CAPPlugin {

override public func load() {
NotificationCenter.default.addObserver(self, selector: #selector(self.handleRedirect(notification:)), name: .capacitorOpenURL, object: nil)
NotificationCenter.default.addObserver(self, selector: #selector(self.handleRedirect(notification:)), name: .capacitorOpenUniversalLink, object: nil)
registerHandlers()
}

Expand Down

0 comments on commit 2273cfb

Please sign in to comment.