Is it possible to send a voice message from flutter with socket.io? - flutter

I have an application with a group chat room and I used socket.io and conversations are sent, but I also want to send a voice message. I searched a lot, but I did not find a way to send voice

Related

How can I get last message of each conversation(per JIDs) from openfire?

I'm developing an instant messaging app on android with SMACK library that uses OPENFIRE as a xmpp server. I want to get last message of each conversation from MessageArchiveManager in openfire server that was enabled by MONITORING SERVICE plugin(based on XEP-0313).
I know that mamManager.queryArchive() can gets the messages that related to specific jid or can get a specific number of messages that exists in server(with no custom sepration), but we suppose that smack doesn't knows which JIDs has conversation on server!
One solution is that send request per each ROSTER entry, but it has heavy cost when it contains numerous contacts and perhaps we have a conversation with anybody out of Roster. Is there any way or plugin or another extension to do this?

XMPP offline message push ejabberd

Hi I am developing a chat application using XMPP. Consider the situation in the chat application, When User A send messages to User B and if the User B is offline at that time XMPP will store the sms as offline message and it will send that messages to User B when it comes online. This is working here. But I want to send this offline messages from XMPP as push to User B. I have done lots of searching and I came in a conclusion that we need to send the offline messages from XMPP server to our backend server and from there we need to send that message as push. But how to do this, please help me
It is possible to write a custom module to do that with ejabberd API.
What you need is to use mod_offline_hook (see ejabberd Events and Hooks) to be called when the server wants to store a message in offline store.
You can read mod_offline module for inspiration.

Redirect all Skype Messages from one profile to another

As the title says, is there a way to redirect all skype messages I receive
from one profile to another ? The Skype support states that you can activate
SMS messages which will get redirected but I just want simple chat messages
to be redirected from one profile to another automatically.
Just to clarify, both profiles will be online and not one offline and the other
online.
All code/forums/books will be appreciated.
There is commercial tool for this. It works across many messengers but the monthly cost is quite big: https://sameroom.io
Also here is the most relevant discussion of the stuff: https://github.com/microsoft/botframework-sdk/issues/4046
Skype doesn't support incoming text messages - you can set up an SMS ID which allows you to send SMS messages from Skype and receive the answer to your mobile phone.
To do this, go to Skype -> Preferences -> Messaging. After you have validated your mobile number, all SMS messages you send from Skype will display your mobile number as the sender ID.

send sms using ipad through my Own application

I am building a system in iOS on ipad which records appointments. Once a appointment is scheduled, a message needs to be sent to the number given while scheduling. Is there a way i can send a SMS through ipad?
It's not possible to send an SMS while remaining in the app on iOS.
You could allow the user to send an SMS by tapping an element which would bring up the messages app and allow you to send one there, but not in the app itself.
You could however, use your own solution in Obc-C (or written in another language such as PHP) which sends the messages through a message gateway.
An example would be this:
http://net.tutsplus.com/tutorials/php/how-to-send-text-messages-with-php/

What does "stalker status" mean in chat applications?

I have created an XMPP chat application for Android and iPhone. While testing the app in jwchat.org, users who are created from iPhone devices are shown as 'stalker', and Android usernames are shown as online / offline. What does 'stalker' mean? Because of this, messages are sent and received from Android to iPhone, but iPhone devices' messages are not recieved by Android devices. Can anyone please help me?
"Stalker" is an unfortunate term that is embedded in the user interface of your client, not a standard part of the protocol. It likely refers to people who are in your roster as type="from", which indicates that they are subscribed to your presence but you are not subscribed to their presence. If you want to change this state, send them:
<presence type='subscribe' to='stalker#example.com'/>
Once they accept with:
<presence type='subscribed' to='you#example.com'/>
You should have each other in the type="both" state on one anothers' rosters.
It sounds like a presence problem on the iPhone app -- that it is successfully logging in/authenticating to the xmpp server, but then failing to send an xmpp presence stanza.
Do you have any traces of the xmpp communication?