Search code examples
swiftxcodetestflightapple-appclips

Testing AppClip in TestFlight: Show Card?


Have created an app with an App Clip. The App Clip URL is showing as validated. A basic card has been set up in the app information on Connect.

Have set an invocation URL in TestFlight. Have downloaded ONLY the App Clip from TestFlight.

When using a QR code representing the URL, it invokes a "Web link" pop-up instead of an App Clip pop-up.

What can I do to test seeing the App Clip card via TestFlight? I feel like I'm either missing something or maybe it isn't possible in TestFlight.


Solution

    • built and run the App Clip on your device (or install the App Clip via TestFlight)
    • on your device go to Settings -> Developer -> Local Experience
      • if you don't see the Developer option, look up enable Developer option iOS
    • register local experience that you want to test
      • set URL PREFIX to match the prefix of the URL you will scan with QR or NFC
      • make sure BUNDLE ID matches your clip's bundle id
    • scan your QR code or NFC

    There are still some weird issues around scanning the QR code so sometimes you have to use the QR Scanner from Control Center if the Camera app doesn't prompt the App Clip card.