All Products
Search
Document Center

Mobile Platform as a Service:Integrate Scan to project through Native AAR

Last Updated:Jul 25, 2023

This section introduces how to integrate Scan to the project with Native AAR method.

Procedure

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

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

  3. In the Import mPaaS Configuration File dialog box that appears, select I have downloaded the configuration file in the console and get ready to import the configuration file to the project.

  4. Select the Configuration file that is downloaded after you create the mPaaS application in the console. Click Finish.

  5. A success message appears after 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 10.1.68 from the drop-down list, and click OK 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. In the component list that appears, select Code Scanner and click OK to add the scan component to the project.

    Now you complete the connection of your project to mPaaS by using the native AAR mode.

What to do next

Note

You can configure your project to support the scan feature in both standard UIs and custom UIs, or either. Click to download the code sample to be used in the follow-up steps.