-
Notifications
You must be signed in to change notification settings - Fork 94
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
This is discontinued. #66
Comments
Is there any other really good alternative for this plugin? |
I don't really know. If someone can answer, please, do! |
I really didn't have much issues with this plugin, except this one #14 Anyone :P? |
We had a lot of issues with PCLStorage and we submitted a few. The API is quite limited but workable. Here is another one #61 I would be interested in a replacement too. |
I also think that this plugin is discontinued. This is a very bad news 😢 @antonioseric opened an issue here xamarin/XamarinComponents#27 |
Hi, i fill a bug report to Xamarin. You can view and comment it here : https://bugzilla.xamarin.com/show_bug.cgi?id=60749 |
Hi, if you want a .NET Standard Storage plugin, please vote here 👍 👍 👍 |
Replace or update this plug in please. We desperately need one that is up-to-date and more convenient. Daniel @dsplaisted is no longer actively working on this one. It is workable but it has a few open issues and the interface is limited. I agree with @Binnette |
Use |
@binette System.IO is in .Net Standard 2.0. |
@robintschroeder That may be useful for projects that are on .Net Standard 1.x (e.g. needing to support Windows 8 store apps) but not needed for projects that can target .Net Standard 2.0. I migrated from PCLStorage to System.IO and while PCLStorage was an essential solution to a major problem at the time, it's much nicer to use System.IO. |
I also completely get rid of PCLStorage and moved to pure System.IO with .NETStandard 2.0. |
Howdy @robintschroeder I managed to get some 1:1 time with the maintainer whilst at mvpsummit. I now have admin privs on this github repo and admin privs on nuget to push new versions. Do you want to take over as maintainer (or at min raise a PR from your fork into this repo so that folks have a smoother upgrade path?) |
@ghuntley I think you still need to accept the invite to be a collaborator on the repo so I can mark you as an admin |
Is there any reason to keep this project going? What features does it add that are not in .Net Standard? |
@charlesroddie or @Szymaniuk Are there any samples or examples of using System.IO in xamarin forms. Or any docs that explain migrating from PLC Storage to Ssytem.IO? |
@Bobisback System.IO has a File object, which has a ton of helpful methods. I recommend reading this documentation, it's a great place to start. Here's a simple example that will save text to a file, then reopen the file to verify that it was properly saved:
UPDATED
|
So Directory.GetCurrentDirectory() will reliably get the local storage directory of iOS and Android? I guess this was probably my biggest concern, Is making sure that the files are being saved in a place that is considered legal by ios and android standards. |
No, even though my above example works on iOS, it won't on UWP because the app doesn't have permissions to write to that folder (you'll get a System.UnauthorizedAccessException). You would want to get the safe folder for each platform and use that. You can do this with a DependencyService, see Working With Files doc. You'll see that each platform is able to provide a folder that files get saved to. |
@Bobisback I am using Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData) @LanceMcCarthy Also it's best to use Path.Combine since slashes go in different directions on different platforms. |
Thanks @charlesroddie, @Bobisback I updated my snippet. Side Notes:
If you have a UWP project: and your UWP project's |
You just have to take a look to see that this project isn't even maintained.
The text was updated successfully, but these errors were encountered: