JSPM

react-native-share-file

1.0.4
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 18
  • Score
    100M100P100Q40814F
  • License ISC

Share a file for React Native

Package Exports

  • react-native-share-file

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (react-native-share-file) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

React Native Share File

Share with a file for React Native This package calls UIDocumentInteractionController for IOS to share the file.

import RNShareFile from 'react-native-file-share'

RNShareFile.share({
    url:localFilePath
})

To share a remote file, download with react-native-fs.