Note:
Running a mini program stores the program package and information locally for faster access in the future. If you want to delete all information of a mini program, you can use the following API to delete a specific mini program or all mini programs.
Deleting a mini program by mini program ID
API description:
public static void deleteMiniApp(String appId)
Sample code:
TmfMiniSdk.deleteMiniApp(appId);
Deleting a mini program of a specified version type and version number
Delete a mini program of the specified type and the specified version。
API description:
public static void deleteMiniApp(String appId, int appVerType, String version)
Sample code:
Note:
The parameter `appId` is the ID of the mini program.
The parameter 'appVerType' refers to the type of the mini program. You can refer to the mini program type description.
The parameter 'version' is the version number of the mini program.
TmfMiniSdk.deleteMiniApp(appId,appVerType,version);
Was this page helpful?