DocumentPicker.getDocumentAsync() expo go crashes when selecting .opml file

SDK Version: 44
Platform: iOS

I’m trying to use DocumentPicker.getDocumentAsync() to load in a .opml file (standard xml based filetype for importing/exporting rss feeds).

  const getFile = async () => {
    const res = await DocumentPicker.getDocumentAsync();
    if (res.type === "success") {
      console.log(res);
    } else {
      console.log(res.type);
    }
  };

This code works as expected on Expo Go Android and on the web but Expo Go on iOS to crashes with no error message whenever an .opml file is selected. Other filetypes work fine on iOS.

Any ideas on how I could go about debugging this?

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