Android : MvvmCross FilePlugin save files to SD card

on Saturday, March 28, 2015


We use beautiful MvvmCross framework in our app and we also utilize the FilePlugin to work with filesystem in a cross-platform way.


By default the FilePlugin stores data in some default location, like /data/data/<appname> in Android. But what if I want to store big files, like video or 3D models? In iOS you store everything in app folder, but in Android you'll likely want to store files on SD card.


What solution would you recommend for this usecase? I mean, should I inherit the FilePlugin and override app root directory for Android somehow?


0 comments:

Post a Comment