Help with childbrowser

28 views
Skip to first unread message

dignmg

unread,
Nov 29, 2012, 9:14:27 AM11/29/12
to phon...@googlegroups.com
So, i am making an app using phonegap build and am trying to add the child browser. But i cant seem to get it to work. I am not sure which version of phonegap or child browser to use anymore. All the documentation seem to be confusing to me lol. I have included the script tags into my html files and also added all what i think is the right tags in the config.xml files. But i dont think i have the right code to trigger a new childbrowser. Or if i have to run a few functions in the DeviceReady function or not.

Any help would be great!

Thanks

dignmg

unread,
Nov 29, 2012, 9:31:44 AM11/29/12
to phon...@googlegroups.com
Also i have found two different childbrowser plugins and not sure which one to look at for source.

or

dignmg

unread,
Nov 29, 2012, 6:05:24 PM11/29/12
to phon...@googlegroups.com
I got it working! I had struggled badwith this. But for those who are starting out and don't want the headaches i have had. And you are using phonegap build. Then here are some tips:
- You are using this version https://github.com/alunny/ChildBrowser of the ChildBrowser.
- Also don't use hydration on your apps. This was the big one. It breaks it every time. So you have to install every time which sucks but will do for now. 
- And just follow the info about the config.xml file on phonegap build site.
- Also i would use phonegap v2.1 and childbrowser 3.0.3 bc childbrowser only works with version 2.1 on androids.

thanks!

WebSteve

unread,
Nov 30, 2012, 10:52:41 AM11/30/12
to phon...@googlegroups.com
OK, you inspired me to use the PG Build process for the first time on my next app (which just requires the one Childbrowser plugin) and to thoroughly document the process on my blog.

Regards,
Steve Husting
http://iphonedevlog.wordpress.com

dignmg

unread,
Nov 30, 2012, 4:34:03 PM11/30/12
to phon...@googlegroups.com
haha! Im glad i inspired someone! Yea so for the phonegap build process has been great! Good luck and ill be looking for that article.
Reply all
Reply to author
Forward
0 new messages