Android Question APK Permission to Install Packages

Pedro Caldeira

Active Member
Licensed User
Longtime User
Hello All,
I have now, integrated an Install Package intent in my APK.
All works well with the exception of two things.

1)Even with the "AddPermission(android.permission.REQUEST_INSTALL_PACKAGES)"in the manifest,
the first time I update the new version I am redirected to a screen prompt me to allow permisison to install APK from mypackage, since it is not authorized. IS thare any Runtime permisison or method around this?

2) After installation, if I choose to open the installed APK, it drops to the android home screen and does not install (probably there is an active thread still with the previous version, no ?)
If conclude the process and then click the APK Icon, it opens fine.


Thanks in advance
 

DonManfred

Expert
Licensed User
Longtime User
IS thare any Runtime permisison or method around this?
No (or at least i don´t know if there is a way around it).. The User have to give the permission in the shown activity.
You need to describe to the user that he needs to do this step.
 
Last edited:
Upvote 0
Top