JarodMS

Mobile App Development with Ionic, Angular, and More!

Menu
  • Home
  • Mobile Apps
  • About Me
  • Contact Me
  • Diary
Menu

PhoneGap Build – Config File

Posted on November 15, 2019January 14, 2020 by Jarod

After I create an app with Ionic’s CLI and get it running to the point I need to build it for iOS, I get it ready for PhoneGap Build.

When using PhoneGap Build, make sure you have a Cordova config.json file setup for the build. This file would be located in  APP_DIRECTORY/.cordova

 

Here is a template of the required content:

{“phonegap”:{“id”:APP_ID}}

The APP_ID is the PhoneGap App Id. How do you get that?

Here’s what I do. I use the PhoneGap CLI to connect my app to PhoneGap Build and do a remote build:

phonegap remote build ios

After the initial build, open the web interface and look at the list of apps. You will see the App Id.

Use that App Id in your config.json file. If you don’t set the App Id in your config.json file, then each “phonegap remote build” command will result in a new app being created within PhoneGap Build.

Please follow:
error
Tweet
0

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Newsletter

Signup with your email address to receive news and updates.

Search

Recent Posts

  • Not able to call REST API on Android, but it works with iOS and Web App
  • Ionic – the platform was not ready when I was trying to get the location
  • My Dividend Meter
  • Angular app using Node, JSON server, NG-Bootstrap, and NgRx
  • LoadingController example showing “Loading…” message
  • Adding the Version Number in your app
  • PhoneGap Build – Config File
  • Example Angular 8 with NgRx and Redux DevTools
  • Update an Ionic4/Angular7 app to use Angular 8
  • Ionic 4 and Angular with PouchDB

Need Help?

I’m available for Ionic and Angular contract work. Contact me to get started.

My Links

All my apps on Google Play Store
All my apps on Apple App Store
GitHub
LinkedIn

Archives

  • October 2020
  • April 2020
  • March 2020
  • November 2019
  • October 2019
  • August 2019
  • November 2018
  • August 2018
  • July 2018

Categories

  • Angular
  • Beginner
  • Ionic
  • Ionic Component
  • PhoneGap Build
  • Uncategorized
  • Visual Notification

Available for Angular and Ionic freelance work including custom app development.

Tags

Angular AuthGuard component Custom Icon Firebase Font Awesome Geolocation Google Cloud Functions icons ionic3 Ionic4 iOS NgRx PhoneGap Build tabs VirtualScroll
© 2025 JarodMS | WordPress Theme by Superbthemes