{"action":"created","issue":{"url":"https://api.github.com/repos/mixpanel/mixpanel-js/issues/24","labels_url":"https://api.github.com/repos/mixpanel/mixpanel-js/issues/24/labels{/name}","comments_url":"https://api.github.com/repos/mixpanel/mixpanel-js/issues/24/comments","events_url":"https://api.github.com/repos/mixpanel/mixpanel-js/issues/24/events","html_url":"https://github.com/mixpanel/mixpanel-js/issues/24","id":60522734,"number":24,"title":"Cordova Support","user":{"login":"sandorfr","id":2660262,"avatar_url":"https://avatars.githubusercontent.com/u/2660262?v=3","gravatar_id":"","url":"https://api.github.com/users/sandorfr","html_url":"https://github.com/sandorfr","followers_url":"https://api.github.com/users/sandorfr/followers","following_url":"https://api.github.com/users/sandorfr/following{/other_user}","gists_url":"https://api.github.com/users/sandorfr/gists{/gist_id}","starred_url":"https://api.github.com/users/sandorfr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sandorfr/subscriptions","organizations_url":"https://api.github.com/users/sandorfr/orgs","repos_url":"https://api.github.com/users/sandorfr/repos","events_url":"https://api.github.com/users/sandorfr/events{/privacy}","received_events_url":"https://api.github.com/users/sandorfr/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-03-10T15:58:10Z","updated_at":"2015-03-11T21:43:02Z","closed_at":null,"body":"Do you have plans regarding cordova support?\r\n\r\nThere are two main concerns when it comes to cordova support using mixpanel-js:\r\n1. The current implementation is cookie based\r\n2. Offline support\r\n\r\nThere is a simple [workaround](https://github.com/sandorfr/mixpanel-js/compare/master...sandorfr:cordova) for the first one which consists of replacing the current cookie implementation by a localstorage based implementation. Currently this is dirty but I can work on a pull request if you are interested. \r\n\r\nI don't have worked yet on the second issue but I think we can build a local storage solution too. I think this would be awesome for cordova but this would help people who build websites with offline support too."},"comment":{"url":"https://api.github.com/repos/mixpanel/mixpanel-js/issues/comments/78378824","html_url":"https://github.com/mixpanel/mixpanel-js/issues/24#issuecomment-78378824","issue_url":"https://api.github.com/repos/mixpanel/mixpanel-js/issues/24","id":78378824,"user":{"login":"sandorfr","id":2660262,"avatar_url":"https://avatars.githubusercontent.com/u/2660262?v=3","gravatar_id":"","url":"https://api.github.com/users/sandorfr","html_url":"https://github.com/sandorfr","followers_url":"https://api.github.com/users/sandorfr/followers","following_url":"https://api.github.com/users/sandorfr/following{/other_user}","gists_url":"https://api.github.com/users/sandorfr/gists{/gist_id}","starred_url":"https://api.github.com/users/sandorfr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sandorfr/subscriptions","organizations_url":"https://api.github.com/users/sandorfr/orgs","repos_url":"https://api.github.com/users/sandorfr/repos","events_url":"https://api.github.com/users/sandorfr/events{/privacy}","received_events_url":"https://api.github.com/users/sandorfr/received_events","type":"User","site_admin":false},"created_at":"2015-03-11T21:43:02Z","updated_at":"2015-03-11T21:43:02Z","body":"Hi, yes there is one thing. I'm struggling running tests do you have any guidance on that?\r\nMy issue seems to be related with cookie_included getJson calls (which are failing with a 404)."}}