Skip to content

Latest commit

 

History

History
40 lines (26 loc) · 1.87 KB

deploy_checklist.md

File metadata and controls

40 lines (26 loc) · 1.87 KB

Deploying the app

Setup 3rd Party Services

Update config settings

Check that you've updated your configuration settings file to reflect the correct values:

  • Delete or remove the local.json file in the config directory. Otherwise this will overwrite the values in production.json
  • API.ENDPOINT: update to point this at the remote API server
  • CREDENTIALS.ANDROID.SENDER_ID: update this to the id of the Google Developers Console project project you created to run this app
  • SHARING.URL: update this to the URL to use when the user uses a share action from within the app
  • SHARING.MESSAGES: update these to reflect the custom sharing messages your organization wants to use

Update ionic.project

Update the Ionic project file and config.xml files to reflect your organization, e.g. update the field, set the domains the app is allowed to communicate with etc.

Prepare your Cordova project

Please see the Ionic - Publishing your app page for full details

  • Run cordova plugin rm org.apache.cordova.console
  • Edit the AndroidManifest.xml file under platforms/android
    • change android:name to the correct name for your app
    • change android:debuggable="true" to android:debuggable="false" or add it if not present

Creating a release build

export NODE_ENV=production
gulp build
cordova build --release android

Please refer to the "Android Publishing" section of the Ionic publishing guide for details of how to sign the generated APK and prepare it for the app store.