xmppframework

Autojoin option of xmpp bookmark does not work

99封情书 提交于 2019-12-13 13:11:57
问题 I am trying to auto-join rooms using XEP-0048 - Bookmarks (http://xmpp.org/extensions/xep-0048.html). I am using RobbieHanson XMPPFramework, ejabberd v13.x So far, I have been able to add bookmark to the room using the following code : -(void) createBookmarkforRoom:(NSString *)roomJid { NSXMLElement *nick = [NSXMLElement elementWithName:@"nick" stringValue:@"Marge"]; NSXMLElement *conference = [DDXMLNode elementWithName:@"conference"]; [conference addAttributeWithName:@"name" stringValue:@

Fetching ejabberd MUC members list

老子叫甜甜 提交于 2019-12-13 08:44:28
问题 There seem to be some threads around this and it seems very obvious an issue to be a problem, but somehow in MUCs / rooms created by my ejabberd mobile clients, the creator / owner is able to fetch the members list but when I fetch the same from the members, there is an administrative privileges required error. Below are the request and response stanzas as well as the room options. Can someone advise please if there is something I'm overlooking here ... many thanks? Request from member: <iq

XMPP XEP 0333 Implementation in SMACK

痞子三分冷 提交于 2019-12-13 02:38:53
问题 I am developing a XMPP based chat application. My requirement is that I need to show the read/delivered status like in whatsapp. With some research I came to a understanding that I need to use XEP-0333 chat markers to achieve this functionality. In XMPP ios framework we have support for XEP-0333. For android I am using Smack library . I don't see any implementation of XEP-0333 in Smack library.Smack has implemented obsolete XEP-0022, not this one. Could somebody help me on this. How to

Can I Pod XMPPFramework Without All of Its XEP Extension?

北慕城南 提交于 2019-12-13 02:22:56
问题 I've been struggling for archiving my project recently. 2 hours passed and the archiving process still in Running 2 of 2 custom shell scripts phase. Apparently, after looking into the Report Navigator , the root cause of this is because I am using XMPPFramework Pod and the archiving process took too long in running Copy Pods Resources custom shell script for one of XMPPFramework Extensions XEP (the one which I even don't use). Then, I think I can get out from this trouble by disabling some

How to parse a xmpp xml in ios?

前提是你 提交于 2019-12-13 01:28:42
问题 Hi I am working with the xmpp every thing working fine.But I am unable to parse below xml <message xmlns="jabber:client" to="919452544@server" id="859e7-870" type="chat" from="917696997127@server/Smack"> <body>Broadcast</body> <properties xmlns="http://www.jivesoftware.com/xmlns/xmpp/properties"> <property> <name>stream</name> <value type="string">8d879bea44f792468d6ecad161d3e545</value> </property> <property> <name>date</name> <value type="string">2016-05-05 10:36:25</value> </property>

XMPPFramework - Unable to Retrieve Chat History from Openfire Server

雨燕双飞 提交于 2019-12-12 18:29:00
问题 I am trying to fetch chat history from Openfire server. For that purpose we are done with open fire set up and we added archiving plug in to Openfire as well. I gone through some Googling and I found that I need to follow XEP-0136. I also found this SO question. I am sending the same stanza to my server but I am getting error code of 501 i.e feature not implemented. While I go on server and look for archived History than I get that history properly. Here is the Stanza I am sending: <iq type=

XMPP push notifications causing problems (delay + duplications) in messages

拈花ヽ惹草 提交于 2019-12-12 17:23:11
问题 XMPP push notifications causing problems (delay + duplications) in messages. I have successfully created a chat application using XMPP + Ejabberd. Without Push Notifications: Both single and group chat messages are working perfectly. With Push Notifications: Sometimes everything works perfectly.Notifications are triggered and messages are received with out any delay or duplications. Sometimes no notifications are triggered (while app in background) but messages are received perfectly.

XMPPFramework - Connect via SSL on Openfire

谁都会走 提交于 2019-12-12 08:13:01
问题 I'm trying to connect my users via SSL from my iOS XMPP chat client to Openfire server. In my iOS client: - (void)setupStream { ... // BOOL values for security settings customCertEvaluation = NO; allowSelfSignedCertificates = YES; allowSSLHostNameMismatch = NO; } In my Openfire server's Security Settings > Client Connection Security , I've set: Required - Clients can only connect to the server using secured connections. Thus, the following delegate method will be called: - (void)xmppStream:

QBChat didReceiveMessage is not getting called while receiving a call

ⅰ亾dé卋堺 提交于 2019-12-12 04:54:00
问题 I'm using Quickblox for voice/video call between two devices. While receiving a voice/video call from an user, I can see the log below, QBChat/didReceiveMessage: <message xmlns="jabber:client" id="XXX-XXX" to="XXXXX-XXXX@chat.quickblox.com" from="1XXXX20@chat.quickblox.com/Smack" type="qbvideochat_call"><extraParams xmlns=""><callType>1</callType><sessionID>XXXXXXX</sessionID></extraParams></message> The method, chatDidReceiveCallRequestFromUser is also being called. I can attend the call.

confusion regarding XMPP xep-0065 and xep-0096

痴心易碎 提交于 2019-12-12 04:45:34
问题 I am currently working on xmppframework, Requirements are to transfer the file between two iPhones. I searched for XEPs and found 0065 and 0096 XEP-0065 says: XMPP is designed for sending relatively small chunks of XML between network entities and is not designed for sending binary data. However, sometimes it is desirable to send binary data to another entity that one has discovered on the XMPP network (e.g., to send a file). Therefore it is valuable to have a generic protocol for streaming