uno icon indicating copy to clipboard operation
uno copied to clipboard

Implement `ApplicationDataContainer` APIs

Open xperiandri opened this issue 4 years ago • 5 comments

What would you like to be added:

ApplicationDataContainer related APIs: Windows.Storage.ApplicationData.Current.LocalSettings.Containers

Why is this needed:

To store settings in buckets

For which Platform:

  • [X] iOS
  • [X] Android
  • [X] WebAssembly
  • [ ] WebAssembly renderers for Xamarin.Forms
  • [X] macOS
  • [ ] Skia
    • [ ] WPF
    • [ ] GTK (Linux)
    • [ ] Tizen
  • [ ] Windows
  • [ ] Build tasks
  • [ ] Solution Templates

xperiandri avatar Feb 17 '21 03:02 xperiandri

@MartinZikmund is it something you can have a look after pickers?

xperiandri avatar Feb 17 '21 03:02 xperiandri

Also interested in the implementation of ApplicationDataContainer methods in Windows.Storage for Uno as well as the ApplicationDataCreateDisposition enum

Juansero29 avatar Feb 17 '21 11:02 Juansero29

Is there a recommendation as to what to use to implement application settings/preferences until this is implemented? Maybe Xamarin.Essentials Preferences?

christianfo avatar Nov 01 '23 21:11 christianfo

While LocalSettings.Containers is not implemented, you can still use LocalSettings themselves without trouble on all targets - see docs

MartinZikmund avatar Nov 01 '23 22:11 MartinZikmund

Oh, got it, thank you!

christianfo avatar Nov 02 '23 00:11 christianfo