Skip to content

Conversation

@dwoffinden
Copy link
Contributor

I think this also needs requesting on sync or upgrade, in case the app/OS is updated or the permission revoked, but as that's more async I'm not sure where to do it. Just adding the manifest entry makes it possible to manually grant it for now in that case.

An alternative would be to use only app-specific directories permitted under scoped storage, or to perhaps use newer file access APIs to have the user grant fine-grained access? But those'd be larger refactors and this unblocks it for now.

This is a rebase of #910, see also #24 (comment)

@dwoffinden
Copy link
Contributor Author

I suspect the same permission is also needed for local files: #913 & #915

@mbrgm
Copy link

mbrgm commented Apr 24, 2022

Anything holding this back from being merged?

@dwoffinden
Copy link
Contributor Author

It's a bit of a hack, and only handles new git repos. Ideally we'd do the same thing for local files and on sync/upgrade. But as I said it seems to work for me 🤷

@amberin
Copy link
Contributor

amberin commented Dec 4, 2022

@nevenz Please note that Git syncing is completely broken until this has been merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants