Hi there!

We have an Android app which customers were able to run from browsers via 
custom URL schema (let's say myScheme://applictionSpecificParameters).
After version 25 Chrome supports only Intent based lnks/url. Here is more 
info about that: https://developers.google.com/chrome/mobile/docs/intents

We have tried to switch to intent but her is the problem.
There is main page in our web application and there is an iframe on that 
page.
Usual workflow to launch our Android application is script which does this:

*window.frames["someInnerIframe"].location = url;*

where url was old custom schema style url (like 
myScheme://applictionSpecificParameters).
Now we are trying to use intent based url 
(intent://applictionSpecificParameters#Intent;scheme=myScheme
;package=myPackage;end)

And it doesn't launch our android application.

I've tried static link on my main page with the same intent (like  <a href="
intent://applictionSpecificParameters#Intent;scheme=myScheme
;package=myPackage;end">) and it works just fne.
Clicking on the link launches the application.

Even when I do *window.top.location = 
"intent://applictionSpecificParameters#Intent;scheme=myScheme;package=myPackage;end"
 
*app gets launched.

But for some reason when I'm trying to use ifram.location to launch app 
Chrome doesn't do that.

Can someone please explain why Chrome doesn't allow to launch app thru 
navigating iframe to intent url?

Btw, when I tried to feed intent url to Chrome address bar it also didn't 
launch the app.

Thanks a lot for help!

-- 
You received this message because you are subscribed to the Google Groups 
"Android Security Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/android-security-discuss.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to