FileKit
FileKit copied to clipboard
Persistent access to files or folders
trafficstars
I hope Android and IOS can support persistent uri(or url) after selecting file or folder. android only need to call contentResolver.takePersistableUriPermission(uri,Intent.FLAG_GRANT_READ_ URI_PERMISSION or Intent.FLAG_GRANT_WRITE_URI_PERMISSION) after selecting file or folder, the latest version of IOS already has startAccessingSecurityScopedResource and stopAccessingSecurityScopedResource, only need to cooperate with the bookmarkData api to realize persistent access to files or folders.thanks.