All Products
Document Center

Mobile Platform as a Service:Scan FAQs

Last Updated:Nov 17, 2023

How do I initialize mobile PaaS (mPaaS) when my Android project integrates mPaaS using native AAR integration integration?

Answer: Add the following code to your app. If you have used the hotpatch feature (QuinoxlessApplication), you do not need to initialize mPaaS.

public class MyApplication extends Application {
    public void onCreate() {
        // mPaaS initialization

For more details, see Initialize mPaaS.

In Android mPaaS 10.1.68 baseline versions, what can I do if application not responding (ANR) occurs when code scanning starts?

Answer: In AAR modes, if you have introduced other components in addition to the code scanning component, you must initialize mPaaS. Otherwise, the main thread may stuck.