Wednesday, December 7, 2022
HomeiOS Developmentandroid - Share hyperlink from app doesnt work - common ios expo

android – Share hyperlink from app doesnt work – common ios expo


im attempting to implement common hyperlinks, however i cant not get it work, im utilizing expo managed workflow, so heres the app.json config:

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

so the scheme is for instance is myapp and my server the place is the well-known file can be https://myapp

right here is the well-known-file:

{
  "applinks": {
      "apps": [],
      "particulars": [
        {
          "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 web page or enter that course in safari it doesnt detect the app, BUUUUT if i do: myapp:// in safari it’s going to ask me if i need to open it within the app, why utilizing the scheme it really works? and utilizing https doesnt, must share it with https so android customers can open the app when click on on it

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments