简体   繁体   中英

using inappbrowser to convert website to mobile app without showing the link of the website

I am using phonegap to be able to have my website (that is already hosted in shared hosting server) and has responsive web design. I have tried the solution provided in posted question:

  1. typing my website link in src, that has been done successfully as the index page is loaded and no website link shown in the app, but once the user click on any button (which basically go to other website pages) it will open it inside the app but the link of the webpage is shown, you can see the screenshout I took from my mobile (android).

 <content src="http://192.168.1.4:8080/www/index.html" />

I have followed the same instruction in the answer and set the target to _self in the following:

 indow.open(url, target, options);

but it still show the link of the site.

Thanks在Android设备上运行的应用程序的屏幕截图

好的,我解决了这个问题,实际上我需要设置 location = no 并且不会显示链接

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM