Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Phonegap, inAppBrowser not display "done" button

I works with phonegap, one of my flows need to open external site, I use inAppBrowser for it. And here I am very confused, I want that in new windows will be some buttons, like DONE, BACK.... After some search in th internet I found that inAppBrowser provide this functionality, but not in my case. I don't see any buttons or bars. What I do wrong?

Thanks

like image 370
Iana Kozlov Avatar asked May 07 '13 20:05

Iana Kozlov


1 Answers

Which version of phonegap are you using? Have you set location to 'yes' when you initialize the InnAppBrowser?

Enabling this should show the 'Back', 'Forward' and 'Done' buttons on Android.

var ref = window.open('http://apache.org', '_blank', 'location=yes');
like image 106
Keshav Avatar answered Nov 24 '22 14:11

Keshav