tencent cloud

All product documents
Tencent Cloud Super App as a Service
Preconfigure Offline Mini Programs
Last updated: 2024-11-21 17:36:13
Preconfigure Offline Mini Programs
Last updated: 2024-11-21 17:36:13
Offline mini programs are embedded within the host app. You need to download the mini program package from the console and import it into the host app project, bundling it with the app. Users can open and run these mini programs without downloading them from the backend, even without an internet connection.

Steps

1. Download the required mini program from the console.

2. Copy the downloaded mini program package to a custom assets directory. Follow strict naming conventions and do not change it.
Naming conventions: {miniAppId}_{miniAppVersion}.apkg

3. Specify the assets directory containing the offline mini programs in the SDK initialization configuration.


Notes

Offline mini programs must follow the standard binding and publishing process. Only published miniprograms can be downloaded as offline packages;
Offline mini programs adhere to version management logic, including new releases, version rollbacks, and deprecations. If the online version differs from the preloaded version, the client will fetch the online version;
If a mini program is deprecated, the corresponding offline mini program in the app will also become unusable.
Was this page helpful?
You can also Contact Sales or Submit a Ticket for help.
Yes
No

Feedback

Contact Us

Contact our sales team or business advisors to help your business.

Technical Support

Open a ticket if you're looking for further assistance. Our Ticket is 7x24 available.

7x24 Phone Support
Hong Kong, China
+852 800 906 020 (Toll Free)
United States
+1 844 606 0804 (Toll Free)
United Kingdom
+44 808 196 4551 (Toll Free)
Canada
+1 888 605 7930 (Toll Free)
Australia
+61 1300 986 386 (Toll Free)
EdgeOne hotline
+852 300 80699
More local hotlines coming soon