0.0.3 • Published 7 years ago

react-native-video-to-gif v0.0.3

Weekly downloads
10
License
ISC
Repository
github
Last release
7 years ago

react-native-video-to-gif

Convert video to gif

Note: this project is ios only, but any PR are welcome

Installation Process

  • download this from npm
npm install react-native-video-to-gif --save

Auto linking

  • Not yet supported for now, any PR are welcome

Manual linking

  • Add RNNSGif.xcodeproj to Libraríe folder on Xcode Project :

  • Add libRNNSGif.a to Link Binary with Libraris in Build Phases:

Usage

import RNGif from 'react-native-video-to-gif';

// methods (Just iOs for now)
RNGif.convert(pathToLocalVideo).then((gifPath) => {
  console.log('Video is converted to gif at: ', gifPath);
});