Skip to end of metadata
Go to start of metadata

To use AMPLIFY Appcelerator Services in your Android and iOS applications built with Java or Objective-C, you need to first register an application to Appcelerator Dashboard. This defines the name, platform, and other metadata about the application. Once you've registered the application in Dashboard, you can download the libraries and frameworks to integrate AMPLIFY Appcelerator Services into your application. Appcelerator Dashboard also generates a new Mobile Backend Services datasource and the application keys required to enable the services in your app.

Register an Application in Dashboard

 To register an Android Java, or iOS Objective-C or Swift application in Dashboard:

  1. Log in to Dashboard.
  2. Click the Add menu (+) and select Register App for Services to open the Register App for Services form.
  3. In the Register App for Services form, enter an application Name, and select a Platform and Category. Optionally, you can provide a description for your application. To add application team members from the organization, click the add (+) button in the App Team list at the right.
  4. Click OK.

Dashboard displays the Services tab for your application. Follow the directions to add Platform Services to your application.

Enable Platform Services

After you have created your client application, Dashboard directs you to the Services tab for the application. When the client application is first created, the Cloud and Performance and Analytics services are automatically enabled, and the Test service is disabled. Follow the directions in the tab to integrate Platform Services into your application.

  1. To integrate the Cloud, Performance and Analytics services with your application:
    1. Click on the Cloud / Performance Analytics tab if it is not already selected.
    2. Click the Download button to download the APS SDK, unpack it and add the library to your project.
    3. Copy the code snippets to your application as instructed to enable the services. Note before copying and pasting the last code snippet, use the Environment drop-down list to select the environment you want to deploy your application to.
  2. To enable the Test service:
    1. Click the Test tab.
    2. Click the Download button to download the Appcelerator Test utility and unpack it.
    3. Copy and paste the command to your terminal, and modify it for your project.
    4. Build your project to enable the Test service.

For more detailed instructions, see the Quick Start Guide for Android APS SDK and Quick Start Guide for iOS APS SDK guides.

If you need to later return to these Enable Platform Services instructions, do the following:

  1. Click the Apps menu and select the application. Dashboard displays the Overview tab of the application.
  2. Select the Services tab.

View Application Information

The Overview tab for Android and iOS applications differs slightly from Titanium applications. The Overview tab contains two buttons at the top of the Overview page: App Info and Services.

The App Info section provides the same basic information, such as the application creator, version number, etc., as a Titanium application. The Services section contains:

  • Details on which Platform Services are enabled for the project
  • Application keys to enable Platform Services for your application
  • Link to instructions for enabling Platform Services

To retrieve the application keys:

  1. Click the Apps menu and select the application. Dashboard displays the Overview tab of the application.
  2. Click the Services button.
  3. Make sure the correct deployment environment is selected from the Environment drop-down list before copying the key.

Use the keys to enable AMPLIFY Appcelerator Services for your project.

  • No labels