tencent cloud

Feedback

Closing the Mini Program

Last updated: 2024-08-06 15:59:43
Note
Closing the mini program will clear it in memory. When the mini program is reopened, it needs to be loaded into memory again, which can take some time.
Stop the mini program with the given ID.
appId: The ID of the mini program:
Future<void> stopMiniApp(String appId)
Sample code:
_tcmppFlutterPlugin.stopMiniApp(appId!)
Stop all running mini programs:
Future<void> stopAllMiniApp()
Sample code:
_tcmppFlutterPlugin.stopAllMiniApp()

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 avaliable.

7x24 Phone Support