react-native-twitter icon indicating copy to clipboard operation
react-native-twitter copied to clipboard

Streaming API's are not supported in iOS

Open lingxiao opened this issue 6 years ago • 0 comments

In Timeline.js (https://github.com/Piroro-hs/react-native-twitter/blob/master/example/src/components/Timeline.js#L14), the line this.props.twitter.stream('user').on('data', (data) => { ... }) fails with error: Streaming APIs are not supported on iOS, even though there's no explicit code checking for OS in the class. I am on react-native 0.56 with Expo.

Ahh I see in the docs it says android only. Is there a comparable API on iOS?

lingxiao avatar Jul 23 '18 19:07 lingxiao