diff --git a/ios/Plugin/GenericOAuth2Plugin.swift b/ios/Plugin/GenericOAuth2Plugin.swift index 944fbd11..633e7c18 100644 --- a/ios/Plugin/GenericOAuth2Plugin.swift +++ b/ios/Plugin/GenericOAuth2Plugin.swift @@ -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() }