I already published my appclip and the app to the store. But now I found out that if the app is open in the background the activity for userActivities didn't get called.
I used this in the scene delegate:
scene(_ scene: UIScene, willConnectTo session: UISceneSession, options connectionOptions: UIScene.ConnectionOptions) {
for activity in connectionOptions.userActivities where activity.activityType == NSUserActivityTypeBrowsingWeb { appClipCodeURL = activity.webpageURL }
What should I call or where can I get the appclip link if the app is open in the background to scan another appclip with a different URL?