DocumentPicker: all document types are greyed out 'On My iPhone'

Please provide the following:

  1. SDK Version: 44
  2. Platforms(Android/iOS/web/all): iOS
  3. Add the appropriate “Tag” based on what Expo library you have a question on.

I have a DocumentPicker that won’t launch when I specify a mime type with “type”, e.g. type: “text/csv”. The error in the console is “DocumentPicker requires the iCloud entitlement. If you are using ExpoKit, you need to add this capability to your App Id. See for more info.”

However, when I omit the type property, the document picker launches but all the files are greyed out, no matter the type.

Any help with this would be appreciated. Thanks!

Hey @jackcruden, can you let me know what device/OS version you are testing on? Also, is this happening with a standalone binary or Expo Go?

Hey @adamjnav . Testing on iOS Simulator (iPhone 13, iOS 15.2) in Expo Go.

    type: 'text/csv', // Entitlement error if this line is present. Dialog shows, but files greyed out if this line is removed.
    copyToCacheDirectory: false,

“expo”: “^44.0.0”,
“expo-document-picker”: “~10.1.3”,

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