npm.io
57.0.1 • Published 6d ago

expo-document-picker

Licence
MIT
Version
57.0.1
Deps
0
Size
117 kB
Vulns
0
Weekly
0
Stars
50.7K

expo-document-picker

Provides access to the system's UI for selecting documents from the available providers on the user's device.

API documentation

Installation in managed Expo projects

For managed Expo projects, please follow the installation instructions in the API documentation for the latest stable release.

Installation in bare React Native projects

For bare React Native projects, you must ensure that you have installed and configured the expo package before continuing.

Add the package to your npm dependencies

npx expo install expo-document-picker

Configure for Android

No additional set up necessary.

Configure for iOS

Run npx pod-install after installing the npm package.

Plugin

You can change the com.apple.developer.icloud-container-environment entitlement using the iCloudContainerEnvironment property.

app.json

{
  "ios": {
    "usesIcloudStorage": true,
    "bundleIdentifier": "com.yourname.yourapp"
  },
  "plugins": ["expo-document-picker"]
}

Running npx expo prebuild will generate the native project locally with the applied changes in your iOS Entitlements file.

Contributing

Contributions are very welcome! Please refer to guidelines described in the contributing guide.

Keywords