File System issue

Please provide the following:

  1. sdk 34:

  2. 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 ???

Hey @shadymoner,

Would you mind creating a Snack that reproduces this so I can test it on my end?

Cheers,
Adam

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.