{"action":"closed","issue":{"url":"https://api.github.com/repos/react-navigation/react-navigation/issues/3497","repository_url":"https://api.github.com/repos/react-navigation/react-navigation","labels_url":"https://api.github.com/repos/react-navigation/react-navigation/issues/3497/labels{/name}","comments_url":"https://api.github.com/repos/react-navigation/react-navigation/issues/3497/comments","events_url":"https://api.github.com/repos/react-navigation/react-navigation/issues/3497/events","html_url":"https://github.com/react-navigation/react-navigation/issues/3497","id":296221849,"number":3497,"title":"Hide React Navigation only for Android Platform","user":{"login":"saman-ghm","id":4175208,"avatar_url":"https://avatars2.githubusercontent.com/u/4175208?v=4","gravatar_id":"","url":"https://api.github.com/users/saman-ghm","html_url":"https://github.com/saman-ghm","followers_url":"https://api.github.com/users/saman-ghm/followers","following_url":"https://api.github.com/users/saman-ghm/following{/other_user}","gists_url":"https://api.github.com/users/saman-ghm/gists{/gist_id}","starred_url":"https://api.github.com/users/saman-ghm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/saman-ghm/subscriptions","organizations_url":"https://api.github.com/users/saman-ghm/orgs","repos_url":"https://api.github.com/users/saman-ghm/repos","events_url":"https://api.github.com/users/saman-ghm/events{/privacy}","received_events_url":"https://api.github.com/users/saman-ghm/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-02-11T20:22:25Z","updated_at":"2018-02-12T14:01:44Z","closed_at":"2018-02-12T14:01:44Z","author_association":"NONE","body":"In order to hide React Navigation I'm using the code below:\r\n\r\n```\r\nstatic navigationOptions = {\r\n    header: null\r\n };\r\n```\r\nFortunately it's working fine, but the problem appears when I want to differentiate between android and iOS based on their different UX, I want to hide the Navigation bar only in android platform:\r\n\r\n```\r\nstatic navigationOptions = {\r\n    header: Platform.OS === 'android' ? null: /* don't know what to write here :( */,\r\n };\r\n```\r\nThe piece I've commented above is executed for iOS. Any idea?"}}
{"actor":{"display_login":"satya164"}}