{"action":"created","issue":{"url":"https://api.github.com/repos/expo/expo/issues/2209","repository_url":"https://api.github.com/repos/expo/expo","labels_url":"https://api.github.com/repos/expo/expo/issues/2209/labels{/name}","comments_url":"https://api.github.com/repos/expo/expo/issues/2209/comments","events_url":"https://api.github.com/repos/expo/expo/issues/2209/events","html_url":"https://github.com/expo/expo/issues/2209","id":360597857,"node_id":"MDU6SXNzdWUzNjA1OTc4NTc=","number":2209,"title":"Android stuck on Splash screen after reloading ","user":{"login":"hoekma","id":25128410,"node_id":"MDQ6VXNlcjI1MTI4NDEw","avatar_url":"https://avatars2.githubusercontent.com/u/25128410?v=4","gravatar_id":"","url":"https://api.github.com/users/hoekma","html_url":"https://github.com/hoekma","followers_url":"https://api.github.com/users/hoekma/followers","following_url":"https://api.github.com/users/hoekma/following{/other_user}","gists_url":"https://api.github.com/users/hoekma/gists{/gist_id}","starred_url":"https://api.github.com/users/hoekma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hoekma/subscriptions","organizations_url":"https://api.github.com/users/hoekma/orgs","repos_url":"https://api.github.com/users/hoekma/repos","events_url":"https://api.github.com/users/hoekma/events{/privacy}","received_events_url":"https://api.github.com/users/hoekma/received_events","type":"User","site_admin":false},"labels":[{"id":598253983,"node_id":"MDU6TGFiZWw1OTgyNTM5ODM=","url":"https://api.github.com/repos/expo/expo/labels/project:%20android-runtime","name":"project: android-runtime","color":"fbca04","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-09-16T03:31:30Z","updated_at":"2018-11-07T16:15:21Z","closed_at":null,"author_association":"NONE","body":"I recently upgraded my environment to SDK v29 and then v30.  After I did that my app started having some problems reloading while I was doing development where it would freeze on the splash screen.  I'm developing on a MacBook using XDE.  \r\n\r\nThe screen that rendered was actually active. When I pressed where the buttons were supposed to be, the app would respond to my presses based on seeing console output that I would expect when the buttons were pressed. I traced the problem back to some of my components returning <Expo.AppLoading /> while the components were waiting for a state that allowed the screen to actually render the UI components (waiting for API calls to return data).   \r\n\r\nReplacing the <Expo.AppLoading> with `<View><Text>Loading...</Text></View> `made the problem go away.  Here is the strange behavior from my Android device.  I didn't test on iOS:\r\n\r\n1. Run the app -- it loaded and rendered fine\r\n2. Navigate to a page whose render() returned <Expo.AppLoading>\r\n3. Pull down from the top of the screen to show the Expo menu and reload the app\r\n4. The  app reloads, but only shows the splash screen.  The buttons were active on the screen where I expected had the UI to have rendered.  I could see the console output from the reload in the XDE interface.\r\n5. Pull down from the top of the screen to show the expo menu and reload the app\r\n6. Phone continues to show the splash screen\r\n7. This time the app does NOT reload.   There is no console output in XDE and the invisible buttons were no longer active.\r\n8. Now Expo seems frozen to any further reloads.\r\n9. Terminate the process of my project on my phone and relaunch my project from Expo. \r\n10. Same behavior as steps 6 - 9 \r\n11. Terminate processes for BOTH the Expo and my own project on the phone\r\n12 Now it runs fine as step 1 and renders the app until I load the screen that renders the <Expo.AppLoading> \r\n\r\nI've removed all of the <Expo.AppLoading> from my app and am back in business.  This behavior is new since I upgraded the SDK.  I think it was probably never the right thing to return <Expo.AppLoading> in my screens.   It probably still shouldn't cause the behavior I was experiencing.\r\n\r\n \r\n"},"comment":{"url":"https://api.github.com/repos/expo/expo/issues/comments/436680160","html_url":"https://github.com/expo/expo/issues/2209#issuecomment-436680160","issue_url":"https://api.github.com/repos/expo/expo/issues/2209","id":436680160,"node_id":"MDEyOklzc3VlQ29tbWVudDQzNjY4MDE2MA==","user":{"login":"docaustyne","id":5130885,"node_id":"MDQ6VXNlcjUxMzA4ODU=","avatar_url":"https://avatars0.githubusercontent.com/u/5130885?v=4","gravatar_id":"","url":"https://api.github.com/users/docaustyne","html_url":"https://github.com/docaustyne","followers_url":"https://api.github.com/users/docaustyne/followers","following_url":"https://api.github.com/users/docaustyne/following{/other_user}","gists_url":"https://api.github.com/users/docaustyne/gists{/gist_id}","starred_url":"https://api.github.com/users/docaustyne/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/docaustyne/subscriptions","organizations_url":"https://api.github.com/users/docaustyne/orgs","repos_url":"https://api.github.com/users/docaustyne/repos","events_url":"https://api.github.com/users/docaustyne/events{/privacy}","received_events_url":"https://api.github.com/users/docaustyne/received_events","type":"User","site_admin":false},"created_at":"2018-11-07T16:15:21Z","updated_at":"2018-11-07T16:15:21Z","author_association":"NONE","body":"how did you fix this issue? we are having same issue, IOS workes great, but Android freezes at welcome screen. What can we do please?"}}
{"actor":{"display_login":"docaustyne"}}