How to open file using Linking?

I’m downloading a file, and I’ve expected open the file after finished downloading, but this does not work, it’s viewed on a black screen when opening using Linking. How can I fix this?

My code:

const downloadFile = async (fileUrl) => {
    setLoading(true);
    if (Platform.OS == "android") {
      const dir = ensureDirAsync(downloadPath);
    }

    let fileName = "history";
    const downloadResumable = FileSystem.createDownloadResumable(
      fileUrl,
      downloadPath + fileName,
      {},
      downloadCallback
    );
    console.log(downloadPath);
    try {
      const { uri } = await downloadResumable.downloadAsync();
      saveAndroidFile(uri, fileName);
    } catch (e) {
      console.error("download error:", e);
    }
  };

  const saveAndroidFile = async (fileUri, fileName = "File") => {
    try {
      const fileString = await FileSystem.readAsStringAsync(fileUri, { encoding: FileSystem.EncodingType.Base64 });

      if (local === "") {
        const permissions = await StorageAccessFramework.requestDirectoryPermissionsAsync();
        if (!permissions.granted) {
          return;
        }
        await AsyncStorage.setItem("local", permissions.directoryUri);
      }

      try {
        await StorageAccessFramework.createFileAsync(local, fileName, "application/pdf")
          .then(async (uri) => {
            await FileSystem.writeAsStringAsync(uri, fileString, { encoding: FileSystem.EncodingType.Base64 });

            Linking.openURL(uri);

            alert("Success!");
          })
          .catch((e) => {});
      } catch (e) {
        throw new Error(e);
      }
    } catch (err) {}
    setLoading(false);
  };

@wodin

This is the file URL in the STORAGE:

content://com.android.externalstorage.documents/tree/primary%3ADownload%2FSigaa/document/primary%3ADownload%2FSigaa%2Fhistory.pdf

This URL is correct?

Can someone help me?