Skip to content
This repository has been archived by the owner on Feb 24, 2020. It is now read-only.

DEPRECATED: React Native Module for sharing to Instagram's storys

Notifications You must be signed in to change notification settings

Jobeso/react-native-instagram-story-share

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

90 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DEPRECATED! See react-native-story-share for story sharing

React Native Instagram Story Share

Installation

  • execute yarn add react-native-instagram-share

iOS

  • add instagram-stories to the LSApplicationQueriesSchemes key in your app's Info.plist.
...
<key>LSApplicationQueriesSchemes</key>
<array>
	...
	<string>instagram-stories</string>
</array>
...
  • add RNInstagramStoryShare to your Podfile.
platform :ios, '8.0'

target 'MyApp' do
  # use_frameworks!
	...
	pod 'RNInstagramStoryShare', :path => '../node_modules/react-native-instagram-story-share/ios'
	...
end
  • In your ios folder run pod install

Android

  • run yarn link react-native-instagram-share

Usage

import RNInstagramStoryShare from 'react-native-instagram-story-share'

RNInstagramStoryShare.share({
	backgroundImage: 'data:image/png;base64, ...',
	deeplinkUrl: 'https://github.com/',
})
.then(() => console.log('SUCCESS'))
.catch(e => console.log('ERROR', e))

About

DEPRECATED: React Native Module for sharing to Instagram's storys

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published