Forced application update through the market, as if the user clicked the "Update" button,

I would like to know if there is any โ€œintentionโ€ or something else to make the market update the user-installed application programmatically. Personally, I assume this is a security risk, so I think there is no way, but maybe someone knows a workaround.

+6
source share
1 answer

I had an application, send its version to the server and, if it does not match the current version indicated on the server, launches an intention that brings the user to the market, it can either let them cancel and continue, or prevent them from using the application until until it is updated. I think this stopped them by creating a full-screen web view on the market URL, and they cannot hide it for access to the application.

+2
source

Source: https://habr.com/ru/post/900337/


All Articles