android – Share link from app doesnt work – universal ios expo

0
69

[ad_1]

im trying to implement universal links, but i cant not get it work, im using expo managed workflow, so heres the app.json config:

"expo": {
    "scheme": "myapp",
    "ios": {
      "associatedDomains": ["applinks:myapp"],
    }
},

so the scheme is for example is myapp and my server where is the well-known file is also https://myapp

here is the well-known-file:

{
  "applinks": {
      "apps": [],
      "details": [
        {
          "appID": "TEAM_ID.BUNDLE_IDENTIFIER",
          "components": [
            {
              "/": "/*",
            }
           ]
        }
      ]
  },
  "activitycontinuation": {
        "apps": [
      "TEAM_ID.BUNDLE_IDENTIFIER"
    ]
    },
  "webcredentials": {
    "apps": [ "TEAM_ID.BUNDLE_IDENTIFIER" ]
  },
  "appclips": {
    "apps": ["TEAM_ID.BUNDLE_IDENTIFIER"]
  }
}

everytime i enter to the page or enter that direction in safari it doesnt detect the app, BUUUUT if i do: myapp:// in safari it will ask me if i want to open it in the app, why using the scheme it works? and using https doesnt, need to share it with https so android users can open the app when click on it

[ad_2]