Currently I'm working on the MQTT based Chat application
where I need to assign
Unique Topics
to Users dynamically
.
So, I thought of using their IMEI/MobileNumber
. But in iOS, we cannot get the IMEI Number so we thought of generating a random IMEI
from the backend and assign it to the Users.
Now, My problem is whenever user changes his mobile
, the IMEI Number changes
and it will be fresh profile
again to that user.
If I use based on his Mobile Number
, there is a chance when the user doesn't use the sim for 3 months. The connection automatically terminates from the network provider and the same number will be assigned to another new customer(atleast here in india).
Can anyone suggest me a good approach for the Topic Generation?
BTW, I need a Web Chat
also and that need to be fetched from database
. that is the only reason, I'm focusing on the Topic Generation. So, I will fetch messages based on his topic
and show them in the Web Chat.
Do anyone know, how whatsapp maintained their topics?