installApk method
Install the apk in the filePath
.
If you want to install the apk silently
, the device need to be system application or has root permission on your emulator.
/// After the installation is finished will return a bool.
Implementation
@override
Future<bool> installApk({
required String filePath,
bool silently = false,
}) async {
return await methodChannel.invokeMethod(
"installApk",
<String, dynamic>{
"filePath": filePath,
"silently": silently,
},
);
}