{"action":"created","issue":{"url":"https://api.github.com/repos/microsoft/react-native-code-push/issues/1617","repository_url":"https://api.github.com/repos/microsoft/react-native-code-push","labels_url":"https://api.github.com/repos/microsoft/react-native-code-push/issues/1617/labels{/name}","comments_url":"https://api.github.com/repos/microsoft/react-native-code-push/issues/1617/comments","events_url":"https://api.github.com/repos/microsoft/react-native-code-push/issues/1617/events","html_url":"https://github.com/microsoft/react-native-code-push/issues/1617","id":459118271,"node_id":"MDU6SXNzdWU0NTkxMTgyNzE=","number":1617,"title":"When I call checkForUpdate method,report a error","user":{"login":"826327700","id":23014381,"node_id":"MDQ6VXNlcjIzMDE0Mzgx","avatar_url":"https://avatars3.githubusercontent.com/u/23014381?v=4","gravatar_id":"","url":"https://api.github.com/users/826327700","html_url":"https://github.com/826327700","followers_url":"https://api.github.com/users/826327700/followers","following_url":"https://api.github.com/users/826327700/following{/other_user}","gists_url":"https://api.github.com/users/826327700/gists{/gist_id}","starred_url":"https://api.github.com/users/826327700/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/826327700/subscriptions","organizations_url":"https://api.github.com/users/826327700/orgs","repos_url":"https://api.github.com/users/826327700/repos","events_url":"https://api.github.com/users/826327700/events{/privacy}","received_events_url":"https://api.github.com/users/826327700/received_events","type":"User","site_admin":false},"labels":[{"id":554402181,"node_id":"MDU6TGFiZWw1NTQ0MDIxODE=","url":"https://api.github.com/repos/microsoft/react-native-code-push/labels/waiting-for-clarification","name":"waiting-for-clarification","color":"fef2c0","default":false}],"state":"open","locked":false,"assignee":{"login":"yuri-kulikov","id":42337914,"node_id":"MDQ6VXNlcjQyMzM3OTE0","avatar_url":"https://avatars3.githubusercontent.com/u/42337914?v=4","gravatar_id":"","url":"https://api.github.com/users/yuri-kulikov","html_url":"https://github.com/yuri-kulikov","followers_url":"https://api.github.com/users/yuri-kulikov/followers","following_url":"https://api.github.com/users/yuri-kulikov/following{/other_user}","gists_url":"https://api.github.com/users/yuri-kulikov/gists{/gist_id}","starred_url":"https://api.github.com/users/yuri-kulikov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yuri-kulikov/subscriptions","organizations_url":"https://api.github.com/users/yuri-kulikov/orgs","repos_url":"https://api.github.com/users/yuri-kulikov/repos","events_url":"https://api.github.com/users/yuri-kulikov/events{/privacy}","received_events_url":"https://api.github.com/users/yuri-kulikov/received_events","type":"User","site_admin":false},"assignees":[{"login":"yuri-kulikov","id":42337914,"node_id":"MDQ6VXNlcjQyMzM3OTE0","avatar_url":"https://avatars3.githubusercontent.com/u/42337914?v=4","gravatar_id":"","url":"https://api.github.com/users/yuri-kulikov","html_url":"https://github.com/yuri-kulikov","followers_url":"https://api.github.com/users/yuri-kulikov/followers","following_url":"https://api.github.com/users/yuri-kulikov/following{/other_user}","gists_url":"https://api.github.com/users/yuri-kulikov/gists{/gist_id}","starred_url":"https://api.github.com/users/yuri-kulikov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yuri-kulikov/subscriptions","organizations_url":"https://api.github.com/users/yuri-kulikov/orgs","repos_url":"https://api.github.com/users/yuri-kulikov/repos","events_url":"https://api.github.com/users/yuri-kulikov/events{/privacy}","received_events_url":"https://api.github.com/users/yuri-kulikov/received_events","type":"User","site_admin":false}],"milestone":null,"comments":7,"created_at":"2019-06-21T10:01:20Z","updated_at":"2019-07-18T03:08:21Z","closed_at":null,"author_association":"NONE","body":"When I call checkForUpdate method:\r\nCodePush.checkForUpdate('my deployment key').then((update) => {\r\n            if (!update) {\r\n                Alert.alert(\"Tips\",\"no update\")\r\n            } else {\r\n                Alert.alert(\"Tips\",\"has update\")\r\n            }\r\n        }).catch((err)=>{\r\n            Alert.alert(\"Tips\",JSON.stringify(err))\r\n  });\r\n\r\nsome errors from the catch of promise will be returned:\r\n**{\"line\":1135,\"column\":565,\"sourceURL\":\"/var/containers/Bundle/Application/F11A86E9-F95F-414D-BEDB-687793DBC64B/cztecmerchant.app/main.jsbundle\"}**"},"comment":{"url":"https://api.github.com/repos/microsoft/react-native-code-push/issues/comments/512647189","html_url":"https://github.com/microsoft/react-native-code-push/issues/1617#issuecomment-512647189","issue_url":"https://api.github.com/repos/microsoft/react-native-code-push/issues/1617","id":512647189,"node_id":"MDEyOklzc3VlQ29tbWVudDUxMjY0NzE4OQ==","user":{"login":"826327700","id":23014381,"node_id":"MDQ6VXNlcjIzMDE0Mzgx","avatar_url":"https://avatars3.githubusercontent.com/u/23014381?v=4","gravatar_id":"","url":"https://api.github.com/users/826327700","html_url":"https://github.com/826327700","followers_url":"https://api.github.com/users/826327700/followers","following_url":"https://api.github.com/users/826327700/following{/other_user}","gists_url":"https://api.github.com/users/826327700/gists{/gist_id}","starred_url":"https://api.github.com/users/826327700/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/826327700/subscriptions","organizations_url":"https://api.github.com/users/826327700/orgs","repos_url":"https://api.github.com/users/826327700/repos","events_url":"https://api.github.com/users/826327700/events{/privacy}","received_events_url":"https://api.github.com/users/826327700/received_events","type":"User","site_admin":false},"created_at":"2019-07-18T03:08:21Z","updated_at":"2019-07-18T03:08:21Z","author_association":"NONE","body":"fetch is undefined"}}
{"actor":{"display_login":"826327700"}}