Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70860

Unable to read file from mounted sd card directory through $cordovaFile

$
0
0

@krishna2112 wrote:

i have a code similar to this

$cordovaFile.readAsText(cordova.file.externalRootDirectory, "file.txt")
  .then(function (success) {

  }, function (error) {

  });

which according to offical docs should read file from mounted sd card but this is reading file from internal storage

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 70860

Trending Articles