Mini Program types

When you create a new mini program, you can choose the mini program type, which can be:

  • DSL(Default): Native mini program
  • HTML5: HTML5 mini program

For more information about how to create HTML5 mini programs, see How to transform an HTML 5 mobile app to an HTML 5 mini program?

Native mini program

Native mini programs call native APIs provided by the wallet app directly. For the functionality introduction about native mini programs, see Manage Mini Programs.

HTML5 mini program

HTML 5 mini programs are embedded with web pages and call native APIs provided by the wallet app through bridges. The overall Mini Program Manage functionalities are the same as that of native mini programs, but have a slight difference between two mini program types. The difference exists in the following aspects:

Category

Difference description

Create the mini program

The Entrance URL field is required. Entrance URL is the entrance of the HTML 5 mini program. You can modify the entrance URL after the HTML 5 mini program is created.

Develop the mini program

The IDE is not required for the HTML 5 mini program development. 

Publish the mini program

  • The publishment steps are simpler than that of the native mini program. The package build process is not required.
  • When you submit the publishment application, you need to review the mini program information. If all required information is filled in, submit the application. If some required information is missed, fill out the information under Mini Programs > Info.

Approve the application

When workspace admins approve the HTML 5 mini program publishment application, the step of mini program quality review is not supported.

Table 1. Difference for HTML 5 mini program

Note:

After you update information, such as client ID, under the Configuration tab, you must save the changes that you made:

  • If an unpublished HTML 5 mini program version exists, all changes can be saved for the current unpublished version.
  • If no unpublished HTML 5 mini program version exists, all changes can be saved for a new version.