this.file.readAsText(this.file.externalRootDirectory + “xtracker”, filename).then(???)
i want to read a json from android sdcard/xtracker and then JSON.parse it.
but i dont know how the promise resolves
writing the file works , but i dont know how to read it correctly please replace the ??? in the code so i get the filecontent as text
thanx !