Software Archive
Read-only legacy content
17061 Discussions

Open Native browser from an iframe with external source

Melvin_R_
Beginner
572 Views

 

Hi guys, 

I'm currently developing a advertising 'sort of' app,and I need to update the content without re-submitting the app to the Play Store, so I'm using an iframe to load the content from my website.

I know iframe are not recommended but I need it to be that way. (Unless someone give me an alternative). Ok the thing is I want to open a few links in the native browser (links like google maps and social media websites) from this frame. Since this is iframe is loading external content, is there a way to do this? Handle the links and open them in the android native browser? from the content on my website? 

Sorry for my bad english, I hope you can understand me.

0 Kudos
3 Replies
Dale_S_Intel
Employee
572 Views

Try the InAppBrowser plugin available under core plugins, or here - https://github.com/apache/cordova-plugin-inappbrowser.

Just go to the projects page, select "Add Plugin"->"Core Plugins"->InAppBrowser.

Dale

 

0 Kudos
Melvin_R_
Beginner
572 Views

Dale Schouten (Intel) wrote:

Try the InAppBrowser plugin available under core plugins, or here - https://github.com/apache/cordova-plugin-inappbrowser.

Just go to the projects page, select "Add Plugin"->"Core Plugins"->InAppBrowser.

Dale

 

Hi,

it doesn't work with the links inside the iframe (my website). 

0 Kudos
Melvin_R_
Beginner
572 Views

never mind, I guees it works now. thanks

0 Kudos
Reply