0

I am new to app clip development on iOS and I am trying to set up the app clip experience of my iOS app built with React Native Expo.

I clicked on the Edit Advanced Experiences button on the Distribution page, but whenever I enter the url associated with my AASA file I get the error below

this url is not contained in your app’s associated domains. update associated domains or use a different url.

app clip error

I have checked and double checked my AASA file and I cannot seem to find anything wrong. It is important to note that the app works when installed on an iOS device and launched via a url so I don't think the issue is from my AASA file.

regardless, here is how my AASA file looks like

{
  "applinks": {
      "details": [
           {
             "appIDs": [ 
              "XB5XPLRPRC.com.tecprods.tecprodsapp", 
              "XB5XPLRPRC.com.tecprods.tecprodsapp.Clip"
            ],
             "paths": ["/*"]
           }
       ]
   },
   "webcredentials": {
      "apps": [ 
              "XB5XPLRPRC.com.tecprods.tecprodsapp", 
              "XB5XPLRPRC.com.tecprods.tecprodsapp.Clip"
      ]
   },
   "activitycontinuation": {
    "apps": [
              "XB5XPLRPRC.com.tecprods.tecprodsapp", 
              "XB5XPLRPRC.com.tecprods.tecprodsapp.Clip"
    ]
  },
  "appclips": {
        "apps": [
              "XB5XPLRPRC.com.tecprods.tecprodsapp.Clip"
        ]
    }
}
1
  • The problem isn't with your ASAA file, it is with the associated domains listed in your app's info.plist file. Commented Jan 27 at 8:16

1 Answer 1

1

You are most likely experiencing this issue because appclips is missing from your associatedDomains in your entitlements file. You probably only have applinks in your entitlements file.

Since your app was built with React Native Expo, to fix this

  • Go to your app.config.js or app.config.json file and search for associatedDomains. It should be a property of the ios object.
  • Make sure appclips is part of the array. i.e ['applinks:www.techprods.com', 'appclips:www.techprods.com']. You most likely only have ['applinks:www.techprods.com']
  • Regenerate your iOS files with the expo prebuild command. Deploy to AppStore and try again. This should fix the issue
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.