Is your feature request related to a problem? Please describe.
This one isn't related nor useful for the file picker purposes, but is useful if developers want to have a reusable API to write application state where there always will be read and write access.
Implementation details:
- Windows (packaged) - use ApplicationData.LocalFolder from WinRT API.
Windows (unpackaged) - create application subfolder in LocalAppData folder (maybe, WinAppSDK has something now to use here).
- macOS - ~/Library/Application Support/ApplicationName
- linux - /var/lib/myapp supposedly (and environment variables that can redefine this)
- Browser - StorageManager.getDirectory() (unexpectedly, even gets support on Mozilla).
- iOS - see macOS
- Android - Context.getFilesDir()
some of these platforms can be handled by standard Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData) (which can be used even now). But not on all platforms.
For unpackaged windows, linux and macos it possibly should be configurable, as we would need to create an application folder with application name.
Is your feature request related to a problem? Please describe.
This one isn't related nor useful for the file picker purposes, but is useful if developers want to have a reusable API to write application state where there always will be read and write access.
Implementation details:
Windows (unpackaged) - create application subfolder in LocalAppData folder (maybe, WinAppSDK has something now to use here).
some of these platforms can be handled by standard
Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData)(which can be used even now). But not on all platforms.For unpackaged windows, linux and macos it possibly should be configurable, as we would need to create an application folder with application name.