This topic describes common questions about integrating the Code Scanner.
Is there a fee for the Code Scanner component?
Integrating the Code Scanner component is free. However, the log instrumentation and reporting features in the Code Scanner component rely on the Mobile Analysis component, which is a billable service. For example, if you configure log instrumentation and enable log reporting in the Code Scanner component, logs are collected to track metrics such as the number of scan attempts, successful scans, and failed scans. This data helps you monitor and analyze scan performance. This usage incurs charges based on the billing rules of the Mobile Analysis component. For more information about the billing rules, see Pricing of legacy mPaaS component billing items. If you disable this feature, no charges are incurred. To disable it, see Log reporting.
How to initialize mPaaS for an Android project using the native AAR method?
Add the following code to the Application class.
public class MyApplication extends Application {
@Override
public void onCreate() {
super.onCreate();
// Initialize mPaaS
MP.init(this);
}
}For more information, see Initialize mPaaS.
How to resolve freezes when starting the scanner in Android baseline 10.1.68?
In AAR and mPaaS Inside modes, if your project includes other components besides the Scan component, initialize mPaaS. Otherwise, the main thread might freeze.