Skip to content

Invariant Violation: requireNativeComponent: "VolumeSlider" was not found in the UIManager #26

@kieran-Collins

Description

@kieran-Collins

Installed package using
yarn add react-native-volume-slider

"dependencies": {
"react": "17.0.1",
"react-native": "0.64.2",
"react-native-volume-slider": "^0.5.1"
},

after this installed pods using
pod install
it returns with
use_native_modules! skipped the react-native dependency 'react-native-volume-slider'. No podspec file was found.

in App.js

import VolumeSlider from 'react-native-volume-slider';

while I run the app it throws an error
Invariant Violation: requireNativeComponent: "VolumeSlider" was not found in the UIManager

Any solution? hint? I am a novice at react-native. If I am missing something anywhere or doing it in the wrong way.

Any help is appreciated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions