Skip to content

Setting Up Mobile Services for Mobile Development Kit

Setting Up Landscape

Set up your landscape to begin using Mobile Development Kit.

Begin by setting up the following:

Set up Description Link
SAP Business Technology Platform Cockpit Set up SAP Business Technology Platform cockpit to build, deploy, and manage your applications. Getting a Global Account
SAP Mobile Services Set up SAP mobile service cockpit to administer your applications. Getting Started with SAP Mobile Services)

Creating Apps on SAP Mobile Services

As an administrator, you can create Mobile Development Kit applications using the SAP mobile service cockpit, in both Cloud Foundry and Neo environment.

This interface enables you to manage your apps.

You can view information about the APIs, user registrations, and usage analytics of your Mobile Development Kit app type. You can also perform operations such as delete, export, and much more on your app though this interface.

  1. On the Home screen of the SAP mobile service cockpit, select Create New App.
  2. Depending on the environment perform the following step:

    • Cloud Foundry: In the New Application window,

      • Fill in the details like ID, Name, Description, Vendor, and License Type. For more information about these fields, check Defining Applications. Choose Next.

      • In the XSUAA Settings screen, provide the necessary details, if applicable. Choose Next.

      • From the Assign Features for drop-down, select Mobile Development Kit Application. Choose Finish.

    • Neo: In the New Application window, select Mobile Development Kit from the Config Templates drop-down. Fill in the details like ID, Name, Description, and Vendor. For more information about these fields, check Defining Applications. Choose Save.

    Once you have created your application, you see a list of features that are automatically assigned to the app.

  3. To view a list of all your apps, select Mobile Applications > Native/MDK.

  4. Click on the desired app to see the Application Details screen, which shows the ID, Name, Description, Vendor, and a list of features assigned to the app.

  5. To add features to your app, select the + button on the right side of your Assigned Features list, choose or search for a desired feature and click OK. Alternatively, you can select your desired feature from the Features screen and select Add to Application.

App Security

Mobile Development Kit Applications only support OAuth for client authentication. While creating a new app using the SAP mobile service cockpit, if you select Mobile Development Kit Application for the Assign Features For option in Cloud Foundry Environment or if you select the Mobile Development Kit for the Config Templates option, then OAuth is assigned as the default Security Configuration.

Managing Your App Life Cycle with App Update

App Update simplifies the app development life cycle allowing you to deliver updates to your application without the need to distribute a new binary version through the app store or MDM solution, reducing the time-to-user for those updates.

While creating a new app using the SAP mobile service cockpit, if you select Mobile Development Kit Application for the Assign Features For option in Cloud Foundry Environment then the Mobile App Update feature is enabled for the app by default or if you select the Mobile Development Kit for the Config Templates option in Neo Environment, then the App Update feature is enabled for the app by default.

You can view the Mobile Development Kit metadata uploaded bundle details by navigating via the Mobile App Update > Configuration tab in Cloud Foundry Environment or App Update > Configuration tab in Neo Environment.

  • Current - the version that is currently being used by the users. New versions of the app appear in the configuration page if deployed directly from Mobile Development Kit editor. For details, check Deploying app metadata from SAP Business Application Studio or SAP Web IDE to mobile services.
  • New - a version that has been uploaded to the cockpit, but not yet deployed to the users.

Upload and Deploy a New Version Manually to App Update

In order to upload and deploy a new metadata bundle version to the Mobile Services App Update, follow below steps:

  • Select the Upload icon in the top-right corner.
  • Import the .zip file containing the app metadata for the new version of your app from your local system, and then click Upload. The status of a newly uploaded app or a newer version of an app appears as New Version.
  • To deploy the new app version to the Current state, select Actions > Deploy.

Note

In order to download the .zip file,

  • In SAP Business Application Studio: Once the deployment is successful, you will find a new folder .build generated under your Mobile Development Kit project. Expand it and you will find the file UploadBundle.zip. Download it to your machine by right-clicking on it.

  • In SAP Web IDE: Export it via MDK Deploy and Activate context menu and check Download application bundle to local machine option.

Note

To delete a new version of the app, select the Delete icon. You cannot delete an app in the Current state, you must instead deploy a new version to the Current state.

Configuring Offline Settings (Optional)

This is an optional configuration. Configure the offline settings only if your Mobile Development Kit app is intended to be used offline. The configuration settings are made in application configuration .ini file. For more information, check Defining Offline Settings For Applications.

Tutorial

Set Up Initial Configuration for a Mobile Development Kit App


Last update: January 9, 2023