| ▲ | alkonaut 3 hours ago | |||||||||||||
Can't it request and be granted that permission, transparently to the app? E.g. the app does EnumerateDirectories("~/photos") then without requiring modification to the app, the call is interecpted, the user is presented with a permission request UI, and once granted, the app continues? At least that's how I'd thought it would work. Perhaps this isn't viable? | ||||||||||||||
| ▲ | danielheath 3 hours ago | parent | next [-] | |||||||||||||
Apps built with a toolkit which ships its own filepicker will immediately attempt to enumerate directories in `/`, `/home`, and probably a few other places. Apps with a config file will often try to read `~/.config/myapp` and also `~/.myapp/config` and maybe one or two other places. How many permission prompts will users tolerate? | ||||||||||||||
| ||||||||||||||
| ▲ | weiran 3 hours ago | parent | prev [-] | |||||||||||||
It’s how sandboxed Mac apps work today. | ||||||||||||||