{"action":"created","comment":{"url":"https://api.github.com/repos/Swrve/swrve-android-sdk/pulls/comments/55023774","id":55023774,"diff_hunk":"@@ -0,0 +1,133 @@\n+package com.swrve.sdk;\n+\n+import com.swrve.sdk.SwrveCommon;\n+import com.swrve.sdk.SwrveLogger;\n+import com.swrve.sdk.conversations.engine.model.ControlBase;\n+import com.swrve.sdk.conversations.engine.model.ConversationPage;\n+\n+import org.json.JSONArray;\n+import org.json.JSONException;\n+import org.json.JSONObject;\n+\n+import java.io.File;\n+import java.io.Serializable;\n+import java.util.ArrayList;\n+\n+// This class has to be extended by the SwrveSDK to add campaign and the other commented code\n+public class SwrveBaseConversation implements Serializable {\n+    private final String LOG_TAG = \"SwrveConversation\";\n+    // Swrve SDK reference\n+    protected transient ISwrveConversationsSDK conversationController;\n+    // Identifies the message in a campaign\n+    protected int id;\n+    // Customer defined name of the conversation as it appears in the web app\n+    protected String name;\n+    // Each of the conversations pages\n+    protected ArrayList<ConversationPage> pages;\n+    // Location of the images and button resources\n+    protected File cacheDir;\n+\n+    /**\n+     * Load message from JSON data.\n+     *\n+     * @param conversationData JSON data containing the message details.\n+     * @throws JSONException\n+     */\n+    public SwrveBaseConversation(JSONObject conversationData) throws JSONException {\n+        //READD ON EXTENDED CLASSthis(controller, campaign);","path":"SwrveConversationSDK/src/main/java/com/swrve/sdk/SwrveBaseConversation.java","position":37,"original_position":37,"commit_id":"ef9e1b12d1fb2fcf629cd0624ff333c107af1fbc","original_commit_id":"ef9e1b12d1fb2fcf629cd0624ff333c107af1fbc","user":{"login":"dominicmarmionswrve","id":9349545,"avatar_url":"https://avatars.githubusercontent.com/u/9349545?v=3","gravatar_id":"","url":"https://api.github.com/users/dominicmarmionswrve","html_url":"https://github.com/dominicmarmionswrve","followers_url":"https://api.github.com/users/dominicmarmionswrve/followers","following_url":"https://api.github.com/users/dominicmarmionswrve/following{/other_user}","gists_url":"https://api.github.com/users/dominicmarmionswrve/gists{/gist_id}","starred_url":"https://api.github.com/users/dominicmarmionswrve/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dominicmarmionswrve/subscriptions","organizations_url":"https://api.github.com/users/dominicmarmionswrve/orgs","repos_url":"https://api.github.com/users/dominicmarmionswrve/repos","events_url":"https://api.github.com/users/dominicmarmionswrve/events{/privacy}","received_events_url":"https://api.github.com/users/dominicmarmionswrve/received_events","type":"User","site_admin":false},"body":"remove the comment","created_at":"2016-03-04T12:24:57Z","updated_at":"2016-03-04T12:24:57Z","html_url":"https://github.com/Swrve/swrve-android-sdk/pull/130#discussion_r55023774","pull_request_url":"https://api.github.com/repos/Swrve/swrve-android-sdk/pulls/130","_links":{"self":{"href":"https://api.github.com/repos/Swrve/swrve-android-sdk/pulls/comments/55023774"},"html":{"href":"https://github.com/Swrve/swrve-android-sdk/pull/130#discussion_r55023774"},"pull_request":{"href":"https://api.github.com/repos/Swrve/swrve-android-sdk/pulls/130"}}},"pull_request":{"url":"https://api.github.com/repos/Swrve/swrve-android-sdk/pulls/130","id":61704917,"html_url":"https://github.com/Swrve/swrve-android-sdk/pull/130","diff_url":"https://github.com/Swrve/swrve-android-sdk/pull/130.diff","patch_url":"https://github.com/Swrve/swrve-android-sdk/pull/130.patch","issue_url":"https://api.github.com/repos/Swrve/swrve-android-sdk/issues/130","number":130,"state":"open","locked":false,"title":"Release 4 3 modularised android","user":{"login":"seaders","id":955114,"avatar_url":"https://avatars.githubusercontent.com/u/955114?v=3","gravatar_id":"","url":"https://api.github.com/users/seaders","html_url":"https://github.com/seaders","followers_url":"https://api.github.com/users/seaders/followers","following_url":"https://api.github.com/users/seaders/following{/other_user}","gists_url":"https://api.github.com/users/seaders/gists{/gist_id}","starred_url":"https://api.github.com/users/seaders/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seaders/subscriptions","organizations_url":"https://api.github.com/users/seaders/orgs","repos_url":"https://api.github.com/users/seaders/repos","events_url":"https://api.github.com/users/seaders/events{/privacy}","received_events_url":"https://api.github.com/users/seaders/received_events","type":"User","site_admin":false},"body":"@dominicmarmionswrve / @Sergio-Mira ","created_at":"2016-03-04T12:20:28Z","updated_at":"2016-03-04T12:24:57Z","closed_at":null,"merged_at":null,"merge_commit_sha":"75e9d10cce377787bcae294f778b8dab654e1384","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Swrve/swrve-android-sdk/pulls/130/commits","review_comments_url":"https://api.github.com/repos/Swrve/swrve-android-sdk/pulls/130/comments","review_comment_url":"https://api.github.com/repos/Swrve/swrve-android-sdk/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Swrve/swrve-android-sdk/issues/130/comments","statuses_url":"https://api.github.com/repos/Swrve/swrve-android-sdk/statuses/ef9e1b12d1fb2fcf629cd0624ff333c107af1fbc","head":{"label":"Swrve:release-4_3-modularised-android","ref":"release-4_3-modularised-android","sha":"ef9e1b12d1fb2fcf629cd0624ff333c107af1fbc","user":{"login":"Swrve","id":445249,"avatar_url":"https://avatars.githubusercontent.com/u/445249?v=3","gravatar_id":"","url":"https://api.github.com/users/Swrve","html_url":"https://github.com/Swrve","followers_url":"https://api.github.com/users/Swrve/followers","following_url":"https://api.github.com/users/Swrve/following{/other_user}","gists_url":"https://api.github.com/users/Swrve/gists{/gist_id}","starred_url":"https://api.github.com/users/Swrve/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Swrve/subscriptions","organizations_url":"https://api.github.com/users/Swrve/orgs","repos_url":"https://api.github.com/users/Swrve/repos","events_url":"https://api.github.com/users/Swrve/events{/privacy}","received_events_url":"https://api.github.com/users/Swrve/received_events","type":"Organization","site_admin":false},"repo":{"id":23786714,"name":"swrve-android-sdk","full_name":"Swrve/swrve-android-sdk","owner":{"login":"Swrve","id":445249,"avatar_url":"https://avatars.githubusercontent.com/u/445249?v=3","gravatar_id":"","url":"https://api.github.com/users/Swrve","html_url":"https://github.com/Swrve","followers_url":"https://api.github.com/users/Swrve/followers","following_url":"https://api.github.com/users/Swrve/following{/other_user}","gists_url":"https://api.github.com/users/Swrve/gists{/gist_id}","starred_url":"https://api.github.com/users/Swrve/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Swrve/subscriptions","organizations_url":"https://api.github.com/users/Swrve/orgs","repos_url":"https://api.github.com/users/Swrve/repos","events_url":"https://api.github.com/users/Swrve/events{/privacy}","received_events_url":"https://api.github.com/users/Swrve/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Swrve/swrve-android-sdk","description":"Swrve Android SDK","fork":false,"url":"https://api.github.com/repos/Swrve/swrve-android-sdk","forks_url":"https://api.github.com/repos/Swrve/swrve-android-sdk/forks","keys_url":"https://api.github.com/repos/Swrve/swrve-android-sdk/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Swrve/swrve-android-sdk/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Swrve/swrve-android-sdk/teams","hooks_url":"https://api.github.com/repos/Swrve/swrve-android-sdk/hooks","issue_events_url":"https://api.github.com/repos/Swrve/swrve-android-sdk/issues/events{/number}","events_url":"https://api.github.com/repos/Swrve/swrve-android-sdk/events","assignees_url":"https://api.github.com/repos/Swrve/swrve-android-sdk/assignees{/user}","branches_url":"https://api.github.com/repos/Swrve/swrve-android-sdk/branches{/branch}","tags_url":"https://api.github.com/repos/Swrve/swrve-android-sdk/tags","blobs_url":"https://api.github.com/repos/Swrve/swrve-android-sdk/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Swrve/swrve-android-sdk/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Swrve/swrve-android-sdk/git/refs{/sha}","trees_url":"https://api.github.com/repos/Swrve/swrve-android-sdk/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Swrve/swrve-android-sdk/statuses/{sha}","languages_url":"https://api.github.com/repos/Swrve/swrve-android-sdk/languages","stargazers_url":"https://api.github.com/repos/Swrve/swrve-android-sdk/stargazers","contributors_url":"https://api.github.com/repos/Swrve/swrve-android-sdk/contributors","subscribers_url":"https://api.github.com/repos/Swrve/swrve-android-sdk/subscribers","subscription_url":"https://api.github.com/repos/Swrve/swrve-android-sdk/subscription","commits_url":"https://api.github.com/repos/Swrve/swrve-android-sdk/commits{/sha}","git_commits_url":"https://api.github.com/repos/Swrve/swrve-android-sdk/git/commits{/sha}","comments_url":"https://api.github.com/repos/Swrve/swrve-android-sdk/comments{/number}","issue_comment_url":"https://api.github.com/repos/Swrve/swrve-android-sdk/issues/comments{/number}","contents_url":"https://api.github.com/repos/Swrve/swrve-android-sdk/contents/{+path}","compare_url":"https://api.github.com/repos/Swrve/swrve-android-sdk/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Swrve/swrve-android-sdk/merges","archive_url":"https://api.github.com/repos/Swrve/swrve-android-sdk/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Swrve/swrve-android-sdk/downloads","issues_url":"https://api.github.com/repos/Swrve/swrve-android-sdk/issues{/number}","pulls_url":"https://api.github.com/repos/Swrve/swrve-android-sdk/pulls{/number}","milestones_url":"https://api.github.com/repos/Swrve/swrve-android-sdk/milestones{/number}","notifications_url":"https://api.github.com/repos/Swrve/swrve-android-sdk/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Swrve/swrve-android-sdk/labels{/name}","releases_url":"https://api.github.com/repos/Swrve/swrve-android-sdk/releases{/id}","deployments_url":"https://api.github.com/repos/Swrve/swrve-android-sdk/deployments","created_at":"2014-09-08T10:24:14Z","updated_at":"2015-06-01T23:19:19Z","pushed_at":"2016-03-04T12:20:29Z","git_url":"git://github.com/Swrve/swrve-android-sdk.git","ssh_url":"git@github.com:Swrve/swrve-android-sdk.git","clone_url":"https://github.com/Swrve/swrve-android-sdk.git","svn_url":"https://github.com/Swrve/swrve-android-sdk","homepage":"http://www.swrve.com","size":7312,"stargazers_count":2,"watchers_count":2,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":8,"forks":6,"open_issues":8,"watchers":2,"default_branch":"release-4_2"}},"base":{"label":"Swrve:release-4_3","ref":"release-4_3","sha":"d47d736009af7c394ce4de765d95f9433215cd11","user":{"login":"Swrve","id":445249,"avatar_url":"https://avatars.githubusercontent.com/u/445249?v=3","gravatar_id":"","url":"https://api.github.com/users/Swrve","html_url":"https://github.com/Swrve","followers_url":"https://api.github.com/users/Swrve/followers","following_url":"https://api.github.com/users/Swrve/following{/other_user}","gists_url":"https://api.github.com/users/Swrve/gists{/gist_id}","starred_url":"https://api.github.com/users/Swrve/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Swrve/subscriptions","organizations_url":"https://api.github.com/users/Swrve/orgs","repos_url":"https://api.github.com/users/Swrve/repos","events_url":"https://api.github.com/users/Swrve/events{/privacy}","received_events_url":"https://api.github.com/users/Swrve/received_events","type":"Organization","site_admin":false},"repo":{"id":23786714,"name":"swrve-android-sdk","full_name":"Swrve/swrve-android-sdk","owner":{"login":"Swrve","id":445249,"avatar_url":"https://avatars.githubusercontent.com/u/445249?v=3","gravatar_id":"","url":"https://api.github.com/users/Swrve","html_url":"https://github.com/Swrve","followers_url":"https://api.github.com/users/Swrve/followers","following_url":"https://api.github.com/users/Swrve/following{/other_user}","gists_url":"https://api.github.com/users/Swrve/gists{/gist_id}","starred_url":"https://api.github.com/users/Swrve/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Swrve/subscriptions","organizations_url":"https://api.github.com/users/Swrve/orgs","repos_url":"https://api.github.com/users/Swrve/repos","events_url":"https://api.github.com/users/Swrve/events{/privacy}","received_events_url":"https://api.github.com/users/Swrve/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Swrve/swrve-android-sdk","description":"Swrve Android SDK","fork":false,"url":"https://api.github.com/repos/Swrve/swrve-android-sdk","forks_url":"https://api.github.com/repos/Swrve/swrve-android-sdk/forks","keys_url":"https://api.github.com/repos/Swrve/swrve-android-sdk/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Swrve/swrve-android-sdk/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Swrve/swrve-android-sdk/teams","hooks_url":"https://api.github.com/repos/Swrve/swrve-android-sdk/hooks","issue_events_url":"https://api.github.com/repos/Swrve/swrve-android-sdk/issues/events{/number}","events_url":"https://api.github.com/repos/Swrve/swrve-android-sdk/events","assignees_url":"https://api.github.com/repos/Swrve/swrve-android-sdk/assignees{/user}","branches_url":"https://api.github.com/repos/Swrve/swrve-android-sdk/branches{/branch}","tags_url":"https://api.github.com/repos/Swrve/swrve-android-sdk/tags","blobs_url":"https://api.github.com/repos/Swrve/swrve-android-sdk/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Swrve/swrve-android-sdk/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Swrve/swrve-android-sdk/git/refs{/sha}","trees_url":"https://api.github.com/repos/Swrve/swrve-android-sdk/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Swrve/swrve-android-sdk/statuses/{sha}","languages_url":"https://api.github.com/repos/Swrve/swrve-android-sdk/languages","stargazers_url":"https://api.github.com/repos/Swrve/swrve-android-sdk/stargazers","contributors_url":"https://api.github.com/repos/Swrve/swrve-android-sdk/contributors","subscribers_url":"https://api.github.com/repos/Swrve/swrve-android-sdk/subscribers","subscription_url":"https://api.github.com/repos/Swrve/swrve-android-sdk/subscription","commits_url":"https://api.github.com/repos/Swrve/swrve-android-sdk/commits{/sha}","git_commits_url":"https://api.github.com/repos/Swrve/swrve-android-sdk/git/commits{/sha}","comments_url":"https://api.github.com/repos/Swrve/swrve-android-sdk/comments{/number}","issue_comment_url":"https://api.github.com/repos/Swrve/swrve-android-sdk/issues/comments{/number}","contents_url":"https://api.github.com/repos/Swrve/swrve-android-sdk/contents/{+path}","compare_url":"https://api.github.com/repos/Swrve/swrve-android-sdk/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Swrve/swrve-android-sdk/merges","archive_url":"https://api.github.com/repos/Swrve/swrve-android-sdk/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Swrve/swrve-android-sdk/downloads","issues_url":"https://api.github.com/repos/Swrve/swrve-android-sdk/issues{/number}","pulls_url":"https://api.github.com/repos/Swrve/swrve-android-sdk/pulls{/number}","milestones_url":"https://api.github.com/repos/Swrve/swrve-android-sdk/milestones{/number}","notifications_url":"https://api.github.com/repos/Swrve/swrve-android-sdk/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Swrve/swrve-android-sdk/labels{/name}","releases_url":"https://api.github.com/repos/Swrve/swrve-android-sdk/releases{/id}","deployments_url":"https://api.github.com/repos/Swrve/swrve-android-sdk/deployments","created_at":"2014-09-08T10:24:14Z","updated_at":"2015-06-01T23:19:19Z","pushed_at":"2016-03-04T12:20:29Z","git_url":"git://github.com/Swrve/swrve-android-sdk.git","ssh_url":"git@github.com:Swrve/swrve-android-sdk.git","clone_url":"https://github.com/Swrve/swrve-android-sdk.git","svn_url":"https://github.com/Swrve/swrve-android-sdk","homepage":"http://www.swrve.com","size":7312,"stargazers_count":2,"watchers_count":2,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":8,"forks":6,"open_issues":8,"watchers":2,"default_branch":"release-4_2"}},"_links":{"self":{"href":"https://api.github.com/repos/Swrve/swrve-android-sdk/pulls/130"},"html":{"href":"https://github.com/Swrve/swrve-android-sdk/pull/130"},"issue":{"href":"https://api.github.com/repos/Swrve/swrve-android-sdk/issues/130"},"comments":{"href":"https://api.github.com/repos/Swrve/swrve-android-sdk/issues/130/comments"},"review_comments":{"href":"https://api.github.com/repos/Swrve/swrve-android-sdk/pulls/130/comments"},"review_comment":{"href":"https://api.github.com/repos/Swrve/swrve-android-sdk/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Swrve/swrve-android-sdk/pulls/130/commits"},"statuses":{"href":"https://api.github.com/repos/Swrve/swrve-android-sdk/statuses/ef9e1b12d1fb2fcf629cd0624ff333c107af1fbc"}}}}