This document uses Android Studio mPaaS plug-ins based on the native AAR method. And the document takes Scan feature as the example to introduce the process of adding mPaaS component to the project.
- If you are using the mPaaS Inside method, see mPaaS Inside access process.
- If you are using the component-based access (Portal&Bundle), see Componentization access process.
Click Start Configuration.
In the dialogue box, select the target Module, then check Scan.
Click OK. The mPaaS plug-in will start to deploy automatically. You can wait for a moment, and click the plug-in. Then the corresponding Module will add the relevant components.
Till now, the mPaaS component is added to the Module. You can call the operations of this component in the Module.
mPaaS will add the following content in the
build.gradleof the Module you specify:
- The information of baseline dependencies
- The information of component dependencies