0.1.3 • Published 4 years ago

react-native-files-share v0.1.3

Weekly downloads
19
License
ISC
Repository
github
Last release
4 years ago
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