uninstallApp
open suspend override fun uninstallApp(packageName: String, onResult: (success: Boolean, message: String?) -> Unit)
Uninstalls an application based on the provided package name.
Parameters
packageName
The package name of the application to be uninstalled.
onResult
A callback invoked with the uninstallation result. The callback parameters are: - success: Indicates whether the uninstallation succeeded. - message: An optional message providing additional context, typically in case of an error.
Uninstalls the actual application from the device.
Parameters
onResult
A callback invoked with the uninstallation result. The callback parameters are:
success: Indicates whether the uninstallation succeeded.
message: An optional message providing additional context, typically in case of an error.