←back to thread

1192 points gniting | 2 comments | | HN request time: 0.001s | source
Show context
zx8080 ◴[] No.43519828[source]
> For extremely specific use cases such as file managers, browsers or antivirus apps, Google grants an exception by allowing QUERY_ALL_PACKAGES permission, which provides full visibility into installed apps.

Why would browser need to enumerate the installed apps?

Why?!

replies(6): >>43519852 #>>43519860 #>>43521776 #>>43522253 #>>43522261 #>>43522492 #
Borealid ◴[] No.43519852[source]
When a user visits a play.google.com URL Google wants to be able to show either an "install" or a "launch" button contingent on whether the app is already installed.

In other words, blame Google product management.

replies(5): >>43519879 #>>43520058 #>>43520420 #>>43521123 #>>43521423 #
lurking_swe ◴[] No.43519879[source]
this doesn’t make sense and sounds like an excuse IMO.

Instead of the browser enumerating all apps, why can’t it check when you visit a page if the current page (ONLY the current page) is installed as an app?

replies(1): >>43519892 #
jerbear4328 ◴[] No.43519892[source]
How would the OS know if the app that the browser is querying about is actually the current page? For all the OS knows, the user might be quickly visiting a ton of play.google.com pages for the top 1000 apps on the app store.
replies(2): >>43520010 #>>43520082 #
1. heavenlyblue ◴[] No.43520010{4}[source]
make it into a system dialog?
replies(1): >>43520054 #
2. LordShredda ◴[] No.43520054[source]
But God forbid users learn how to use their device. All of this could be prevented by having the users manually pick the application instead.