willowtreeapps / android-instant-apps-demo

Apache License 2.0
108 stars 9 forks source link

Unable to access instant app through URL #2

Open ericacooksey opened 7 years ago

ericacooksey commented 7 years ago

I wanted to access the instant app described in your article by visiting https://bumblebee.willowtreeapps.com/. However, it took me to an error screen that says I need a compatible Android device to participate. I know that my Pixel XL is compatible and enabled for instant apps, as I have successfully used the instant apps from Jet, Yummly, and NY Times. If I launch the intent via adb it works with https://bumblebee.willowtreeapps.com/item/0 but not the base URL. Is this the intended behavior, or is it a bug? Moreover, if I visit the /item/0 page in Chrome, it does not take me to the instant app experience. Do users need to have a special instant app link to get to this content? Or should they be able to seamlessly get to the instant app via the website?

nishtahir commented 7 years ago

You should just be able to seamlessly be taken into the instant app. It won't work unless you click on the link somewhere. Typing URL's in the chrome browser doesn't work. That being said, Instant app launches can be a little inconsistent sometimes unfortunately. So I would try disabling and re-enabling instant apps in the settings. Also when launching the app via ADB make sure you add the trailing /at the end of the URL. I've run into issues where attempting to launch an instant app without it opens the link in the browser.

MadhuMadhav commented 6 years ago

I have published my instant app to google play store but when hit on URL showing 404 error.please help me to findout this issue