Skip to content

colloquet/react-native-chat-example

Repository files navigation

💬 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

About

Example of how to build a chat interface using React Native

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published