I am working on an iOS chat client application. Now I want to save the chat history on the device and server, I looked at Google and found that I can do this with the XEP-0136 extension. I looked into it, but had no idea how to implement it. If someone used or has any link to a tutorial that can help me, what to share with him.
Now I have activated the message archive module and it seems that I am storing the message, but I do not know where it is stored. Can someone tell me where the archived message is stored on the local device.
Below is the code that I used to activate the module.
XMPPMessageArchiving *xmppMessageArchivingModule = [[XMPPMessageArchiving alloc] initWithMessageArchivingStorage:[XMPPMessageArchivingCoreDataStorage sharedInstance]]; [xmppMessageArchivingModule setClientSideMessageArchivingOnly:YES]; [xmppMessageArchivingModule activate:xmppStream]; [xmppMessageArchivingModule addDelegate:self delegateQueue:dispatch_get_main_queue()];
Thanks at Advance
source share