WICG/file-handling

Detect PWA is default app for file handling

Closed this issue · 4 comments

I want to know if user already set my PWA app as default file handler for specific file type (ex: application/pdf). Does anyone has a solution or can we add another param into launchParams.
image

Obtaining this information is currently not possible with the given API. What would be the use case for you to know this?

@tomayac we need to track how many people make our app as default app for file handler.

Unfortunately "we need to track" is not a very convincing use case. Quite the opposite: someone having or not set your app to be a default file handler is another bit of entropy, so from a privacy perspective it's something that is not wanted—unless there is a very clear use case for why the benefits might outweigh the privacy issues.

@tomayac Thank you for your response