tlenclos / react-native-audio-streaming

iOS & Android react native module to play an audio stream, with background support and media controls
MIT License
781 stars 255 forks source link

Cannot read property 'play' of undefined #64

Closed iamkyleee closed 7 years ago

iamkyleee commented 7 years ago

Couldn't get either the player nor the regular api to work image

image

fakewaffle commented 7 years ago

What was the issue?

iamkyleee commented 7 years ago

it does not work well with exponent. Also, I used the manual method and linked the libraries through xcode and worked.

fakewaffle commented 7 years ago

I'm having the same problem after following the directions. :(

iamkyleee commented 7 years ago

image

This is what my Libraries looked like.

anglol commented 6 years ago

Something new here ? Same problem :(

browncj commented 6 years ago

Having the same issue, except it's telling me "cannot read property 'string' of undefined"

patrickmuhi commented 6 years ago

127 @browncj The problem is version of PropTypes used by this repo. This repo is using PropTypes from React, but PropTypes are moved to prop-types npm package. You can see it by going to index.js of repo and you will find this:

Player.propTypes = { url: React.PropTypes.string.isRequired };