tlenclos / react-native-audio-streaming

iOS & Android react native module to play an audio stream, with background support and media controls

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PropTypes issue for React 16.0+

dmtrKovalenko opened this issue · comments

What about moving to PropTypes package instead of react`s?

This library "react native audio streaming" is not upgraded to suit with react-native 0.49.1,
Please upgrade.it gives prototype error. following is the error i am getting
undefined is not an object(evaluating '_react3.default.proptypes.string').
please help, atleast tell which native version to use.

@yogendrakarekar from the tests I did, this works without issues with react native version 0.47.2. All of my tests in versions higher than that failed.

Tried it with react native 0.47.2 but it gives me :cfbundleidentifier issue, so I tried with 0.44.0 and YES REACT-NATIVE-AUDIO-STREAMING WORKS !, but I am not sure whether my other plugins will work or not, I have started to hate React native

@yogendrakarekar that sounds a bit strange - I did not run into this issue. I have to point out however that I have no other libraries in my project. It's literally a new React Native app (not using Expo) with this particular library installed.

It works with the most recent version of react native if you install the package as npm i -S https://github.com/tlenclos/react-native-audio-streaming#master