Universal links

Hello
if I open a link in safari, then the event onOpenURL is processed, but if I scan the qr code with the same link, I am offered to go to the application, but the event no longer works. How can i get url in app when scanning qr code?

Code Block var body: some Scene {
        WindowGroup {
            MainPage()
                .onOpenURL { url in
                    parseUrl(url: url)
                }
        }
    }


issue resolved
Universal links
 
 
Q