react-native-volume-controller icon indicating copy to clipboard operation
react-native-volume-controller copied to clipboard

Slider not rendering on IOS

Open pritishvaidya94 opened this issue 8 years ago • 3 comments

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.

pritishvaidya94 avatar Jan 04 '18 04:01 pritishvaidya94

Thanks, I will see it soon.

Tavernari avatar Jan 04 '18 13:01 Tavernari

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

edmundito avatar Jul 26 '18 20:07 edmundito

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.

vladvlasov256 avatar Oct 30 '18 11:10 vladvlasov256