I’m trying to get deeplinking up and running. When I try to test with adb shell am start -W -a android.intent.action.VIEW -d "fooapp://"
I get the following error
Starting: Intent { act=android.intent.action.VIEW dat=fooapp:///... }
Error: Activity not started, unable to resolve Intent { act=android.intent.action.VIEW dat=fooApp:///... flg=0x10000000 }
<activity
android:name=".MainActivity"
android:exported="true"
android:label="@string/app_name"
android:theme="@style/Theme.HotsCots">
<!-- Main Launcher -->
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
<!-- Deep Linking for fooapp:// -->
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<!-- For hotscots:// -->
<data android:scheme="fooapp" android:host="" />
</intent-filter>
</activity>
1