PCLStorage icon indicating copy to clipboard operation
PCLStorage copied to clipboard

I can't find the file on my phone

Open Mati182 opened this issue 6 years ago • 3 comments

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

Mati182 avatar Mar 27 '18 19:03 Mati182

Hi @Mati182! I have the same issue. Did you find a solution?

filaulet avatar Jul 09 '18 08:07 filaulet

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!

TheQuack45 avatar Feb 03 '19 16:02 TheQuack45

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.

LuisMerinoP avatar Nov 14 '20 16:11 LuisMerinoP