Advanced Configuration

Advanced Configuration

You can configure a few runtime options for your Appcelerator project. Once you create a project, you will see an appcelerator.xml file in the public directory. This file is used by the Appcelerator javascript client to configure itself during startup.

Here’s a sample appcelerator.xml file

<?xml version="1.0" encoding="UTF-8"?>
<appcelerator version="1.0" xmlns="http://www.appcelerator.org/config">
    <servicebroker poll="false" marshaller="application/json">
        @{rootPath}servicebroker
    </servicebroker>
    <upload>@{rootPath}upload</upload>
    <download>@{rootPath}download</download>
    <proxy>@{rootPath}proxy</proxy>
    <sessionid>_myapp_session</sessionid>
</appcelerator>

The options listed above have default values, which are determined for you when the project is first created. These options are explained below in detail. You may also add additional options to your appcelerator.xml from the list below. For example, to disable the cookie check (explained below) you would add to appcelerator.xml:

<cookie_check>false</cookie_check>

Configuration Options