Skip to content
Branch: master
Find file History
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
ReactNativeWithSendBird
README.md add install guide in React Native Redux sample Aug 6, 2018

README.md

Sample JavaScript React-Native Redux

SendBird React-Native sample using SendBird SDK.

Prerequisite

Run the sample

  1. Install React Native CLI.

     npm install -g react-native-cli
    
  2. Install required packages.

     npm install
     react-native link
    
  3. (iOS only) Pod install.

     cd ios
     pod install
    
  4. (iOS only) Add library in XCode

  • Open XCode and load workspace
  • Right click to 'Libraries' > Add Files to "Project Name" > select node_modules/react-native/Libraries/PushNotificationIOS/RCTPushNotification.xcodeproj
  • Project Settings > Build Phases > Link Binary With Libraries > Add libRCTPushNotification.a
  1. Run the sample. Before starting, you should launch device amulator (or actual device) to run the sample in Android. This sample is not available for real device in iOS due to Apple Development Policy. In order to run React Native sample in real device, follow React Native official guide for your own setup.

     react-native run-android
     react-native run-ios
    
You can’t perform that action at this time.