{"action":"created","issue":{"url":"https://api.github.com/repos/crazycodeboy/react-native-splash-screen/issues/166","repository_url":"https://api.github.com/repos/crazycodeboy/react-native-splash-screen","labels_url":"https://api.github.com/repos/crazycodeboy/react-native-splash-screen/issues/166/labels{/name}","comments_url":"https://api.github.com/repos/crazycodeboy/react-native-splash-screen/issues/166/comments","events_url":"https://api.github.com/repos/crazycodeboy/react-native-splash-screen/issues/166/events","html_url":"https://github.com/crazycodeboy/react-native-splash-screen/issues/166","id":292254526,"number":166,"title":"TypeError: Cannot read property 'hide' of undefined","user":{"login":"rowinbot","id":18468260,"avatar_url":"https://avatars3.githubusercontent.com/u/18468260?v=4","gravatar_id":"","url":"https://api.github.com/users/rowinbot","html_url":"https://github.com/rowinbot","followers_url":"https://api.github.com/users/rowinbot/followers","following_url":"https://api.github.com/users/rowinbot/following{/other_user}","gists_url":"https://api.github.com/users/rowinbot/gists{/gist_id}","starred_url":"https://api.github.com/users/rowinbot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rowinbot/subscriptions","organizations_url":"https://api.github.com/users/rowinbot/orgs","repos_url":"https://api.github.com/users/rowinbot/repos","events_url":"https://api.github.com/users/rowinbot/events{/privacy}","received_events_url":"https://api.github.com/users/rowinbot/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-01-29T00:27:50Z","updated_at":"2018-02-23T05:59:32Z","closed_at":"2018-02-08T21:47:16Z","author_association":"NONE","body":"```\r\n FAIL  src/App.test.js\r\n  ✕ renders correctly (86ms)\r\n\r\n  ● renders correctly\r\n\r\n    TypeError: Cannot read property 'hide' of undefined\r\n\r\n      45 |     // do stuff while splash screen is shown\r\n      46 |     // After having done stuff (such as async tasks) hide the splash screen\r\n    > 47 |     SplashScreen.hide()\r\n      48 |   }\r\n      49 |\r\n      50 |   render() {\r\n\r\n      at App.componentDidMount (src/App.js:47:34)\r\n      at commitLifeCycles (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:5461:24)\r\n      at commitAllLifeCycles (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:6250:9)\r\n      at Object.invokeGuardedCallback$1 (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:2159:10)\r\n      at invokeGuardedCallback (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:2106:29)\r\n      at commitAllWork (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:6371:9)\r\n      at workLoop (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:6643:13)\r\n      at Object.invokeGuardedCallback$1 (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:2159:10)\r\n      at invokeGuardedCallback (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:2106:29)\r\n      at performWork (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:6756:7)\r\n\r\n  console.error node_modules/react-test-renderer/cjs/react-test-renderer.development.js:2053\r\n    The above error occurred in the <App> component:\r\n        in App\r\n\r\n    Consider adding an error boundary to your tree to customize error handling behavior.\r\n    You can learn more about error boundaries at https://fb.me/react-error-boundaries.\r\n\r\n  console.warn node_modules/react-native/jest/setup.js:99\r\n    Calling .blur() in the test renderer environment is not supported. Instead, mock out your components that use findNodeHandle with replacements that don't rely on the native environment.\r\n```"},"comment":{"url":"https://api.github.com/repos/crazycodeboy/react-native-splash-screen/issues/comments/367918161","html_url":"https://github.com/crazycodeboy/react-native-splash-screen/issues/166#issuecomment-367918161","issue_url":"https://api.github.com/repos/crazycodeboy/react-native-splash-screen/issues/166","id":367918161,"user":{"login":"gasipari","id":32158,"avatar_url":"https://avatars0.githubusercontent.com/u/32158?v=4","gravatar_id":"","url":"https://api.github.com/users/gasipari","html_url":"https://github.com/gasipari","followers_url":"https://api.github.com/users/gasipari/followers","following_url":"https://api.github.com/users/gasipari/following{/other_user}","gists_url":"https://api.github.com/users/gasipari/gists{/gist_id}","starred_url":"https://api.github.com/users/gasipari/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gasipari/subscriptions","organizations_url":"https://api.github.com/users/gasipari/orgs","repos_url":"https://api.github.com/users/gasipari/repos","events_url":"https://api.github.com/users/gasipari/events{/privacy}","received_events_url":"https://api.github.com/users/gasipari/received_events","type":"User","site_admin":false},"created_at":"2018-02-23T05:59:32Z","updated_at":"2018-02-23T05:59:32Z","author_association":"NONE","body":"I am having the same error in a non test environment. Any idea how to fix? Thanks"}}
{"actor":{"display_login":"gasipari"}}