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

Please help me with native file

$
0
0

@alexmehler wrote:

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 !

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 70443

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>