Skip to content

A React-Native module that provides Instagram Share functionality (Currently available only for Android. iOS support would be provided soon)

Notifications You must be signed in to change notification settings

laurent22/rn-instagram-share

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

rn-instagram-share

Instagram Media (Video, Image) sharing module (Currently only for Android. iOS support will soon be added).

Installation

Enter it in to the terminal being in the project directory.

npm install rn-instagram-share --save

Now link it using react-native tool

react-native link

Importing

var InstagramShare = require("rn-instagram-share");

share(Type, FilePath)

You can share Image/Video

Type: "video/*" for all video formats & "image/*" for all image formats. FilePath: Absoulte path of the media file stored in your phone.

example:

var InstagramShare = require("rn-instagram-share");
InstagramShare.share("video/*", "/path/to/file/my_video.mp4");

About

A React-Native module that provides Instagram Share functionality (Currently available only for Android. iOS support would be provided soon)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%