{"action":"created","issue":{"url":"https://api.github.com/repos/expo/expo/issues/1949","repository_url":"https://api.github.com/repos/expo/expo","labels_url":"https://api.github.com/repos/expo/expo/issues/1949/labels{/name}","comments_url":"https://api.github.com/repos/expo/expo/issues/1949/comments","events_url":"https://api.github.com/repos/expo/expo/issues/1949/events","html_url":"https://github.com/expo/expo/issues/1949","id":338173442,"node_id":"MDU6SXNzdWUzMzgxNzM0NDI=","number":1949,"title":"[Android] WebBrowser crashes the app pretty hard when URL is malformed","user":{"login":"phorque","id":99209,"node_id":"MDQ6VXNlcjk5MjA5","avatar_url":"https://avatars2.githubusercontent.com/u/99209?v=4","gravatar_id":"","url":"https://api.github.com/users/phorque","html_url":"https://github.com/phorque","followers_url":"https://api.github.com/users/phorque/followers","following_url":"https://api.github.com/users/phorque/following{/other_user}","gists_url":"https://api.github.com/users/phorque/gists{/gist_id}","starred_url":"https://api.github.com/users/phorque/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phorque/subscriptions","organizations_url":"https://api.github.com/users/phorque/orgs","repos_url":"https://api.github.com/users/phorque/repos","events_url":"https://api.github.com/users/phorque/events{/privacy}","received_events_url":"https://api.github.com/users/phorque/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},{"id":598255371,"node_id":"MDU6TGFiZWw1OTgyNTUzNzE=","url":"https://api.github.com/repos/expo/expo/labels/project:%20sdk","name":"project: sdk","color":"d4c5f9","default":false}],"state":"open","locked":false,"assignee":{"login":"esamelson","id":19958240,"node_id":"MDQ6VXNlcjE5OTU4MjQw","avatar_url":"https://avatars1.githubusercontent.com/u/19958240?v=4","gravatar_id":"","url":"https://api.github.com/users/esamelson","html_url":"https://github.com/esamelson","followers_url":"https://api.github.com/users/esamelson/followers","following_url":"https://api.github.com/users/esamelson/following{/other_user}","gists_url":"https://api.github.com/users/esamelson/gists{/gist_id}","starred_url":"https://api.github.com/users/esamelson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/esamelson/subscriptions","organizations_url":"https://api.github.com/users/esamelson/orgs","repos_url":"https://api.github.com/users/esamelson/repos","events_url":"https://api.github.com/users/esamelson/events{/privacy}","received_events_url":"https://api.github.com/users/esamelson/received_events","type":"User","site_admin":false},"assignees":[{"login":"esamelson","id":19958240,"node_id":"MDQ6VXNlcjE5OTU4MjQw","avatar_url":"https://avatars1.githubusercontent.com/u/19958240?v=4","gravatar_id":"","url":"https://api.github.com/users/esamelson","html_url":"https://github.com/esamelson","followers_url":"https://api.github.com/users/esamelson/followers","following_url":"https://api.github.com/users/esamelson/following{/other_user}","gists_url":"https://api.github.com/users/esamelson/gists{/gist_id}","starred_url":"https://api.github.com/users/esamelson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/esamelson/subscriptions","organizations_url":"https://api.github.com/users/esamelson/orgs","repos_url":"https://api.github.com/users/esamelson/repos","events_url":"https://api.github.com/users/esamelson/events{/privacy}","received_events_url":"https://api.github.com/users/esamelson/received_events","type":"User","site_admin":false}],"milestone":null,"comments":2,"created_at":"2018-07-04T08:13:11Z","updated_at":"2018-07-18T19:42:36Z","closed_at":null,"author_association":"NONE","body":"### Environment\r\n\r\nEnvironment:\r\n  OS: Linux 4.15\r\n  Node: 8.11.3\r\n  Yarn: 1.7.0\r\n  npm: 5.6.0\r\n  Watchman: Not Found\r\n  Xcode: N/A\r\n  Android Studio: Not Found\r\n\r\nPackages: (wanted => installed)\r\n  expo: ^28.0.0 => 28.0.0\r\n  react: 16.3.1 => 16.3.1\r\n  react-native: https://github.com/expo/react-native/archive/sdk-28.0.1.tar.gz => 0.55.4\r\n\r\nDiagnostics report:\r\n  https://exp-xde-diagnostics.s3.amazonaws.com/phorque-29b6fb54-9cef-4066-b0eb-3bcd57ccf12c.tar.gz\r\n\r\n### Steps to Reproduce\r\n\r\n` WebBrowser.openBrowserAsync(\"www.google.com\");` (not the missing 'http://')\r\n\r\n### Expected Behavior\r\n\r\nI would except the method to throw an exception or accept the URL and add the protocol by itself.\r\n\r\n### Actual Behavior\r\n\r\nExpo crashes badly with no stacktrace, a `try {} catch {}` block doesn't help.\r\n\r\n### Reproducible Demo\r\n\r\nhttps://snack.expo.io/@phorque/crash-with-webbrowser\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/expo/expo/issues/comments/406050720","html_url":"https://github.com/expo/expo/issues/1949#issuecomment-406050720","issue_url":"https://api.github.com/repos/expo/expo/issues/1949","id":406050720,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNjA1MDcyMA==","user":{"login":"brunoreis","id":217240,"node_id":"MDQ6VXNlcjIxNzI0MA==","avatar_url":"https://avatars3.githubusercontent.com/u/217240?v=4","gravatar_id":"","url":"https://api.github.com/users/brunoreis","html_url":"https://github.com/brunoreis","followers_url":"https://api.github.com/users/brunoreis/followers","following_url":"https://api.github.com/users/brunoreis/following{/other_user}","gists_url":"https://api.github.com/users/brunoreis/gists{/gist_id}","starred_url":"https://api.github.com/users/brunoreis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brunoreis/subscriptions","organizations_url":"https://api.github.com/users/brunoreis/orgs","repos_url":"https://api.github.com/users/brunoreis/repos","events_url":"https://api.github.com/users/brunoreis/events{/privacy}","received_events_url":"https://api.github.com/users/brunoreis/received_events","type":"User","site_admin":false},"created_at":"2018-07-18T19:42:36Z","updated_at":"2018-07-18T19:42:36Z","author_association":"NONE","body":"It's crashing for me when I use Http (with an upper cased h) instead of http"}}
{"actor":{"display_login":"brunoreis"}}