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?
Post
Replies
Boosts
Views
Activity
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?
Hi, I'm trying to add a header image to the app clip card custom experience in App store connect. after uploading the image I get the following error message:
Header image must be in the JPG or PNG format and the RGB color space. It must also be 1800 x 1200 pixels.
But when I check the image's info I see the data in the attached image.
The image was exported from Figma. After I got this message I tried exporting the image as PNG it from preview, without any luck.
Any ideas?