1

I want to build a chat app that has 1-1, and group chat features along with online status,typing indicator,etc in react native that uses ejabberd. I wanted to ask whether I can do it just by using ejabberd Rest api calls from my front end.

Also I don't understand how to implement "typing..." Feature in react native using ejabberd Rest api.

Christopher Moore
  • 15,626
  • 10
  • 42
  • 52
Aryaman Shrey
  • 93
  • 1
  • 9

1 Answers1

0

You can't, you'd have to create an xmpp connection and listen on to iq or message as mentioned in the docs for XEP-0085. There are many libraries that would help you do this including @xmpp/client

FullStack
  • 437
  • 5
  • 15