All Products
Search
Document Center

Mobile Platform as a Service:Integrate HTML5 Container into project

Last Updated:Jul 25, 2023

This topic describes how to connect mPaaS to a project in the native AAR mode.

  1. In Android Studio, choose mPaaS > Native AAR mode.

  2. In the dialog box that appears on the right side of the UI, click Start Importing under Import App Configurations.

  3. In the Import the configuration file of mPaaS dialog box, select I have downloaded the configuration file in the console and imported the file into the project. Click Next.

  4. Select the Configuration file that you download after the mPaaS app is created in the console. Click Finish.

  5. The system sends a message that indicates that the configuration file is imported.

  6. Click Start Configuration under Access/upgrade the baseline on the right side of the window.

  7. In the Select an mPaaS Baseline Version dialog box that appears, select the baseline 10.1.68, click OK, and you will be able to access the mPaaS SDK.

    Note

    You can click Start Configuration again to upgrade the baseline.

  8. Click Start Configuration under Configure/update components on the right side of the window.

  9. From the list of components that appears, select H5 Container, click OK, and then you will be able to add the component H5 Container to the project.

Now, you have completed connecting the project to mPaaS by using the native AAR method.