Read data from file using filechooser


#1

hello and tnaks for this framework; i’m new in ionic and i want update my sqlite database from xml files,
for new i can do that using http.get(); but my question is how do it whene files are selected using filechooser; here is some code:
filechooser :foleChooser;
filepath : filePath;
this.filechooser.open()
.then(uri => {
this.filepath.resolveNativePath(uri)
.then(filePath => {

})
});

can you give me an example how to achieve this?
thnak you again


#2

Do you have a solution yet?