Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Log into the AMPLIFY Platform.
  2. Select the Dashboard link on the Dashboard tile.
  3. Select your MBS application from the Apps tab.
  4. If you are a member of multiple organizations, from the User menu, select the organization to associate with the application.
  5. Click the Add menu (+) and select Register App for Services.
  6. In the dialog:
    • Enter APSCloudExampleApp (or another name) in the Name field.
    • Select APS SDK from the Type menu.
    • Select iOS from the Platform menu.
    • (Optional) Enter an identifier in the Identifier field.
    • (Optional) Enter a description in the Description field.
    • Select the Services to be enabled.
       
  7. (Optional) Click the + icons to add additional team members.
  8. Click Save.
  9. Click the Services tab.
  10. Select Development from the Environment menu, then click the clipboard icon to copy the key to your clipboard.
     

...

  1. In Xcode, open the appcelerator-sdk-ios-<VERSION>/examples/APSCloudExample.xcodeproj file.
  2. Open AppDelegate.m, add the code below to your application delegate's application:didFinishLaunchingWithOptions method, and replace << YOUR APP KEY >> with the application key you copied to your clipboard previously.

    Code Block
    languagejs
    [[APSServiceManager sharedInstance] enableWithAppKey:@"<< YOUR APP KEY >>"];
  3. Run the application on an iOS device or simulator.

...

  • Create a new user by selecting Users > Create User. Enter a username, password, and password confirmation and then click Create. If the user is created successfully, the following dialog is shown:
  • View the newly created user in Dashboard:
    1. Log into the AMPLIFY Platform.
    2. Select the Dashboard link on the Dashboard tile.
    3. Select your MBS application from the Apps tab.
    4. Select Manage Data, then click Users in the Manage Data Objects table. You should see the user you created listed in the Users table.
       

...

Alternatively, you can use the generic APSCloud sendRequest method to make REST calls directly against the Cloud APIs. For more information, see Making Generic REST API Calls.

Building request parameters

...