githuboftigran / rn-range-slider

A native slider with range
MIT License
234 stars 130 forks source link

Invariant Violation:requireNativeComponent "RangeSlider was not found in the UIManager" in android?? #53

Closed sangampokharel closed 4 years ago

sangampokharel commented 4 years ago

"react-native": "0.62.2" "rn-range-slider": "^1.3.2"

import RangeSlider from 'rn-range-slider';

                            <RangeSlider
                                style={{ width: 160, height: 80 }}
                                gravity={'center'}
                                min={200}
                                max={1000}
                                step={20}
                                selectionColor="#3df"
                                blankColor="#f618"
                                onValueChanged={(low, high, fromUser) => {
                                    this.setState({ rangeLow: low, rangeHigh: high })
                                }} />
githuboftigran commented 4 years ago

@sangampokharel , run yarn install and cd ./ios && pod install and rebuild project for both platforms after updating the version.