Closed LeGoffMael closed 7 months ago
@LeGoffMael What's the import you used in your app? Because when I add
// Custom URL
if let url = launchOptions?[UIApplication.LaunchOptionsKey.url] as? URL {
if(url.absoluteString.hasPrefix("myapp://")) {
SwiftAppLinksPlugin.setInitialLink(url: url)
}
}
it says Swift Compiler Error (Xcode): No such module 'SwiftAppLinksPlugin'
@Imgkl just add import app_links
at the top of the file
Thanks for your contribution. app_links 3.5.0 now allows handling links with custom AppDelegate.
This PR is made in order to fix #47.
I'm not sure where this problem really originated, and it's likely not directly from this library. But this PR offers an easy to use solution for people facing this problem (i.e. me for now).
Instead of using this solution, this PR would be quite easier :
As I said, the direct cause of this problem has not been identified, so I will understand if you wish to reject this PR. Also, I don't know much about swift development so this might be optimizable.