LiConfig Reference


Declared In: LiConfig.h

Overview


Configurable preprocessor definitions required to get your app connected to Applicasa's remote backend and enable/disable specific features, all of which are found in LiConfig.h.


Application Keys


Application-specific keys that are used to identify and connect your app with Applicasa's remote backend via the SDK & frameworks.

SECRET_KEY

The secret key provided by Applicasa for your application, provided by the Applicasa service when you download the SDK.

APPLICATION_ID

Your Applicasa application ID, provided by the Applicasa service when you download the SDK.


Behavior Keys


Application-specific keys that inform Applicasa of specific features that should be enabled and disabled for development and production purposes.

ENABLE_PUSH

Enables/disables Push functionality for your application. Default value is NO. Set to YES if your application requires Push notifications.

ENABLE_DEBUG

For development purposes. Sets the Applicasa SDK to DEBUG mode, which provides helpful logging information while you build your app. Default value is NO. Set to YES if you wish to use Applicasa’s SDK and frameworks in DEBUG mode. You should ensure this value is set to NO when you publish your final app.

ENABLE_LOCATION

Enables/disables location-aware functionality in the Applicasa SDK & framework(s). Default value is NO. Set to YES if your application requires Location services.

ENABLE_OFFLINE

Enables/Disables offline data storage in the absence of a network connection. Defaults to YES. Set to NO if your application does not require offline data storage.

ENABLE_SANDBOX

Enables/disables using the Applicasa sandbox or live environments for data and In-App Purchases. If YES, Applicasa will effectively operate in development mode. You should set this value to NO when publishing your application.

CONFIRM_PUSH_ON_START

If ENABLE_PUSH is YES and this value is YES, Applicasa will popup a UIAlertView that asks the user to allow or disallow Push notifications for your app. If this value is NO, it is up to you to implement asking the user for permission to display Push notifications to their device.


Applicasa SDK Keys


Application-specific keys that provide important information to the SDK and frameworks. Internal use only. Do not modify these values.

SCHEMA_DATE

Holds the latest-revision date of your application’s schema, and is used locally to determine when the SQLite database needs to be upgraded as your schema changes over time. Do not alter this value.

SDK_VERSION

Holds the current version number of the Applicasa SDK with which you are working. Do not alter this value.

FRAMEWORK_VERSION

Holds the current version number of the Applicasa framework(s) with which you are working. Do not alter this value.

SERIES

Holds the current SERIES number for the Applicasa SDK, framework(s), and related datastore objects. Do not alter this value.


  « Back to SDK Class List