{"action":"created","issue":{"url":"https://api.github.com/repos/leancloud/js-realtime-sdk/issues/214","repository_url":"https://api.github.com/repos/leancloud/js-realtime-sdk","labels_url":"https://api.github.com/repos/leancloud/js-realtime-sdk/issues/214/labels{/name}","comments_url":"https://api.github.com/repos/leancloud/js-realtime-sdk/issues/214/comments","events_url":"https://api.github.com/repos/leancloud/js-realtime-sdk/issues/214/events","html_url":"https://github.com/leancloud/js-realtime-sdk/issues/214","id":153406092,"number":214,"title":"react native 报跨域错误","user":{"login":"musicode","id":2732303,"avatar_url":"https://avatars.githubusercontent.com/u/2732303?v=3","gravatar_id":"","url":"https://api.github.com/users/musicode","html_url":"https://github.com/musicode","followers_url":"https://api.github.com/users/musicode/followers","following_url":"https://api.github.com/users/musicode/following{/other_user}","gists_url":"https://api.github.com/users/musicode/gists{/gist_id}","starred_url":"https://api.github.com/users/musicode/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/musicode/subscriptions","organizations_url":"https://api.github.com/users/musicode/orgs","repos_url":"https://api.github.com/users/musicode/repos","events_url":"https://api.github.com/users/musicode/events{/privacy}","received_events_url":"https://api.github.com/users/musicode/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2016-05-06T08:45:55Z","updated_at":"2016-05-06T11:38:44Z","closed_at":null,"body":"\r\n![image](https://cloud.githubusercontent.com/assets/2732303/15068426/cd99c614-13a9-11e6-8973-f808e5a66f4d.png)\r\n\r\n\r\n* \"avoscloud-sdk\": \"^1.0.0-rc7\",\r\n* \"leancloud-installation\": \"^1.0.0\",\r\n* \"leancloud-realtime\": \"^3.0.0-beta.1\",\r\n* \"leancloud-realtime-typed-messages\": \"^1.0.0-beta.1\",\r\n\r\n在 react native 25 中会报如上错误，本地开发，初始化代码如下：\r\n\r\n```javascript\r\nrealtime = new Realtime({\r\n    appId,\r\n    region: 'cn',\r\n    noBinary: true,\r\n    //pushOfflineMessages: true,\r\n})\r\n```"},"comment":{"url":"https://api.github.com/repos/leancloud/js-realtime-sdk/issues/comments/217418068","html_url":"https://github.com/leancloud/js-realtime-sdk/issues/214#issuecomment-217418068","issue_url":"https://api.github.com/repos/leancloud/js-realtime-sdk/issues/214","id":217418068,"user":{"login":"leeyeh","id":175227,"avatar_url":"https://avatars.githubusercontent.com/u/175227?v=3","gravatar_id":"","url":"https://api.github.com/users/leeyeh","html_url":"https://github.com/leeyeh","followers_url":"https://api.github.com/users/leeyeh/followers","following_url":"https://api.github.com/users/leeyeh/following{/other_user}","gists_url":"https://api.github.com/users/leeyeh/gists{/gist_id}","starred_url":"https://api.github.com/users/leeyeh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leeyeh/subscriptions","organizations_url":"https://api.github.com/users/leeyeh/orgs","repos_url":"https://api.github.com/users/leeyeh/repos","events_url":"https://api.github.com/users/leeyeh/events{/privacy}","received_events_url":"https://api.github.com/users/leeyeh/received_events","type":"User","site_admin":false},"created_at":"2016-05-06T11:38:44Z","updated_at":"2016-05-06T11:38:44Z","body":"需要提醒一下，2.x 与 3.x 的差异比较大。"}}