Hi Apple Devs,
I'm seeing additional custom app clip card registrations made manually via the AppStoreConnect website that are "received" successfully (so all the registration parts entered fine online) can take anywhere between 24-48 hours to "process" and the finally start showing up on on device for the given registration URL.
Am I doing something wrong that causes this delay?
Is there some cache somewhere I need to clear somehow to see registrations faster?
Why is there such a delay and why is this process and it's finish time so opaque to the developer?
We never know after completing the registration flow for a new App Clip Card when we can expect the App Clip Card to start showing up/working. We just shrug and wait a few days and it suddenly starts working.
TIA
App Clips
RSS for tagProvide a way to quickly access and experience what your app has to offer. An app clip is a small part of your app that lets users start and finish an experience in seconds, even before downloading your app.
Posts under App Clips tag
67 Posts
Sort by:
Post
Replies
Boosts
Views
Activity
I published my app clip last year in the App Store.
I can successfully open my app clip in iMessage or via link URL. but scanning the QR code of the very same URL leads to the "app clip is unavailable" error, in this case, I can see my application name and banner correctly.
Any Idea why?
Question: Does anyone have experience or documentation on how to get an App Clip to show on Apple Maps for a location?
What I've tried: I have tried to associate my App Clip with an Apple Maps location. We are working with a physical restaurant that has an Apple Maps location, our full app is listed there but not the App Clip.
I've gone through the steps of setting up the Advanced App Clip Experience and giving it the location we want it associated with, and have gone through Apple Business Connect and done all the setup there to get the full app to show with the location, but the app clip still does not show.
I've contacted Apple Support and they gave me the criteria of "The App Clip is hosted within the app" and "The app is associated to the same physical location". When asking for clarification with the first criteria they said they could help and closed the chat.
Description:
I am developing an iOS App Clip using SwiftUI and am encountering an issue where the App Clip does not launch when clicking a Universal Link. Below are the key details of my setup and what I have tried:
Main App Context: The main application is built with Flutter, but the App Clip is being developed natively in SwiftUI.
Current Objective: I am aiming to demo the App Clip launch when a Universal Link is clicked. For now, it doesn't need to interact with the main app or process any parameters - the goal is simply to get it to launch.
Development Environment: I am building the App Clip through Xcode and testing it by running the App Clip then clicking the link.
Configuration:
Associated domains have been added to both the App Clip target and the main "Runner" app target in Xcode, with updated provisioning profiles.
The AASA file has passed validation using yURL’s Universal Links / AASA File Validator tool.
AASA File Configuration:
{
"applinks": {
"apps": [],
"details": [
{
"appID": "<TeamId>.<BundleId of main app>",
"paths": ["/redeem"]
}
]
},
"appclips": {
"apps": ["<TeamId>.<BundleId of app clip>"]
}
}
Testing: Conducted on a real iOS device.
Link Handling: The URL (https://vault-activation-beta.web.app/redeem) does not lead to a 404 error, and long-pressing the link in an SMS does not show any App Clip related options.
Code Implementation:
import SwiftUI
import FirebaseCore
import FirebaseAuth
@main
struct AppName_ClipApp: App {
@UIApplicationDelegateAdaptor(AppDelegate.self) var delegate
init() {
FirebaseApp.configure()
}
var body: some Scene {
WindowGroup {
ContentView()
.onOpenURL(perform: { url in
print("Opened URL: \(url)")
})
}
}
}
class AppDelegate: NSObject, UIApplicationDelegate {
func
application(_
application: UIApplication, didFinishLaunchingWithOptions
launchOptions: [UIApplication.LaunchOptionsKey : Any]? = nil) -> Bool {
print("Your code here")
return true
}
func application(_ application: UIApplication,
continue userActivity: NSUserActivity,
restorationHandler: @escaping ([UIUserActivityRestoring]?) -> Void) -> Bool {
if userActivity.activityType == NSUserActivityTypeBrowsingWeb,
let url = userActivity.webpageURL {
print("Opened URL from Universal Link: \(url)")
// Handle the URL appropriately within your app
}
return true
}
}
I am looking for guidance on whether there's something missing in my setup or if there are any issues with my implementation. Any suggestions or insights into why the App Clip is not launching with the Universal Link would be greatly appreciated.
Hi, with the release of iOS 17 App Clips are supposed to support sizes of 50 MB if you're targeting iOS 16.4 or later. However, when I submit such a build to the App Store I receive an "Invalid Build" email, saying that my app "exceeds the maximum allowable size of 15 MB after app thinning."
My app is 32 MB and targets iOS 16.4, yet App Store Connect appears to still be hewing to the old 15 MB limit. Any ideas on how to solve this? Is there a setting I'm missing? Thanks!
App clip cards are not being displayed correctly according to the url prefixing documentation which states:
"The system then chooses the App Clip experience with the URL that has the most specific matching prefix."
This video also outlines the same strategy for invoking different app clip cards with a matching prefix (start video at 12:46).
I have the following two advanced app clip experiences associated with my app:
https://example.com/card1 -> opens correctly
https://example.com/card1/subcard1-> opens same card as above
Even though the second experience has a more specific url, it's still opening the app clip experience for the shorter url.
Both app clips were submitted over a week ago at the same time, so I don't believe it's a propagation issue.
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?