Skip to content

Latest commit

 

History

History
42 lines (36 loc) · 2.16 KB

File metadata and controls

42 lines (36 loc) · 2.16 KB

💬 React Native Chat Example

A simple example of how to build a chat interface using React Native. With support for image and location messages.

Room Screen

iOS Android
iOS Room Screen Android Room Screen

Room List Screen

iOS Android
iOS Room List Screen Android Room List Screen

Message Schema

{
  id, // message ID
  type, // message type
  from, // from which user ID
  text, // context for text messages
  payload, // context for other types of messages
  createdAt, // timestamp
},

How to run the project

  • npm install
  • To run from CLI: react-native run-ios or react-native run-android.
  • Or run from XCode or Android studio.

Note for Android users

Used Libraries