Skip to end of metadata
Go to start of metadata

Introduction

Appcelerator Services are a set of features that are enabled through Appcelerator Studio and tracked on the Appcelerator Dashboard. These features include:

  • API Builder: Mobile backend-as-a-service solution providing commonly used features, such as user management, push notification, integration with social networks and cloud storage provided by Mobile Backend Services. Using API Builder Cloud and Arrow Builder, developers can quickly and easily create mobile-optimized APIs that manage data from multiple data sources, such as SAP, Salesforce.com, Oracle, Sharepoint and others.  For more information, see the Axway API Builder.
  • Appcelerator Test: Integrated automated functional testing for your application, powered by SOASTA services. Using Appcelerator Test, developers and testers collaborate to record tests directly on the mobile device, execute tests and analyze the results.  For more information, see Appcelerator Test
  • Appcelerator Performance: Monitors your application's health, crashes and overall performance, powered by our own crash server service. Using Appcelerator Performance, developers are able to diagnose why applications crash and focus on specific issues based on user feedback. For more information, see Appcelerator Performance Management.
  • Appcelerator Analytics: Track your applications' user adoption and engagement. Understand how your application is used, which features are not used and decide what will go in the next version of your application. For more information, see Appcelerator Analytics.

You can monitor and manage these services using the Appcelerator Dashboard at https://platform.appcelerator.com.

For information on using the dashboard, see Appcelerator Dashboard.

Enable Appcelerator Services

To enable Appcelerator Services for a Titanium or Alloy project:

  • When creating a new application in Appcelerator Studio, make sure the Enable Appcelerator Services checkbox is enabled.
  • For a previously created project, open your tiapp.xml file, then click the Enable Services button under the Appcelerator Service section.

Appcelerator Studio injects code in to the tiapp.xml file to enable these services for your project.  See code examples below.  Do not modify these changes or else you will disable these services.

tiapp.xml

The following changes are made to the tiapp.xml file to enable Appcelerator Services for both classic mobile and Alloy projects.

tiapp.xml

Android Permissions

The application requires the following Android permissions to use AMPLIFY Appcelerator Services for Titanium and Alloy applications.

PermissionRequired By
ACCESS_WIFI_STATE
All services to access the Wi-Fi state of the device.
BLUETOOTH
The Test service to uniquely identify the device.
BLUETOOTH_ADMIN
The Test service to uniquely identify the device.
GET_TASKS
  • The Performance service to accurately log which activity caused a crash or error
  • The Test service to detect UI changes, UI interactions and playback changes.
INTERNET
All services to access the Appcelerator Platform servers.
READ_PHONE_STATE
The Test service to uniquely identify the device.

Troubleshooting

Unable to enable Appcelerator Services

If more than one person is working on the same project and you try to enable Appcelerator Services after it has already been enabled once, the enablement process may freeze. To resolve this issue, copy the tiapp.xml from the user who first enabled Appcelerator Services.

  • No labels