New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

react-native-multipleshare

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-native-multipleshare

Share Multiple Images Library for React Native apps.

latest
Source
npmnpm
Version
1.0.9
Version published
Maintainers
1
Created
Source

react-native-multipleshare

支持分享多张图片到微信Wechat QQ 朋友圈,支持本地图片和网络图片

Getting started

$ npm install react-native-multipleshare --save or $ yarn add react-native-multipleshare

Mostly automatic installation

$ react-native link react-native-multipleshare

Usage

import MultipleShare from 'react-native-multipleshare';

let array = ['http://img4.tbcdn.cn/tfscom/i1/2259324182/TB2ISF_hKtTMeFjSZFOXXaTiVXa_!!2259324182.jpg',
  'https://gd2.alicdn.com/imgextra/i1/2259324182/TB2sdjGm0BopuFjSZPcXXc9EpXa_!!2259324182.jpg',
  'http://img2.tbcdn.cn/tfscom/i1/2259324182/TB2NAMmm00opuFjSZFxXXaDNVXa_!!2259324182.jpg',
  'file://yourlocalfilepath'];

//微信会话分享
await MultipleShare.share(array, MultipleShare.Module.WECHAT, MultipleShare.Scene.SESSION);

//微信朋友圈分享
await MultipleShare.share(array, MultipleShare.Module.WECHAT, MultipleShare.Scene.TIMELINE);

//QQ会话分享
await MultipleShare.share(array, MultipleShare.Module.QQ, MultipleShare.Scene.SESSION);

Keywords

react-native

FAQs

Package last updated on 24 Aug 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts