Deep linking with universal https scheme not able to open the app

  1. SDK Version:~47.0.12
  2. Platforms(Android/iOS/web/all):Android and IOS

This is my app.json

{
  "expo": {
    "name": "my-app",
    "slug": "my-app",
    "version": "1.0.0",
    "orientation": "portrait",
    "icon": "./assets/icon.png",
    "scheme": "https",
    "userInterfaceStyle": "light",
    "splash": {
      "image": "./assets/splash.png",
      "resizeMode": "contain",
      "backgroundColor": "#ffffff"
    },
    "updates": {
      "fallbackToCacheTimeout": 0
    },
    "assetBundlePatterns": [
      "**/*"
    ],
    "ios": {
      "supportsTablet": true,
      "associatedDomains": [
        "applinks:myexpo.com"
      ],
      "bundleIdentifier": "com.billu.myapp"
    },
    "android": {
      "adaptiveIcon": {
        "foregroundImage": "./assets/adaptive-icon.png",
        "backgroundColor": "#FFFFFF"
      },
      "package": "com.billu.myapp",
      "intentFilters": [
        {
          "action": "VIEW",
          "data": [
            {
              "scheme": "https",
              "host": "myexpo.com",
              "pathPrefix": "*"
            }
          ],
          "category": ["BROWSABLE", "DEFAULT"]
        }
      ]
    },
    "web": {
      "favicon": "./assets/favicon.png"
    },
    "extra": {
      "eas": {
        "projectId": "e12ca309-2585-4ccf-a0ad-433eb4320d7c"
      }
    }
  }
}

when I change the expo.scheme to anything like “newapp or myapp” and trigger deeplinking using the command npx uri-scheme open newapp://myexpo --ios it works, App starts, but when i change scheme to https and using command npx uri-scheme open https://myexpo.com --ios App doesn’t open and same behaviour I am getting on android too. Always browser is opening instead of my expo app.
See, am i missing something? I need to use “https” scheme for deep linking. Can’t we use two schemes for deeplinking.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.