I have a responsive website, I created an app with cordova running from that site, but when I click the links, it is playing outside the app in the mobile browser. I want it to be running inside the app, has anyone ever had it?
I have a responsive website, I created an app with cordova running from that site, but when I click the links, it is playing outside the app in the mobile browser. I want it to be running inside the app, has anyone ever had it?
I think the best solution for you would be to work with <iframe></iframe>
. The cordova is nothing more than a browser that runs a local "site" and gives access to a number of functions of the mobile phone for it. If you try to "open" a new tab, it will not keep track of the app and you will have to force an opening in a browser (cordova has no tabs).
So, if you open a modal that occupies the entire screen for example, and it has an iframe with its content, you would still be on the same tab.
I was able to solve just by taking the final url bar in the src content of config.xml, however idiotic it may be, this solved my problem.
Ex: www.seusite.com/ was not going www.yoursite.com worked.
Hugs