CSEnvironment Constants Reference

Declared in CSConstants.h

CSEnvironment

By default the CSEnvironment is set to CSEnvironmentProduction. In development mode the CSEnvironment has to be set to CSEnvironmentSandbox, otherwise Apple Push Notification service (APNs for short) notification will not work as you are developing an application in XCode. Unless the app is signed with a distribution profile the APNs enviroment for the app will point to APNs development. The environment must reflect the APNS environment.

Definition

typedef NS_ENUM(NSInteger, CSEnvironment ) {
   CSEnvironmentProduction = 1,
   CSEnvironmentSandbox = 2,
};

Constants

CSEnvironmentProduction

This is the default value. Used for production

Declared In CSConstants.h.

CSEnvironmentSandbox

Use for development

Declared In CSConstants.h.

Declared In

CSConstants.h