Post

Replies

Boosts

Views

Activity

Reply to Creating Advanced AppClip Experiences Via API
I had the same issue and spent lots of time figuring it out. Here's what currently works for me: // data field data.relationships.localizations.data.0.id = 'EN' data.relationships.localizations.data.0.type = 'appClipAdvancedExperienceLocalizations' // included field included.0.id = 'EN' included.0.type = 'appClipAdvancedExperienceLocalizations' included.0.attributes.title = String included.0.attributes.subtitle = String included.0.attributes.language = EN
Jun ’25
Reply to App Clips Causing CPSErrorDomain error 2 on Non App Clip URLs
I'm going to add more details here: I've clicked "Clear Experience Cache" countless times. Here's what Settings -> Developer -> App Clips Testing -> Diagnostics show for two URLs that are on the same domain but with different path (a.k.a /foo /bar at the example in the original post): This is diagnostics data of the URL that does have an App Clip associated: https://short.com/foo This is diagnostics data of the URL that does not have an App Clip associated: https://short.com/bar (Note: same domain, slightly different path)
Topic: App & System Services SubTopic: General Tags:
Oct ’25
Reply to App Clips Causing CPSErrorDomain error 2 on Non App Clip URLs
What's interesting is I have another iOS that uses App Clips as well but on a different domain. The App Clip settings look pretty much the same on both apps and AASA is fine on both domains as well. However, it works perfectly fine on the other app. When the URL has an App Clip associated, it shows an App Clip popup. If it does not have it, it shows default Safari notification. But on this app, it just keeps showing the CPSErrorDomain error 2 when the URL does not have App Clips associated with it or it has but it's been temporary deactivated.
Topic: App & System Services SubTopic: General Tags:
Oct ’25
Reply to App Clips Causing CPSErrorDomain error 2 on Non App Clip URLs
Another interesting thing is when reading an NFC card that has just domain without path, it works as expected: https://short.com -- Shows "Open in Safari" notification, expected behavior since there's no App Clip with this invocation URL. https://short.com/ -- Shows "Open in Safari" notification, expected behavior since there's no App Clip with this invocation URL. https://short.com/a -- Shows the CPSErrorDomain error 2 popup. There's no App Clip Invocations registered with this URL. When checking these three URLs at Settings -> Developer -> App Clips Testing -> Diagnostics -- it shows the same information for all three URLs (it just shows the same as in the second Diagnostics screenshot I attached in replies above). *Just a reminder that short.com is just an example domain here.
Topic: App & System Services SubTopic: General Tags:
Oct ’25
Reply to App Clips Causing CPSErrorDomain error 2 on Non App Clip URLs
Here's another interesting thing that's happening. I've tried clearing experience cache (Settings -> Developer -> App Clips Testing -> Clear Experience Cache) and immediately after that scanning URLs that don't have app clips as invocation URLs. What sometimes (3 out of 10 attempts) started happening is this: Clear cache Scan NFC tag Shows "Open in Safari" notification // Expected behavior Scan NFC tag again Shows "No app clip available" Scan NFC tag again and again and again Shows "CPSError Domain error 2" All other attempts it just shows CPSErrorDomain.
Topic: App & System Services SubTopic: General Tags:
Oct ’25