Integrate a project using the native AAR method

更新时间:
复制 MD 格式

Integrate your Android project into mPaaS by importing the app configuration, selecting a baseline version, and adding the scan component through the native AAR method.

Procedure

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

  2. In the window that appears on the right, click Start Import under Import App Configuration.

  3. In the Import mPaaS Configuration File window, select I have downloaded the configuration file from the console and am ready to import it into the project.

  4. Select the configuration file that you downloaded from the console after you created the mPaaS application, and then click Finish.

  5. A message confirms that the configuration file was imported.

  6. On the right side, click Start Configuration under Integrate/Upgrade Baseline.

  7. In the Select mPaaS Baseline Version window, select baseline 10.1.68 and click OK to integrate the mPaaS SDK.

    Note

    To upgrade the baseline, click Start Configuration again.

  8. On the right side, click Start Configuration under Configure/Update Components.

  9. In the component list that appears, select Scan and click OK to add the scan component. This completes the native AAR integration.

What to do next

Note

You can use the scan feature with the standard UI, a custom UI, or both in your project. Click here to download the code samples for the next steps.