How to do deep linking with http://mydomain.com

I want when I click on a link in my domain like http://example.com that my application is open. I understood that deep linking is only with the custom scheme. Is it feasible with the scheme http or https. If so, how can I do this with Expo ???

Hey @drtapha. We don’t support configuring that in standalone apps right now. If you detach you can definitely do that!

Thanks !!
I did what you told me. it works but Linking.getInitialURL() return the url launcher of expo exp0ba53f5179f841ecbc9dc2592d49b013://192.168.100.9:19000.
Look my android manifest

<activity
      android:name=".LauncherActivity"
      android:exported="true"
      android:launchMode="singleTask"
      android:screenOrientation="portrait"
      android:theme="@android:style/Theme.Translucent.NoTitleBar">
      <intent-filter>
        <data android:scheme="example"/>

        <action android:name="android.intent.action.VIEW"/>

        <category android:name="android.intent.category.DEFAULT"/>
        <category android:name="android.intent.category.BROWSABLE"/>
      </intent-filter>

      <intent-filter >
        <action android:name="android.intent.action.VIEW" />
        <category android:name="android.intent.category.DEFAULT" />
        <category android:name="android.intent.category.BROWSABLE" />
        <!-- Accepts URIs that begin with "http://www.example.com/gizmos” -->
        <data android:scheme="http"
              android:host="www.example.ma"
             />
        <!-- note that the leading "/" is required for pathPrefix-->
    </intent-filter>
    </activity>

@jesse what’s wrong ???

Linking.getInitialURL doesn’t know about your change to AndroidManifest.xml, so you should just construct the url yourself.

Okay @jesse . But when opening the application I can not get the link from the browser.
how can i construct the url ???

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