My app downloads an APK from server. For below Android 10 versions, after apk download the install prompt is working as intended but in Android 10 the apk gets downloaded using PackageInstaller API as mentioned in this link
Installing apk that updates the same app fails on Android 10; java.lang.SecurityException: Files still open but the installation prompt is not working, user has to manually install the app from the notification bar by clicking on the apk which i don't want.
Also in my code, callback is not received in onNewIntent() in my MainActivity after the apk gets downloaded, do this may be the reason the apk installation prompt is not happening?
I have used the same code block as mentioned in the link above.
Any help will be appreciated.
Asked
Active
Viewed 416 times
0

Anandroid
- 1
- 2
-
till now no answers, strange:( – Anandroid Apr 13 '20 at 07:48
-
I'm having the same issue. Were you able to solve it? – Diogo Rolo Jun 18 '20 at 19:16
-
No:( Still looking for a feasible solution or Reply – Anandroid Jun 25 '20 at 18:27