-
Notifications
You must be signed in to change notification settings - Fork 50
Getting undefined error #25
Comments
I'm having the same issue. Were you able to solve it? |
work perfect on android but not working on ios |
I have the same error. I follow all steps. see my code here: import React, { Component } from 'react'; export default class RadioPlayer extends Component { _onPressButton() { _onPressPlay() {
} _onPressPause(){ render() { const styles = StyleSheet.create({ |
+1 |
How did you build it on android?
|
Did you find any solution on IOS? |
import React, { Component } from 'react'
import {
AppRegistry,
StyleSheet,
Button,
View
} from 'react-native'
import RNAudioStreamer from 'react-native-audio-streamer'
RNAudioStreamer.setUrl('http://lacavewebradio.chickenkiller.com:8000/stream.mp3')
export default class Stream extends Component {
onPressPlay() {
RNAudioStreamer.play()
}
render() {
}
}
const styles = StyleSheet.create({
container: {
flex: 1,
justifyContent: 'center',
alignItems: 'center',
backgroundColor: '#F5FCFF',
},
})
Getting Error
undefined is not an object (evaluating '_reactNativeAudioStreamer2.default.setUrl')
The text was updated successfully, but these errors were encountered: