Post

Replies

Boosts

Views

Activity

App clip: userActivity.webpageURL is "https://example.com" for no reason
Hi, when trying to test my app clip, if there's no link in the _XCAppClipURL environment variable in the scheme (Or TestFlight invocation), userActivity.webpageURL is "https://example.com" even though I don't have this link anywhere in my project. This is my code for getting the link (I'm using UI: func scene(_ scene: UIScene, continue userActivity: NSUserActivity) {     guard userActivity.activityType == NSUserActivityTypeBrowsingWeb,        let incomingURL = userActivity.webpageURL else {       return       }       print("Incoming URL: \(incomingURL)")     } I removed _XCAppClipURL from the environment variables in the scheme and when I run the code I get: Incoming URL: https://example.com Is this a bug? How can I get rid of this https://example.com URL?
2
1
1.4k
Aug ’24
App clip card launched even though app clip experience was removed
Hi, I disabled a specific app clip experience from the app store connect a few hours ago (It was removed since then). In Safari, when I go to the link that was used in the app clip experience, the app clip card pops up. I should add: There are two other app clip experiences still defined with different link. The link I removed still has the meta tag app-clip-display=card When I scan the link with a QR scanner the app clip isn't invoked. I would expect the app clip to not be invoked using this link. Is this a bug on Apple's side?
0
0
585
Nov ’21
App clip: userActivity.webpageURL is "https://example.com" for no reason
Hi, when trying to test my app clip, if there's no link in the _XCAppClipURL environment variable in the scheme (Or TestFlight invocation), userActivity.webpageURL is "https://example.com" even though I don't have this link anywhere in my project. This is my code for getting the link (I'm using UI: func scene(_ scene: UIScene, continue userActivity: NSUserActivity) {     guard userActivity.activityType == NSUserActivityTypeBrowsingWeb,        let incomingURL = userActivity.webpageURL else {       return       }       print("Incoming URL: \(incomingURL)")     } I removed _XCAppClipURL from the environment variables in the scheme and when I run the code I get: Incoming URL: https://example.com Is this a bug? How can I get rid of this https://example.com URL?
Replies
2
Boosts
1
Views
1.4k
Activity
Aug ’24
App clip card launched even though app clip experience was removed
Hi, I disabled a specific app clip experience from the app store connect a few hours ago (It was removed since then). In Safari, when I go to the link that was used in the app clip experience, the app clip card pops up. I should add: There are two other app clip experiences still defined with different link. The link I removed still has the meta tag app-clip-display=card When I scan the link with a QR scanner the app clip isn't invoked. I would expect the app clip to not be invoked using this link. Is this a bug on Apple's side?
Replies
0
Boosts
0
Views
585
Activity
Nov ’21