InAppBrowser location bar

223 views
Skip to first unread message

Jean Laurent

unread,
Jan 9, 2014, 3:24:31 AM1/9/14
to phon...@googlegroups.com
Hi everybody,
I'm trying to use inappbrowser. I used it on ios app and it works fine. But it doesn't work well on android. Inappbrowser seems to work but there is no location bar. I've searched in forums but all i tried doesn't work. I create a basic app with CLI and add inappbrower plugin. Cordova is installed on windows 7 and latest ADT (version : Build: v22.3.0-887826).

This code works well on iOS but not on Android:

var ref = 'http://www.example.com');
window.open(href, '_blank','location=yes,enableViewportScale=yes,closebuttoncaption=Fermer');

and   window.open(href, '_blank','location=yes');

i've tryed like this, but i have the same result:

window.open(href, '_blank','location=yes','closebuttoncaption=Fermer');

Can you help me please ? Thanks

Jean Laurent

unread,
Jan 15, 2014, 4:34:57 AM1/15/14
to phon...@googlegroups.com
Hi,
I found the response, Width the CLI, you need to execute "cordova prepare android". If you add a plugin after adding the android platform, you need to execute another time the prepare command.
Reply all
Reply to author
Forward
0 new messages