react-native-files-share

0.1.3 • Public • Published
npm i react-native-files-share --save

or

yarn add react-native-files-share --save

with React Native < 0.60

react-native link react-native-files-share

Let using:

import ShareImages from 'react-native-files-share';

Simple as calling:

ShareImages.show({
  images: [''], // list images base64 or pdf base64
  exclude: [''],
  isPDF: true | false,
  title: "" // remove if use default 
});

Note:

images is list base64 of images. Example: ['3hG2424HYu23...', 'Hy234hhj234g...', ...]

Example:

Try an example in repos. This is some screenshots:

  • iOS: ScreenShot
  • android: ScreenShot

Dependencies (0)

    Dev Dependencies (2)

    Package Sidebar

    Install

    npm i react-native-files-share

    Weekly Downloads

    1

    Version

    0.1.3

    License

    ISC

    Unpacked Size

    1.24 MB

    Total Files

    156

    Last publish

    Collaborators

    • vominhhuy