All Products
Document Center

Integrate Mini Program to project through Native AAR

Last Updated: Feb 05, 2021

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

  1. In the Android Studio, select mPaaS > Native AAR from the top menu bar.

  2. On the right pop-up panel, click Import under Import App configuration.

  3. In the pop-up Import mPaaS configuration file window, select I have downloaded the configuration file from mPaaS console, and then click Next.

  4. Select the downloaded configuration file, and then click Finish to import it.
    upload config

  5. When the configuration file is successfully imported, you will be prompted.

  6. Click Configure under Access/Upgrade Baseline on the right panel.

  7. In the pop-up Select mPaaS Baseline Version window, select 10.1.68, and then click OK to integrate mPaaS SDK.

    Note: To upgrade the baseline, just click Configure again.

  8. Click Configure under Configure/Upgrade Component on the right panel.
    start config

  9. Check Mini Program in the component list, and then click OK to add the Mini Program to the project.
    add mini

    Now, you have successfully integrated Mini Program to the project through Native AAR.