I am trying to get a local JSON file in my ionic application. First, I have to download the file form a remote server. Which I did here and store them in this format
this.file.externalDataDirectory + "assets/"+ (index + 1) +".json";
I want to make a local request using the ionic native HTTP plugin, But I am getting an “Unexpected protocol: file” error.