ChildBrowser plugin now supported by PhoneGap 3.3.0

  • 1
  • Announcement
  • Updated 6 years ago
We've added a new version of the ChildBrowser plugin which is supported by PhoneGap 3.x, for those who aren't happy with the InAppBrowser implementation. So, if you were holding on to PhoneGap 2.9.0 because of this, now you don't have to. And since we'll eventually be deprecating PhoneGap 2.9.0, you should update your apps to 3.3.0 asap!
Photo of ryan

ryan, Developer

  • 1538 Posts
  • 132 Reply Likes

Posted 6 years ago

  • 1
Photo of Tintin

Tintin

  • 1 Post
  • 0 Reply Likes
does this work in opening external pdfs on both iOs and Android?
Photo of Robin Bestel

Robin Bestel

  • 7 Posts
  • 0 Reply Likes
Did it work?
Photo of ryan

ryan, Developer

  • 1538 Posts
  • 132 Reply Likes
Not sure about that -- give it a shot :)
Photo of Tyler Lake

Tyler Lake

  • 1 Post
  • 0 Reply Likes
Having trouble installing what I believe is the latest ChildBrowser with PhoneGap Build (3.3.0). It says "Plugin doesn't support this project's cordova version. cordova: 3.3.0, failed version requirement: s not fun rewriting stuff...
Photo of ryan

ryan, Developer

  • 1538 Posts
  • 132 Reply Likes
Tyler:

What you believe is the latest version? If its 5.0.0, it is the latest.

On the plugin's info page, it states that its supported on 3.3.0. Are you explicitly putting a plugin version in your config.xml?If not, try this:
Photo of Robin Bestel

Robin Bestel

  • 7 Posts
  • 0 Reply Likes
what did you say to try? I am desperately trying to get pdfs to open in "something" that works/recognizes the doc is a pdf, view it, save the pdf if needed, close the reader, and return to the app automatically.

Is this possible? I am trying to use phone gap build to create the same app that works on both iPhone and Galaxy!

I keep looking at the plugins, but can't figure out how to implement the InApp Browser vs Childbrowser from in Dreamweaver. All the GitHub info is beyond my expertise!!! I just want my href's to work!

Thank you!!

Robin
Photo of Wouter Bothoff

Wouter Bothoff

  • 35 Posts
  • 0 Reply Likes
Ik have the same problem as Tyler, in tried downloading the plugin via Cordova 3.3 CLI
Photo of Ken Lee

Ken Lee

  • 2 Posts
  • 0 Reply Likes
try this:
phonegap plugin add https://github.com/phonegap-build/Chi...
Photo of Robin Bestel

Robin Bestel

  • 7 Posts
  • 0 Reply Likes
But what do I put in dreamweaver to make this work?
Photo of jough

jough

  • 1 Post
  • 0 Reply Likes
@Ken Lee:

[error] Plugin doesn't support this project's cordova version. cordova: 3.3.0, failed version requirement: <=2.9.0
Photo of Ken Lee

Ken Lee

  • 2 Posts
  • 0 Reply Likes
the link should be correct...
I think they update not the master branch of the repo on github (not sure, I'm a noob when it comes to git)
so normally if you run the command it woulld be:

phonegap plugin local add {link to github}

just try this:

phonegap plugin local add {link to github}#f4d5ef2ed6f35da0af8a819f30edcd53e6877770

where "#f4d5ef2ed6f35da0af8a819f30edcd53e6877770" at the end specify THAT particular branch (which probably is what they're talking about the most updated one)

Hope this helps.
Photo of sandeep parashar

sandeep parashar

  • 22 Posts
  • 0 Reply Likes
Dear all,

i have same problem for using the Child Browser in 3.3.0 i am opening a pdf in my browser is not working in 2.9.0 i was working fine.
i am using this : plugin
[gap:plugin name="com.phonegap.plugins.childbrowser" version="5.0.0" /]

and script :

[ window.plugins.childBrowser.showWebPage(myurl, { showLocationBar: true, showAddress: true, showNavigationBar: true });]

please give me the solution ..
Photo of sandeep parashar

sandeep parashar

  • 22 Posts
  • 0 Reply Likes
please give any solution to use child browser in phoneGap 3.3.0.. its not working and when we are using phoneGap 2.9.0 then App icon stoped working.. please give any soution
Photo of Brian Smith

Brian Smith

  • 6 Posts
  • 0 Reply Likes
Any update on this as it doesn't seem to work with PhoneGap Build 3.3.0, only 2.9.0

- quick amendment: good old case sensitive javascript, changed my old code window.plugins.childBrowser to window.plugins.ChildBrowser and all works.

Hope this comes in handy for others...
Photo of Stanly Sam

Stanly Sam

  • 1 Post
  • 0 Reply Likes
Thank you Brian
Photo of jupiter1199

jupiter1199

  • 1 Post
  • 0 Reply Likes
Did anyone get the plugin to install on Cordova 3.3.0 version? Tried

1. https://github.com/phonegap-build/Chi... and
2. https://github.com/phonegap-build/Chi...

as suggested in one of the above posts with no success. Please help.