AU
I need to update my apk frequently and hence i check version on device and then download the new apk from server and update my app from within the app.
i used standard sdk so as to stop other apps from being installed on device but my problem is i aint able to updare my own app
Though i used the following code to add my package name to whitelist
applicationPolicy.addAppPackageNameToWhiteList("com.x.y")
i use following code to stop other app install
restrictionPolicy.setAllowNonMarketApps(false);
restrictionPolicy.setNonTrustedAppInstallBlock(true);
How can i allow my app to install latest apk keepin other app install blocked.
4 Replies
5 years ago
Hi Ameet,
Could you please provide the build number of the device you are having issues with? This can be found in the about device section of your settings app.
5 years ago
KTU84P.T116NYXXU0AOB2 is the build number
5 years ago
Hi Ameet,
I would like more information on your issue, may I raise a customer support ticket to the email you signed up for this forum with?
5 years ago
Hi Ameet,
I have raised a Tech Q&A ticket for you, however, you have not responded.
If you have not received an email regarding this please let me know. I will close your ticket in two days if I don’t hear from you.