{"action":"created","issue":{"url":"https://api.github.com/repos/socketio/socket.io-client/issues/1254","repository_url":"https://api.github.com/repos/socketio/socket.io-client","labels_url":"https://api.github.com/repos/socketio/socket.io-client/issues/1254/labels{/name}","comments_url":"https://api.github.com/repos/socketio/socket.io-client/issues/1254/comments","events_url":"https://api.github.com/repos/socketio/socket.io-client/issues/1254/events","html_url":"https://github.com/socketio/socket.io-client/issues/1254","id":393392814,"node_id":"MDU6SXNzdWUzOTMzOTI4MTQ=","number":1254,"title":"versionn 2.2 does not work with react native","user":{"login":"ganmor","id":365810,"node_id":"MDQ6VXNlcjM2NTgxMA==","avatar_url":"https://avatars0.githubusercontent.com/u/365810?v=4","gravatar_id":"","url":"https://api.github.com/users/ganmor","html_url":"https://github.com/ganmor","followers_url":"https://api.github.com/users/ganmor/followers","following_url":"https://api.github.com/users/ganmor/following{/other_user}","gists_url":"https://api.github.com/users/ganmor/gists{/gist_id}","starred_url":"https://api.github.com/users/ganmor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ganmor/subscriptions","organizations_url":"https://api.github.com/users/ganmor/orgs","repos_url":"https://api.github.com/users/ganmor/repos","events_url":"https://api.github.com/users/ganmor/events{/privacy}","received_events_url":"https://api.github.com/users/ganmor/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-12-21T09:51:28Z","updated_at":"2018-12-31T07:55:16Z","closed_at":null,"author_association":"NONE","body":"Reverting to 2.1.1 fixes the problem.\r\n\r\nI suspect it has something to do with the new cors management changes.\r\nManually Setting origins does not seem to do anything.\r\n\r\nIt magically start working when launching the react native debugger.\r\n\r\n## Config\r\n\r\n```\r\nreconnection: true,\r\nreconnectionDelay: 500,\r\njsonp: false,\r\nreconnectionAttempts: Infinity,\r\ntransports: ['websocket']\r\n```\r\n\r\n### Setup\r\n\r\n- OS: iOS\r\n- browser: react-native \r\n- socket.io version: 2.2.0\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/socketio/socket.io-client/issues/comments/450617512","html_url":"https://github.com/socketio/socket.io-client/issues/1254#issuecomment-450617512","issue_url":"https://api.github.com/repos/socketio/socket.io-client/issues/1254","id":450617512,"node_id":"MDEyOklzc3VlQ29tbWVudDQ1MDYxNzUxMg==","user":{"login":"saeho","id":9645145,"node_id":"MDQ6VXNlcjk2NDUxNDU=","avatar_url":"https://avatars3.githubusercontent.com/u/9645145?v=4","gravatar_id":"","url":"https://api.github.com/users/saeho","html_url":"https://github.com/saeho","followers_url":"https://api.github.com/users/saeho/followers","following_url":"https://api.github.com/users/saeho/following{/other_user}","gists_url":"https://api.github.com/users/saeho/gists{/gist_id}","starred_url":"https://api.github.com/users/saeho/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/saeho/subscriptions","organizations_url":"https://api.github.com/users/saeho/orgs","repos_url":"https://api.github.com/users/saeho/repos","events_url":"https://api.github.com/users/saeho/events{/privacy}","received_events_url":"https://api.github.com/users/saeho/received_events","type":"User","site_admin":false},"created_at":"2018-12-31T07:55:16Z","updated_at":"2018-12-31T07:55:16Z","author_association":"NONE","body":"I am also facing this issue. I upgraded to see if it fixes my first connect latency issue."}}
{"actor":{"display_login":"saeho"}}