{"action":"created","issue":{"url":"https://api.github.com/repos/jessesquires/JSQMessagesViewController/issues/1919","repository_url":"https://api.github.com/repos/jessesquires/JSQMessagesViewController","labels_url":"https://api.github.com/repos/jessesquires/JSQMessagesViewController/issues/1919/labels{/name}","comments_url":"https://api.github.com/repos/jessesquires/JSQMessagesViewController/issues/1919/comments","events_url":"https://api.github.com/repos/jessesquires/JSQMessagesViewController/issues/1919/events","html_url":"https://github.com/jessesquires/JSQMessagesViewController/issues/1919","id":191028821,"number":1919,"title":"messages persistance","user":{"login":"barylevy","id":6809557,"avatar_url":"https://avatars.githubusercontent.com/u/6809557?v=3","gravatar_id":"","url":"https://api.github.com/users/barylevy","html_url":"https://github.com/barylevy","followers_url":"https://api.github.com/users/barylevy/followers","following_url":"https://api.github.com/users/barylevy/following{/other_user}","gists_url":"https://api.github.com/users/barylevy/gists{/gist_id}","starred_url":"https://api.github.com/users/barylevy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/barylevy/subscriptions","organizations_url":"https://api.github.com/users/barylevy/orgs","repos_url":"https://api.github.com/users/barylevy/repos","events_url":"https://api.github.com/users/barylevy/events{/privacy}","received_events_url":"https://api.github.com/users/barylevy/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-11-22T14:55:26Z","updated_at":"2016-11-23T19:26:04Z","closed_at":null,"body":"## New issue checklist\r\n<!-- Before submitting this issue, make sure you have done the following -->\r\n\r\n- [x] I have read all of the [`README`](https://github.com/jessesquires/JSQMessagesViewController/blob/develop/README.md), [documentation](http://cocoadocs.org/docsets/JSQMessagesViewController/), and [FAQ](https://github.com/jessesquires/JSQMessagesViewController/blob/develop/Documentation/faq.md).\r\n- [x] I have reviewed the [contributing guidelines](https://github.com/jessesquires/JSQMessagesViewController/blob/develop/.github/CONTRIBUTING.md). Confirmation: ____\r\n- [x] I have searched [existing issues](https://github.com/jessesquires/JSQMessagesViewController/issues?q=is%3Aissue+sort%3Acreated-desc) and **this is not a duplicate**.\r\n\r\n## General information\r\n\r\n- Library version(s):\r\n- iOS version(s):\r\n- Devices/Simulators affected:\r\n- Reproducible in the demo project? (Yes/No): \r\n- Related issues:\r\n\r\n## What happened?\r\npersist the user messages "},"comment":{"url":"https://api.github.com/repos/jessesquires/JSQMessagesViewController/issues/comments/262608836","html_url":"https://github.com/jessesquires/JSQMessagesViewController/issues/1919#issuecomment-262608836","issue_url":"https://api.github.com/repos/jessesquires/JSQMessagesViewController/issues/1919","id":262608836,"user":{"login":"MacMeDan","id":6182351,"avatar_url":"https://avatars.githubusercontent.com/u/6182351?v=3","gravatar_id":"","url":"https://api.github.com/users/MacMeDan","html_url":"https://github.com/MacMeDan","followers_url":"https://api.github.com/users/MacMeDan/followers","following_url":"https://api.github.com/users/MacMeDan/following{/other_user}","gists_url":"https://api.github.com/users/MacMeDan/gists{/gist_id}","starred_url":"https://api.github.com/users/MacMeDan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MacMeDan/subscriptions","organizations_url":"https://api.github.com/users/MacMeDan/orgs","repos_url":"https://api.github.com/users/MacMeDan/repos","events_url":"https://api.github.com/users/MacMeDan/events{/privacy}","received_events_url":"https://api.github.com/users/MacMeDan/received_events","type":"User","site_admin":false},"created_at":"2016-11-23T19:26:04Z","updated_at":"2016-11-23T19:26:04Z","body":"Ya so the JSQ Library does not provide anything in this regard in an effort to make this library extensible so anyone can use any storage method they choose. So you will need to look into a data storage solution. Often there are tutorials that use firebase as their backend. That is what I use in my personal projects because it has great documentation and super easy to use. There is this one form the getting started page https://github.com/firebase/ios-swift-chat-example I don't know how updated it is but you should be able to learn about the data storage and put them together. You can also use other solutions, mostly you are just making the right calls to the api to save the message data when the send button is pressed and download all new messages when a new message is received you make a call to download them."}}
{"actor":{"display_login":"MacMeDan"}}