{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/react-native/issues/3716","labels_url":"https://api.github.com/repos/facebook/react-native/issues/3716/labels{/name}","comments_url":"https://api.github.com/repos/facebook/react-native/issues/3716/comments","events_url":"https://api.github.com/repos/facebook/react-native/issues/3716/events","html_url":"https://github.com/facebook/react-native/issues/3716","id":113586720,"number":3716,"title":"Android: ToolbarAndroid: Error while updating property logo ","user":{"login":"stevelacy","id":5648999,"avatar_url":"https://avatars.githubusercontent.com/u/5648999?v=3","gravatar_id":"","url":"https://api.github.com/users/stevelacy","html_url":"https://github.com/stevelacy","followers_url":"https://api.github.com/users/stevelacy/followers","following_url":"https://api.github.com/users/stevelacy/following{/other_user}","gists_url":"https://api.github.com/users/stevelacy/gists{/gist_id}","starred_url":"https://api.github.com/users/stevelacy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stevelacy/subscriptions","organizations_url":"https://api.github.com/users/stevelacy/orgs","repos_url":"https://api.github.com/users/stevelacy/repos","events_url":"https://api.github.com/users/stevelacy/events{/privacy}","received_events_url":"https://api.github.com/users/stevelacy/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/facebook/react-native/labels/Android","name":"Android","color":"bfe5bf"},{"url":"https://api.github.com/repos/facebook/react-native/labels/Needs%20Response%20from%20Author","name":"Needs Response from Author","color":"eb6420"}],"state":"closed","locked":false,"assignee":{"login":"foghina","id":412054,"avatar_url":"https://avatars.githubusercontent.com/u/412054?v=3","gravatar_id":"","url":"https://api.github.com/users/foghina","html_url":"https://github.com/foghina","followers_url":"https://api.github.com/users/foghina/followers","following_url":"https://api.github.com/users/foghina/following{/other_user}","gists_url":"https://api.github.com/users/foghina/gists{/gist_id}","starred_url":"https://api.github.com/users/foghina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/foghina/subscriptions","organizations_url":"https://api.github.com/users/foghina/orgs","repos_url":"https://api.github.com/users/foghina/repos","events_url":"https://api.github.com/users/foghina/events{/privacy}","received_events_url":"https://api.github.com/users/foghina/received_events","type":"User","site_admin":false},"milestone":null,"comments":5,"created_at":"2015-10-27T13:45:24Z","updated_at":"2015-12-28T20:06:13Z","closed_at":"2015-12-28T20:06:13Z","body":"react-native: 0.13.2\r\nreact-native-cli: 0.1.5\r\n\r\nView:\r\nmostly following the example in the docs\r\n```js\r\n\r\nimport React from 'react-native';\r\n\r\nvar {\r\n  AppRegistry,\r\n  StyleSheet,\r\n  Text,\r\n  View,\r\n  ToolbarAndroid\r\n} = React;\r\n\r\nvar View = React.createClass({\r\n  render: function() {\r\n    return (\r\n      <View style={styles.container}>\r\n        <ToolbarAndroid\r\n          logo={require('image!ic_launcher')}\r\n          title=\"AwesomeApp\"\r\n          actions={[\r\n            {\r\n              title: 'Settings', \r\n              icon: require('image!ic_launcher'), \r\n              show: 'always'\r\n            }\r\n          ]}\r\n         />\r\n        </View>\r\n    );\r\n  }\r\n});\r\n\r\nAppRegistry.registerComponent('View', () => View);\r\n\r\n\r\n```\r\n\r\nboth `logo={require('image!ic_launcher')}` and `logo={require('./ic_launcher.png')}` fails with the error\r\nI am unable to create an example on https://rnplay.org/ due to the image asset.\r\nAlso, the ToolBar does not show when there isn't any `logo` property. It should always show since android v5+ removes the ActionBar Icon with just the title.\r\n\r\n![selection_012](https://cloud.githubusercontent.com/assets/5648999/10759222/625e0630-7c73-11e5-9c57-4f8346deca3e.png)\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/facebook/react-native/issues/comments/167643710","html_url":"https://github.com/facebook/react-native/issues/3716#issuecomment-167643710","issue_url":"https://api.github.com/repos/facebook/react-native/issues/3716","id":167643710,"user":{"login":"stevelacy","id":5648999,"avatar_url":"https://avatars.githubusercontent.com/u/5648999?v=3","gravatar_id":"","url":"https://api.github.com/users/stevelacy","html_url":"https://github.com/stevelacy","followers_url":"https://api.github.com/users/stevelacy/followers","following_url":"https://api.github.com/users/stevelacy/following{/other_user}","gists_url":"https://api.github.com/users/stevelacy/gists{/gist_id}","starred_url":"https://api.github.com/users/stevelacy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stevelacy/subscriptions","organizations_url":"https://api.github.com/users/stevelacy/orgs","repos_url":"https://api.github.com/users/stevelacy/repos","events_url":"https://api.github.com/users/stevelacy/events{/privacy}","received_events_url":"https://api.github.com/users/stevelacy/received_events","type":"User","site_admin":false},"created_at":"2015-12-28T20:06:13Z","updated_at":"2015-12-28T20:06:13Z","body":"using:\r\n- react-native: 0.17.0\r\n- react-native-cli: 0.1.7\r\n\r\nRemote resource images work:\r\n![selection_0142015dt](https://cloud.githubusercontent.com/assets/5648999/12024607/9705a38a-ad5a-11e5-888a-3e6c5aaf83dd.png)\r\n```js\r\nlogo={{uri: 'http://slacy.me/images/favicon.png'}}\r\n```\r\n\r\nLocal resources also load perfectly:\r\n```js\r\nlogo={require('./ic_launcher.png')}\r\n```\r\n\r\n![selection_0152015dt](https://cloud.githubusercontent.com/assets/5648999/12024672/51ffdb38-ad5b-11e5-9f35-c309ab0ef949.png)\r\n\r\n\r\nCheers!\r\n"}}