Quickblox messages mixing if first time chat in android - chat

I have implemented quickblox sdk 2.2 version in android, but there is problem that.
If I have registered three Users suppose User A, B, C at same time and I am creating private chat between three users but at first time if there is chat converstion between user A and user B at that time if user C message to User A than chat converstion between A and B stop at same chat window and start chat between User A and User C . I need support for this query.
Thanks
Please give any solution to me

Related

Is it possible to update stream chat persistence in the background in Flutter

The chat is part of the app. The user is connected but not necessarily on the chat screen.
I would like to update the persistence of the chat when the user receives an event (new message or new channel).
Is this possible ?

How can i track the time user spend in a specific app using flutter?

I m developing an app that tells the users to install other apps from google play store and use them for 1 min, then they will win something in the app.
so:
is there a way that I can check if the user uses the app for 1 min or not?
or how to track the time spend by user in a specific app?
You can try the stopwatch class to check the time when the users click your download link
https://api.flutter.dev/flutter/dart-core/Stopwatch-class.html

How to notify app that user has changed in facebook app/ Safari IOS

Using Facebook SDK 3.5.1 in my app, my requirement is that i have logged in the app via facebook with one user (say user A) and now if i login with other user (say user B) in mobile safari/facebook app (which one is available), in this case can my app get notified that another user logged in other than one who was logged in app.
Any references or ideas?
Thanks in advance
Note : I know that this Question was asked before but no answer is there :(
I don't think there is an option for this in the Facebook API. At least I couldn't find it.
Facebook SDK for iOS
What you can do, however, is simply check every minute or so who is available.
You can save this data in an array and then compare it a minute later with the new data.
Here is how you can fetch a list of your connected friends:
iOS Facebook SDK - get list of Friends connected with App

Showing Badges in iPhone Hybrid Application

We are developing a hybrid iPhone application. It has a webview that loads some mobile website. Website requires user authentication and once user is authenticated we need to show badge count for unread messages.
We are looking to use Push Notification to show badge count but I am not sure how should we register for push notification dynamically once user log-in and de-register once user log-out.
I believe if we can have some way to invoke native class method through javascript then we can achieve it.
Please suggest.
It is very simple whenever user logged-in, post a entry into the db and send notification for the records entered into the db and when user logging-out delete the entry from db

Send a message between application users

I want to write a facebook app in which I'll show a list of the people who gave permission to use the app.
Each user would be able to pick another user from the list and send them a message from the app.
Is there any facebook api call I can use? Or I have to develop a stand alone messaging system?