question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

How can I start chat activity between two users?

See original GitHub issue

Seems like void startChatActivityForID(Context context, String threadEntityID); would be my answer? But then what is threadEntityID? How do I get thread entity ID?

I would like to note that I don’t want my users to go through the login activity. Sort of want to force the anonymous login by default when a user clicks on chat button on a list item.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
himanshubhaisarecommented, Jun 8, 2018

@agustinsivoplas agustinsivoplas I actually ended up not using this sdk and re-implemented chat using firebase and this tutorial https://www.youtube.com/watch?v=XJvd8b3-Un4&index=2&list=PLGCjwl1RrtcQ3o2jmZtwu2wXEA4OIIq53

1reaction
bensmileycommented, Nov 6, 2017

I think this should answer your question.

But one thing to note is that the Chat SDK requires users to be authenticated. This can be anonymous, but the user has to be authenticated before you can start creating or joining threads. I’d recommend authenticating the user anonymously as soon as they open your app. An alternative would be to use semi-anonymous login.

To do this, you would generate a unique username and a random password the first time the user opened the app. You would then authenticate using:

Username: [unique username]@yourdomain.com Password: [random password]

You would then store these details on the device. The next time you would authenticate with the same details. The benefit here is that you would reduce the number of anonymous user profiles stored on Firebase.

Read more comments on GitHub >

github_iconTop Results From Across the Web

What are the steps to make a chat app in Android between two ...
Then make some logic to create a common chat room. You can divide two users unique id and concatenate them to give a...
Read more >
First things to know about chats - Microsoft Support
Once the chat has begun (whether group or one-on-one), just choose it in the chat list to resume the conversation and send more...
Read more >
How to Build a Chat or Messaging App: The Ultimate Guide
Here's everything you need to consider in the research, planning, and scoping stages of chat app development.
Read more >
Make an Android App Like WHATSAPP - #16 - YouTube
Make an Android App Like WHATSAPP - #16 - Multiple User Chat Room ... By the end of this series you'll have learned...
Read more >
How to start chat and make calls with Microsoft Teams
If you want to talk privately with one person or several members of your team, you can utilize the “ Chat ” function...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found