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
Post a Comment