Giter Site home page Giter Site logo

nakulkundaliya / react-native-instagram-gallery-view Goto Github PK

View Code? Open in Web Editor NEW
3.0 2.0 1.0 362 KB

This is demo code of instagram gallery view

JavaScript 64.93% Python 7.95% Java 6.91% Objective-C 20.21%
react-native javascript react instagram gallery react-native-camera react-native-camera-roll-picker react-native-parallax-scroll-view android ios

react-native-instagram-gallery-view's Introduction

Create New project

$ react-native init InstagramGalleryView

Get Clone from github

Run Project in IOS and Android

$ react-native run-ios $ react-native run-android

Install node dependencies

$ npm install --save react-native-router-flux $ npm install --save react-redux $ npm install --save redux $ npm install --save redux-thunk $ npm install --save react-native-fetch-blob

Install React Native Camera

$ npm install --save [email protected] $ react-native link react-native-camera

Permissions

To enable video recording feature you have to add the following code to the AndroidManifest.xml:

<uses-permission android:name="android.permission.RECORD_AUDIO"/> <uses-permission android:name="android.permission.RECORD_VIDEO"/> <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" /> <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />

Info.plist

`NSCameraUsageDescription Your message to user when the camera is accessed for the first time

NSPhotoLibraryUsageDescription Your message to user when the photo library is accessed for the first time

NSMicrophoneUsageDescription Your message to user when the microsphone is accessed for the first time`

Install react-native-camera-roll-picker

$ npm install react-native-camera-roll-picker --save $ react-native link react-native-camera-roll-picker

*** IOS Configuration in Xcode **

  1. drag 'RCTCameraRoll.xcodeproj' from 'node_modules/react-native/Libraries/cameraRoll/RCTCameraRoll.xcodeproj' to project_name/Libraries
  2. Selecte your project -> Go to Build Phases -> Link Binary with Libraries -> add libRTCCameraRoll.a

Install react-native-parallax-scroll-view

$ npm install react-native-parallax-scroll-view --save $ react-native link

Run Project

$ react-native run-ios $ react-native run-android

react-native-instagram-gallery-view's People

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

liceth

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.