Giter Club home page Giter Club logo

react-native-chat-sdk's Introduction

English | Chinese

Huanxin IM React-Native Description

Update time: 2022-05-10

This SDK is based on React Native and Chat SDK implementations for Android and iOS.

directory description

├── CHANGELOG.md // Release notes document
├── CONTRIBUTING.md // Contributor documentation
├── LICENSE // License file
├── README.md // Project help documentation
├── README.zh.md // Project help documentation (Chinese version)
├── android // react native SDK android platform folder
├── docs // docs folder
├── example // project built-in demo
├── examples // Independent demo outside the project
├── ios // react native SDK ios platform folder
├── lib // react native SDK generates product folder
├── native_src // react native SDK native source code folder
├── node_modules // react native depends folder, generated by yarn or npm command
├── package.json // react native project management file
├── react-native-chat-sdk.podspec // react native ios cocoapods configuration file, used by ios platform.
├── scripts // react native script folder
├── src // react native source code folder
├── tsconfig.build.json // typescript language build configuration file
├── tsconfig.json // typescript language configuration file
└── yarn.lock // yarn project dependency version configuration file

project preparation

Download using git command

git clone --recurse-submodules [email protected]:easemob/react-native-chat-sdk.git

Compile and run conditions

See here for specific requirements. Portal

project compilation

Open a terminal and run yarn or yarn install command

build ios platform

  • use xcode to open the file example/ios/ChatSdkExample.xcworkspace;
  • Connect an ios device, or choose an emulator;
  • Set the signature (if it is a real machine);
  • Execute build, install and run demo.
  • Note The pod install command has been executed when running the yarn command, otherwise, it needs to be run manually.

build android platform

  • use android studio to open the folder example/android;
  • If it is the first time, please run the sync command first;
  • Execute build, install and run demo;
  • Before running the demo, start the service: cd example && yarn start.
  • Note Make sure to execute the following command before building: cd native_src/cpp && sh generate.sh --type rn
  • Note android5.0 or above requires data forwarding: adb reverse tcp:8081 tcp:8081

quick start

Please check the specific documentation. Portal

demo experience

You can run the demo to experience the api level. portal. You can run a simple demo for experience. portal.

Contributors

See the contributing guide to learn how to contribute to the repository and the development workflow.

Release Notes

See the change log.

Version types

See the version types.

License

MIT

Q&A

If you encounter problems, please refer to here

react-native-chat-sdk's People

Contributors

asteriskzuo avatar jinanzhuan avatar wangying-sarah avatar

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.