PhoneGap is so cool! I have been using it for years. Can you guys add more plugins quickly? E.G. the plugins on github.

  • 1
  • Praise
  • Updated 7 years ago
PhoneGap is so cool! I have been using it for years. Can you guys add more plugins quickly? E.G. the plugins on github.
Photo of Leo Tsai

Leo Tsai

  • 14 Posts
  • 0 Reply Likes

Posted 7 years ago

  • 1
Photo of James Earle

James Earle

  • 1 Post
  • 0 Reply Likes
Hey Leo,

Will you tell me how you setup to debug js in phonegap apps?
What dev envs and platforms have you developed on?
Photo of Leo Tsai

Leo Tsai

  • 14 Posts
  • 0 Reply Likes
Hi James,

I use web browsers to debug js in phonegap, on PC and phones. If no CUSTOM plugin is included in the app, I even don't need to build the app into .apk or .ipa. Web browsers are enough to test all features.

The core magic is to using a cordova.mock.js that should mock contacts/geolocation/device events/any others, Please read this post on how to achieve that.
http://apachecordova.blogspot.com/2013/08/phonegap-development-best-practice1.html

Regarding platforms, I manly use Microsoft Visual Studio 2012, sometimes Abode Dreamwaver for cloud build, sometimes eclipse and XCode for custom plugins.

For web browsers, I mainly use chrome and firefox.

Thanks,
Leo
Photo of Akshay Sharma

Akshay Sharma

  • 2 Posts
  • 0 Reply Likes
How to get json content from php page e.g. http://datacenter.webatu.com/demo.php is it possible or not in phoneGap. If it's not possible for PHP page then what is the solution for this I am developing mobile application in phoneGap??
Photo of Leo Tsai

Leo Tsai

  • 14 Posts
  • 0 Reply Likes
Absolutely possible!