What is an mPaaS offline package?

Hybrid development mode is not a new topic. It can not only release new business quickly, but also provide strong flexibility for business update and iteration without considering the time of App release. Compared with Web development, Hybrid development mode provides rich device APIS, making business forms more diversified and rich.

MPaaS offline package is derived from alipay’s native solution and has gone through rigorous business tests. It allows you to directly use the same set of framework layer code with Alipay, and has a unified container and kernel. Compared with the system kernel, it has lower Crash rate and ANR rate, strong adaptability and good elastic expansion ability. Customize the JSAPI according to your specific business requirements.

What problem does it solve?

  • Reduce white
  • Solve Hybrid App cross-platform compatibility and adaptation
  • Improve Hybrid App performance
  • Package size optimization for native development

Here begins mPaaS H5 Container Knowledge List · FAQ Phase ii

Problem 1: How to set the UC browser kernel, such as disabling gestures and zooming.

A: Get H5Page from JSAPI, get APWebview from getWebview, get APWebSettings from getSettings, If the APWebSettings interface is the same as the Android WebSettings interface, it can be disabled in the native way.

Question 2: Do mPaaS use Kylin as the leading framework or React as the main technical framework for H5 offline package development? Is each update a full or incremental update during a release iteration? Eg: For example, now there is an offline page of A online, the newly completed offline page of B will directly update all? Or update into the new B page.

A :(1) Kylin is recommended, but all front-end frameworks support it, such as React, Vue, Angular, etc. (2) Two versions of an offline package, which are incremental updates, are delivered as diff packages for local consolidation.

Fault 3: The mPaaS offline package fails to be updated. The configuration is performed according to the document flow, but the verification is not added. Is it related to the verification public key?

A: The wireless bodyguard picture is not configured. Please upload APK on the console and download the configuration file to the project for recompilation.

Follow-up: Also, update offline package local error 607 when using H5 components. If the local signature does not match the local signature, it is also a signature security problem. It has been resolved.

At present, mPaaS H5 container Demo source has been released, welcome Star we further understand the features and highlights.

  • Demo source address: github.com/alipay/mpaa…
  • Application: demo mpaas2019.mikecrm.com/otOU1k1