Page 1 of 1

ios hide navigation bar in phonegap childbrowser window

Posted: Tue Feb 26, 2013 11:39 pm
by steve5588065

In my Tiggzi app I launch an external website using phonegap childbrowser using the command
window.plugins.childBrowser.showWebPage('https://www.sam.australiapos.com.au', { showNavigationBar: false });

When I run this on my Ipad the ipad navigation bar is visible (has blue 'Done' button plus back forward arrows etc

According to the phonegap childbrowser documentation using 'showNavigationBar: false' option hides the navigation bar. It in fact warns that the 'Done' button will not be available so you have to close the childbrowser in code

Not sure what I am doing wrong

Regards
Steve


ios hide navigation bar in phonegap childbrowser window

Posted: Wed Feb 27, 2013 8:26 am
by Maryna Brodina

Hello! Working on it... I'll update


ios hide navigation bar in phonegap childbrowser window

Posted: Wed Feb 27, 2013 9:49 am
by Maryna Brodina

We reproduced the problem. Need time to research. I'll let you know about the result.


ios hide navigation bar in phonegap childbrowser window

Posted: Fri Mar 01, 2013 3:37 pm
by Maryna Brodina

Hello! The problem is that in the Tiggzi project we use plugins from https://github.com/phonegap/phonegap-... repository.

And ChildBrowser plugin, that is part of it, doesn't support options at all (see plugin description https://github.com/phonegap/phonegap-...)

You use another ChildBrowser plugin https://github.com/alunny/ChildBrowser, where was added additional plugin options (showLocationBar, showAddress, showNavigationBar).


ios hide navigation bar in phonegap childbrowser window

Posted: Fri Mar 01, 2013 9:43 pm
by steve5588065

Hi Marina

You would think that the phonegap repositories would be identical
I am assuming there is nothing I can change in my Tiggzi app to use the alternate childbrowser plugin?

Any idea when Tiggzi will be upgrading to Phonegap 2.3
It has a new component called inAppBrowser which is a replacement for the Childbrowser plugin and supposedly better

regards
Steve


ios hide navigation bar in phonegap childbrowser window

Posted: Fri Mar 01, 2013 10:03 pm
by Kateryna Grynko

Hi Steve,

You can export project to xCode source code and there change Cordova library to new version.

Tiggzi will be upgrading to Phonegap 2.4 in the next release.


ios hide navigation bar in phonegap childbrowser window

Posted: Fri Mar 01, 2013 10:34 pm
by steve5588065

Hi Katya

Unfortunately I am a windows programmer and don't have access to xcode

I will just wait for the upgrade to Tiggzi

Appreciate your assistance

steve