BT

Testing PhoneGap Apps on Devices without SDK, Compilation or Code Signing

by Abel Avram on Apr 23, 2014 |

PhoneGap has released PhoneGap Developer App, a tool for testing apps during development, bypassing the whole SDK and the need for compiling or signing the code. LiveReload with GapReload can do the same thing.

To use this app, a developer needs to have the PhoneGap CLI on his/her development machine and to install the PhoneGap Developer App from the iOS App Store or Google Play. Support for Windows is expected to come soon. By issuing the PhoneGap CLI serve command on a specific mobile application, the development machine is transformed into a server that pairs up with the PhoneGap app on a mobile device via WiFi. The server monitors changes to the code and automatically sends them over to the device without performing native compilation or code signing. This enables even testing iOS apps from a Windows machine, according to Raymond Camden, an Adobe PhoneGap developer.

PhoneGap Developer App includes the PhoneGap core plugins so one does not need to install them separately. Also, Shazron mentioned that Adobe is going to open source the app these days, so one can extend it to add third party plugins.

Currently, when code changes and is transferred to the device, the app page is reloaded. Also, Safari or Chrome Remote Debugging do not work with Developer App but Weinre works, according to Camden.

Another way to do something similar is with LiveReload plus GapReload, both open sourced. LiveReload works for web apps and does the code transfer magic for iOS devices and Windows, and support for Android is coming in the next version of the tool, according to Andrey Tarantsov, father of the tool. GapReload is a LiveReload plug-in which adds specific support for PhoneGap/Cordova apps. The advantage of LiveReload is that some changes do not need a page reload. According to Sebastien Paul, “Live Reload won't do a full page refresh if you modify a CSS file, it will inject the new rules on the fly and this is really handy.”

Hello stranger!

You need to Register an InfoQ account or or login to post comments. But there's so much more behind being registered.

Get the most out of the InfoQ experience.

Tell us what you think

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

PhoneGap Developer by Alina Thomas

Every Mobile platforms carried by PhoneGap has a mechanism a developer can use to test and, in the unlikely event your code has bugs, debug PhoneGap applications. PhoneGap has introduced a PhoneGap Developer App, a tool which is designed for testing apps during development, bypassing the whole SDK and the need for compiling or signing the code.
www.mobilepundits.com/PhoneGap_Development.html

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

1 Discuss

Educational Content

General Feedback
Bugs
Advertising
Editorial
InfoQ.com and all content copyright © 2006-2014 C4Media Inc. InfoQ.com hosted at Contegix, the best ISP we've ever worked with.
Privacy policy
BT