android - Xamarin PCLStorage package: What is the root folder this PCLStorage reference to -


i saw package on xamarin page. access file system can use pclstorage.filestream.current.localstorage current root storage of device folder referring on device: application private folder or somewhere else?

can access other folders e.g. on android, there document, download folders?

pclstorage source localstorage:

#if android var localappdata = environment.getfolderpath(environment.specialfolder.mydocuments); #elif ios var documents = environment.getfolderpath(environment.specialfolder.mydocuments); 

in android maps root of app's private storage, i.e.:

/data/data/{applicationid}/files 

in ios, mapped app's private documents folder:

/data/data/{package}/documents 

if app requirements differ, need mod source of project or provide own platform code via xamarin.forms dependency service.


Comments

Popular posts from this blog

testing - Detect whether test has failed within fixture -

AbotX : How do you create a parallel crawler that stays on and can be added to at run time from new requests -

android - Create single AAR file from multiple modules using Gradle -