Appium 1.8.0 : Unable to launch instant app through mobile:deepLink

As the latest Appium version(1.8.0) support deeplink and instant app. So any additional utility is no longer required for its handling .

In general , below ADB command required to launch any instant app.

adb shell am start -a android.intent.action.VIEW -d ""

However if we add the package into this command
adb shell am start -a android.intent.action.VIEW -d “” *""

then we got the below error:
Starting: Intent { act=android.intent.action.VIEW dat=… }
Error: Activity not started, unable to resolve Intent { act=android.intent.action.VIEW dat=… flg=0x10000000 }

The same response i got on appium-server when i execute below command to launch instant app.

driver.executeScript("mobile:deepLink ", ImmutableMap.of(“url”, “",“package”,"”));

temporary workaround:
I added below condition under apk-utils.js to launch instant app with the deeplink command.


driver.executeScript("mobile:deepLink ", ImmutableMap.of(“url”, “","package,“test.instantapp”));

please i want to launch my application through mobile:deeplink using appium

Did u get the solution ? even I’m stuck with same issue.