{"action":"created","issue":{"url":"https://api.github.com/repos/rt2zz/react-native-contacts/issues/315","repository_url":"https://api.github.com/repos/rt2zz/react-native-contacts","labels_url":"https://api.github.com/repos/rt2zz/react-native-contacts/issues/315/labels{/name}","comments_url":"https://api.github.com/repos/rt2zz/react-native-contacts/issues/315/comments","events_url":"https://api.github.com/repos/rt2zz/react-native-contacts/issues/315/events","html_url":"https://github.com/rt2zz/react-native-contacts/issues/315","id":341792020,"node_id":"MDU6SXNzdWUzNDE3OTIwMjA=","number":315,"title":"TypeError: undefined is not an object (evaluating e.phoneNumber[0].number)","user":{"login":"balwinders","id":33483035,"node_id":"MDQ6VXNlcjMzNDgzMDM1","avatar_url":"https://avatars2.githubusercontent.com/u/33483035?v=4","gravatar_id":"","url":"https://api.github.com/users/balwinders","html_url":"https://github.com/balwinders","followers_url":"https://api.github.com/users/balwinders/followers","following_url":"https://api.github.com/users/balwinders/following{/other_user}","gists_url":"https://api.github.com/users/balwinders/gists{/gist_id}","starred_url":"https://api.github.com/users/balwinders/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/balwinders/subscriptions","organizations_url":"https://api.github.com/users/balwinders/orgs","repos_url":"https://api.github.com/users/balwinders/repos","events_url":"https://api.github.com/users/balwinders/events{/privacy}","received_events_url":"https://api.github.com/users/balwinders/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-07-17T07:07:54Z","updated_at":"2018-07-17T21:20:58Z","closed_at":null,"author_association":"NONE","body":"my code are:\r\n```es\r\n render() {\r\n      return (\r\n        \r\n      <View style={styles.MainContainer}>\r\n            {\r\n            <FlatList\r\n               style={styles.contactsCs}\r\n               data={this.state.contacts}\r\n               keyExtractor={ (contact) => contact.identifier }\r\n               renderItem={ ({item}) => (\r\n            \r\n                 <View style={styles.contactCs}>\r\n                   <Text style={styles.nameCs}>\r\n                    {key=item.key}\r\n                    {first_name=item.givenName +\" \"}\r\n                    {last_name=item.familyName +\"\\n\"}\r\n                    {number=item.phoneNumbers[0].number;}\r\n\r\n                   </Text>\r\n                 </View>\r\n               ) }\r\n             />\r\n            }\r\n            <View style={ styles.buttonCs }>\r\n          \r\n              <Button title=\"Get Contacts\" onPress={ () => this._getContacts() } />\r\n            </View>\r\n         </View>\r\n    );\r\n  }\r\n```\r\nPlease help, I 'll shown the name and phone number in list. It display name fine but error in number.\r\nSomebody explain how it work.\r\nThanks in advance."},"comment":{"url":"https://api.github.com/repos/rt2zz/react-native-contacts/issues/comments/405732003","html_url":"https://github.com/rt2zz/react-native-contacts/issues/315#issuecomment-405732003","issue_url":"https://api.github.com/repos/rt2zz/react-native-contacts/issues/315","id":405732003,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNTczMjAwMw==","user":{"login":"morenoh149","id":587438,"node_id":"MDQ6VXNlcjU4NzQzOA==","avatar_url":"https://avatars2.githubusercontent.com/u/587438?v=4","gravatar_id":"","url":"https://api.github.com/users/morenoh149","html_url":"https://github.com/morenoh149","followers_url":"https://api.github.com/users/morenoh149/followers","following_url":"https://api.github.com/users/morenoh149/following{/other_user}","gists_url":"https://api.github.com/users/morenoh149/gists{/gist_id}","starred_url":"https://api.github.com/users/morenoh149/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/morenoh149/subscriptions","organizations_url":"https://api.github.com/users/morenoh149/orgs","repos_url":"https://api.github.com/users/morenoh149/repos","events_url":"https://api.github.com/users/morenoh149/events{/privacy}","received_events_url":"https://api.github.com/users/morenoh149/received_events","type":"User","site_admin":false},"created_at":"2018-07-17T21:20:58Z","updated_at":"2018-07-17T21:20:58Z","author_association":"COLLABORATOR","body":"there must not be a number in `e.phoneNumber` array. Please share the contact object you are receiving. "}}
{"actor":{"display_login":"morenoh149"}}