1.4.6 • Published 5 years ago

peoople-react-native-social-share v1.4.6

Weekly downloads
7
License
MIT
Repository
-
Last release
5 years ago

react-native-share-instagram

Share your image with the Instagram app using Intents (iOS & Android)

Getting started

$ yarn add @micabe/react-native-share-instagram

Automatic installation

$ react-native link @micabe/react-native-share-instagram

Usage

import RNReactNativeSharingWinstagram from 'react-native-sharing-winstagram';

RNReactNativeSharingWinstagram.shareWithInstagram(this.state.fileName, this.state.base64EncodedImageString, message => {
  if (message) alert(message)
}, error => {
  alert(error.message) // error callback for IOs only
})

Troubleshouting

  • Make sure you have authorised in Info.plist your app to communicate with the Instagram app (iOS):
<key>LSApplicationQueriesSchemes</key>
<array>
  <string>instagram</string>
</array>

<key>NSPhotoLibraryUsageDescription</key>
<string>This app requires access to the photo library to share on Instagram.</string>

Advanced usage

Contribution

  • Test library to work with windows OS
1.4.6

5 years ago

1.4.5

5 years ago

1.4.4

5 years ago

1.4.3

5 years ago

1.4.2

5 years ago

1.4.1

5 years ago

1.3.0

6 years ago

1.2.0

6 years ago

1.1.8

6 years ago

1.1.7

6 years ago