installApp
abstract suspend fun installApp(appFile: <Error class: unknown class>, onResult: (success: Boolean, message: String?) -> Unit)
Installs an application from the specified file.
This method handles the installation of an APK file. It requires permission to install applications from unknown sources, which should be granted before invoking this method. The installation result is communicated via the provided callback.
Parameters
appFile
The APK file to be installed.
onResult
A callback invoked with the installation result. The callback parameters are: - success: Indicates whether the installation succeeded. - message: An optional message providing additional context, typically in case of an error.