How to build and run locally PhoneGap Build Developer App?

Report
Question
10 views

Please explain why do you think this question should be reported?

Report Cancel

Install phonegap if you haven't already

npm install -g phonegap@6.0.3

Clone the repo and add platforms

git clone http://github.com/phonegap/phonegap-app-pgb.git
phonegap platform add ios
phonegap platform add android

Obtain API oauth client credentials (a CLIENT_ID and CLIENT_SECRET) from PhoneGap Build. Add the credentials to the PGB Oauth Plugin for Android (platforms/android/src/com/phonegap/build/oauth/PhonegapBuildOauth.java line 25) and iOS (platforms/ios/PhoneGap Build/Plugins/com.phonegap.build.oauth/CDVPhonegapBuildOauth.m line 13).

Compile and Run

phonegap run ios
phonegap run android
Please follow and like us:

About the Author