Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

react-native-document-controller

deldreth90.0.3

React Native component for handling UIDocumentInteractionController

react-native, react-component, ios, document, uidocumentinteractioncontroller

readme

react-native-document-controller

NativeModule to handle iOS UIDocumentInteractionController for Copy To... or Open With... behavior.

Usage

import { NativeModules } from 'react-native'; // or whatever flavor you prefer
var DocumentController = NativeModules.DocumentController;

DocumentController.show({
  file: 'file://<asset-library-uri>'
});