PCLStorage
PCLStorage copied to clipboard
I can't find the file on my phone
I used the sample code to test the package. It works fine! but I can't find the file "MyFile.txt" on my phone. If I use the App to read the file I have no problem, but when I try to search the file from my phone I can't find it
Hi @Mati182! I have the same issue. Did you find a solution?
Sorry to revive an old thread, but this is good to have for other people with this same issue. You cannot access FileSystem.Current.LocalStorage
outside of the app. It is entirely private to the app, even if you're using Android debug tools. The only way you can view it is if your phone is rooted.
What I don't understand is how /Android/data/com.companyname.appname/files/
applies to this, because that is publicly accessible. My current guess is that it allows you to add files to LocalStorage, but not view the files created by the app in there. If anyone understands this more fully, an explanation would be greatly appreciated!
Thanks @TheQuack45 the info was very useful for me, as I was spending quite a bit of time trying to find the file. That makes it quite difficult to debug any serialized info that you would need to keep locally, but guess some workaround can be figured out. Any tips on how can that info be seen to check info is serialized properly would be much appreciated.