Best Practices for Testing and Submitting iOS apps

Creating a Development app

Note You Cannot Use an Airship 'Test' Project to test push notifications using apps distributed via Test Flight. You must use an Airship 'Live' Project Instead. See the iOS Getting Started Guide 

 

Using our iOS Getting Started Guide, add Airship to the development app. In this step, the APNs certificate will be for the development (sandbox) environment. Give this app a bundle ID that specifies this as a development build (e.g. com.yourcompany.appnamedevandadhocbundle). Make sure the inProduction flag is set to NO.

 

Creating a build for Testing (QA or AdHoc)

When creating a testing build of the app, create a new production app on the Airship Go Dashboard. This app must have a certificate that is set up for the APNs Production environment. Use the same bundle ID as the previous app (e.g. com.yourcompany.appnamedevandadhocbundle). Update your AirshipConfig.plist file with the production app key and secret for the testing app. Set the inProduction flag to YES.

 

Creating a build for Production and Distribution (App Store)

Similar to the previous step, create a new production app with Airship, this time with a new bundle id (e.g. com.yourcompany.appnameproductionbundle), and production certificates with Apple. Update the AirshipConfig.plist with the app key and secret for the production application on the Airship Go Dashboard. Set the inProduction flag to YES.

 

Checklist

The Development Build

  • Airship Development Application
  • Bundle ID: com.yourcompany.appnamedevandadhocbundle
  • The Airship development app’s key and secret in development lines of AirshipConfig.plist
  • inProduction in the plist = NO


The QA Build

  • Airship Production Application
  • Bundle ID: com.yourcompany.appnamedevandadhocbundle
  • The Airship ad hoc app’s key and secret in production lines of AirshipConfig.plist
  • inProduction in the plist = YES


The App Store Build

  • Airship Production Application
  • Bundle ID: com.yourcompany.appnameproductionbundle
  • The Airship production app’s key and secret in production lines of AirshipConfig.plist
  • inProduction in the plist = YES

Related Content:

Was this article helpful?
0 out of 0 found this helpful
Submit a request