From 2492ca14df77e84ac1fa0125de2987dfaee912dc Mon Sep 17 00:00:00 2001 From: raphael-yapla <112508250+raphael-yapla@users.noreply.github.com> Date: Thu, 8 Feb 2024 18:31:54 -0500 Subject: [PATCH] Listen for universal links redirections --- ios/ByteowlsCapacitorOauth2/Source/ByteowlsCapacitorOauth2.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/ios/ByteowlsCapacitorOauth2/Source/ByteowlsCapacitorOauth2.swift b/ios/ByteowlsCapacitorOauth2/Source/ByteowlsCapacitorOauth2.swift index 04737292..f7aa07ed 100644 --- a/ios/ByteowlsCapacitorOauth2/Source/ByteowlsCapacitorOauth2.swift +++ b/ios/ByteowlsCapacitorOauth2/Source/ByteowlsCapacitorOauth2.swift @@ -86,6 +86,7 @@ public class OAuth2ClientPlugin: CAPPlugin { public override 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() }