checkCanInstallApp method
检测是否允许安装apk only supports Android
Implementation
Future<bool> checkCanInstallApp([bool openSetting = true]) async {
if (!isAndroid) return false;
final bool? state = await Internal.curiosityChannel
.invokeMethod<bool?>('checkCanInstallApp', openSetting);
return state ?? false;
}