file save plugin work on both ios and android code example
Example: cordova js how to load local file in subdir
var path = window.location.href.replace('index.html', '');
var jsonFile = path + "menus/" + menuc + ".json";
$.getJSON(jsonFile, function(result) {
sortAllergies(result);
});