0.0.4 • Published 7 years ago

react-native-instagram-share-ios v0.0.4

Weekly downloads
21
License
-
Repository
-
Last release
7 years ago

react-native-instagram-share-ios

(Note: Currently testing and working out remaining bugs, don't use in production just yet )

This library attempts to solve the problem of sharing images to Instagram in React Native applications. Since their public API does not expose a direct endpoint to share currently, a common workaround is to use a link that attempts to open the Instagram app on the user's device.

Demo

// demo gif coming soon!

Installation

yarn add react-native-instagram-share-ios

Link Manually:

  1. Delete RNInstagramShare.xcodeproj from Libraries
  1. Open the node_modules/react-native-instagram-share-ios/ios/ folder and drag RNInstagramShare.xcodeproj into the Libraries Group, copying resources if necessary

Usage

import RNInstagramShare from 'react-native-instagram-share-ios'

RNInstagramShare.share('some_filename_ending_in_igo')

Currently Supporting:

  • iOS
  • Android