playbott/android_package_installer

on some devices when i try to install apk using package i get this error

Opened this issue · 0 comments

on some devices when i try to install apk using package i get this error.

Compat change id reported: 160794467; UID 10421; state: ENABLED

capture

this my code.
launchApk()async{
int? statusCode = await AndroidPackageInstaller.installApk(
apkFilePath: pathFile);
if (statusCode != null) {
PackageInstallerStatus installationStatus = PackageInstallerStatus
.byCode(statusCode);
print(installationStatus.name);
}

}