All Products
Search
Document Center

Mobile Platform as a Service:Code sample of micro application

Last Updated:Jun 13, 2023

The Demo introduces the hierarchical relations among mPaaS micro applications. For more information about iOS framework, see mPaaS iOS framework.

Download codes

Please refer to Get code sample and download the Demo codes locally.

git clone git@git.cloud.alipay.com:mPaaS-Demos/FrameworkDemo.git

Micro application hierarchy demonstration

  • Click Push app to start MicroApp 1;

    app1

  • Click Push app 2 to start MicroApp 2;

    app2

  • Click Push app 3 to start MicroApp 3;

    app3

  • If app 3 is on the top, click Exit app 2 to force app 2 and its windows to exit;

  • If app 3 is on the top, click Exit self to exit app 3 itself and back to app 2;

  • If app 3 is on the top, click Exit to launcher to back to the root application and force app 1, app2, and app 3 to exit;

  • Meanwhile, you can start a service in the micro application of Launcher.

    service