react-native-files-share
v0.1.3
Published
Multiple images, pdf share
Downloads
22
Maintainers
Readme
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:
- android: