Replies: 1 comment 3 replies
-
Hi @DevTKSS! The But you can always add the method yourself if you wish by setting it inside of the I have attached a sample app that uses the Before clicking After clicking Sample app: UnoApp124.zip As for the |
Beta Was this translation helpful? Give feedback.
-
Added this discussion here because all requests and issues filed to that Uno.Extension topic keept unanswered there from what I seen
I did research the uno.extensions.Storage and Storage.UI Namespace in the repo and tryed to add ".UseStorage()" on different places on my app.xaml.cs file, because the docs seem to not tell how to do that. Okay, so I would have wanted to understand it from your extensions repository, looked up the ServiceCollectionExtensions.cs and HostBuilderExtensions.cs file in there and would like to help out with Contribute to the Doc files, to add this missing content there for all others.
My Problem with that:
from what I read in that mentioned files, it would mean similar approach like add it like this to the
host.Configure( ... .UseStorage((context,services) => services
but the Options visible on the lower part of this HostBuilderExtensions file:.AddFileStorage
and.AddKeyedStorage
are not available in my application to be used.[x] UnoFeatures includes
Storage
[x] Added the Namespace
Uno.Extensions.Storage
to my global usings (might be additionally and not needed, because its greyed out as not used[x] tryed different places to add the .UseStorage(...) none let me see some of this Methods
Possible issue:
Although I did add the feature this only added Uno.Extensions.Storage.WinUI, but looking at the repo, there is none Namespace that is named Storage.WinUI, its Storage.UI which should be added from the uno.sdk in my opinion. but the "UseStorage" option is available in general.
Could someone check that and give me feedback if there is any issue I am making and where that can be configured? looked into the UWP Samples "FileAccess" that is not used in the uno.extensions.storage and also not in the .UI Namespace and also not added into the Packages of my app via the sdk.
Beta Was this translation helpful? Give feedback.
All reactions