Slider not rendering on IOS
The slider component for the ios is not rendering. There is a problem in your IOS code, event does not contain any nativeEvent , it directly contains a value.
Using this.props.onValueChange(event) fixes the issue.
So update the project to the latest by fixing this bug.
Thanks, I will see it soon.
Hello, I'm having some issues rendering on iOS as well. I set up the slider as such:
<SliderVolumeController style={{ backgroundColor: 'red' }} />
And when I look at my UI I see a red box but no slider.
I installed the latest master commit instead of installing the latest release tag to make sure that I picked up the latest changes from https://github.com/Tavernari/react-native-volume-controller/commit/64d376840a9f95924d23b453f015a389ac40fdb0
The package with the latest commit works on devices but it doesn't work on simulators. Which is totally fine because the MPVolumeView doesn't work on simulators.