The operation of the Mini Program will cache the Mini Program package and its information locally, facilitating a quicker launch in subsequent uses. If you wish to erase all information related to the Mini Program, you can invoke the following API to delete a specific Mini Program or to purge all Mini Programs.
/**
* Delete Mini Programs based on appId (this includes the formal, development, and preview versions).
* @param appId
*/
public static void deleteMiniApp(String appId)
/**
* Delete Mini Programs of a specified types and versions.
* @param appId
* @param appVerType
* @param version
*/
public static void deleteMiniApp(String appId, int appVerType, String version)
Was this page helpful?