Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
205 views
in Technique[技术] by (71.8m points)

Can android web intents run specific javascript code if the app is not installed?

I'm using an android intent on my mobile website to open the android app. If the app is not installed, the browser opens the playstore page of the app. I also know that I can use the S.browser_fallback_url extra to open any other url if the app is not installed.

Instead of opening another url or the playstore if the app is not installed, is it possible to execute some specific javascript if the app is not installed? That is, instead of specifying a browser_fallback_url, I want to specify some fallback javascript that should execute if the app is not installed.

How can this be accomplished?

question from:https://stackoverflow.com/questions/65914822/can-android-web-intents-run-specific-javascript-code-if-the-app-is-not-installed

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...