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
-
In Android Studio, choose mPaaS > Native AAR Integration.
-
In the window that appears on the right, click Start Import under Import App Configuration.
-
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.
-
Select the configuration file that you downloaded from the console after you created the mPaaS application, and then click Finish.
-
A message confirms that the configuration file was imported.
-
On the right side, click Start Configuration under Integrate/Upgrade Baseline.
-
In the Select mPaaS Baseline Version window, select baseline 10.1.68 and click OK to integrate the mPaaS SDK.
NoteTo upgrade the baseline, click Start Configuration again.
-
On the right side, click Start Configuration under Configure/Update Components.
-
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
-
Use the scan feature with the standard UI: Add standard UI scan capability and configure the scan interface title.
-
Use the scan feature with a custom UI: Add custom UI scan capability to your project.
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.