Please provide the following:
-
sdk 34:
-
android and ios
the issue in readAsStringAsync in android it give me weird result like this
async onStart() {
await FileSystem.downloadAsync(
“test.json”,
FileSystem.documentDirectory + “test.json”
)
.then(({ uri }) => {
console.log("Finished downloading to ", uri);
FileSystem.readAsStringAsync(uri).then(fileResponse => {
// here is the issue
console.log(Josn.parse(fileResponse));});
})
.catch(error => {
console.error(error);
});
}
help plzz ???