{"action":"created","issue":{"url":"https://api.github.com/repos/tlenclos/react-native-audio-streaming/issues/55","repository_url":"https://api.github.com/repos/tlenclos/react-native-audio-streaming","labels_url":"https://api.github.com/repos/tlenclos/react-native-audio-streaming/issues/55/labels{/name}","comments_url":"https://api.github.com/repos/tlenclos/react-native-audio-streaming/issues/55/comments","events_url":"https://api.github.com/repos/tlenclos/react-native-audio-streaming/issues/55/events","html_url":"https://github.com/tlenclos/react-native-audio-streaming/issues/55","id":196326739,"number":55,"title":"undefined is not an object (evaluating 'ReactNativeAudioStreaming.getStatus')","user":{"login":"jgeurts","id":158937,"avatar_url":"https://avatars.githubusercontent.com/u/158937?v=3","gravatar_id":"","url":"https://api.github.com/users/jgeurts","html_url":"https://github.com/jgeurts","followers_url":"https://api.github.com/users/jgeurts/followers","following_url":"https://api.github.com/users/jgeurts/following{/other_user}","gists_url":"https://api.github.com/users/jgeurts/gists{/gist_id}","starred_url":"https://api.github.com/users/jgeurts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jgeurts/subscriptions","organizations_url":"https://api.github.com/users/jgeurts/orgs","repos_url":"https://api.github.com/users/jgeurts/repos","events_url":"https://api.github.com/users/jgeurts/events{/privacy}","received_events_url":"https://api.github.com/users/jgeurts/received_events","type":"User","site_admin":false},"labels":[{"id":411988552,"url":"https://api.github.com/repos/tlenclos/react-native-audio-streaming/labels/bug","name":"bug","color":"ee0701","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-12-19T03:58:59Z","updated_at":"2016-12-26T14:46:45Z","closed_at":null,"body":"I'm trying to add the player to the sample app that react creates and am getting an exception when running iOS. I installed react-native-audio-streaming using the cocoapod technique and specified the background audio setting. \r\n\r\nMy component looks like:\r\n```\r\nimport React, { Component } from 'react';\r\nimport {\r\n  StyleSheet,\r\n  Text,\r\n  View\r\n} from 'react-native';\r\nimport { Player } from 'react-native-audio-streaming';\r\n\r\nexport default class App extends Component {\r\n  render() {\r\n    return (\r\n      <View style={styles.container}>\r\n        <Text style={styles.welcome}>\r\n          Welcome to React Native!\r\n        </Text>\r\n        <Text style={styles.instructions}>\r\n          To get started, edit index.ios.js\r\n        </Text>\r\n        <Text style={styles.instructions}>\r\n          Press Cmd+R to reload,{'\\n'}\r\n          Cmd+D or shake for dev menu\r\n        </Text>\r\n        <Player url={\"http://lacavewebradio.chickenkiller.com:8000/stream.mp3\"} />\r\n      </View>\r\n    );\r\n  }\r\n}\r\n\r\nconst styles = StyleSheet.create({\r\n  container: {\r\n    flex: 1,\r\n    justifyContent: 'center',\r\n    alignItems: 'center',\r\n    backgroundColor: '#F5FCFF',\r\n  },\r\n  welcome: {\r\n    fontSize: 20,\r\n    textAlign: 'center',\r\n    margin: 10,\r\n  },\r\n  instructions: {\r\n    textAlign: 'center',\r\n    color: '#333333',\r\n    marginBottom: 5,\r\n  },\r\n});\r\n```\r\n\r\nI'm very new to react-native and ios development, so I could very well be missing something trivial :)"},"comment":{"url":"https://api.github.com/repos/tlenclos/react-native-audio-streaming/issues/comments/269217320","html_url":"https://github.com/tlenclos/react-native-audio-streaming/issues/55#issuecomment-269217320","issue_url":"https://api.github.com/repos/tlenclos/react-native-audio-streaming/issues/55","id":269217320,"user":{"login":"tlenclos","id":686101,"avatar_url":"https://avatars.githubusercontent.com/u/686101?v=3","gravatar_id":"","url":"https://api.github.com/users/tlenclos","html_url":"https://github.com/tlenclos","followers_url":"https://api.github.com/users/tlenclos/followers","following_url":"https://api.github.com/users/tlenclos/following{/other_user}","gists_url":"https://api.github.com/users/tlenclos/gists{/gist_id}","starred_url":"https://api.github.com/users/tlenclos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tlenclos/subscriptions","organizations_url":"https://api.github.com/users/tlenclos/orgs","repos_url":"https://api.github.com/users/tlenclos/repos","events_url":"https://api.github.com/users/tlenclos/events{/privacy}","received_events_url":"https://api.github.com/users/tlenclos/received_events","type":"User","site_admin":false},"created_at":"2016-12-26T14:46:45Z","updated_at":"2016-12-26T14:46:45Z","body":"Hi ! Could you please post also the exception ?"}}
{"actor":{"display_login":"tlenclos"}}