TheWidlarzGroup / react-native-video

A <Video /> component for react-native
https://docs.thewidlarzgroup.com/react-native-video/
MIT License
7.21k stars 2.91k forks source link

Tried To register two Views with the same name RTCVideoView in React Native #1788

Closed Eddy118 closed 2 years ago

Eddy118 commented 5 years ago

WhatsApp Image 2019-10-08 at 11 44 06 PM I am trying to run my app on Android but I am getting this error I don't know why I am getting this, I don't know what is causing this error in my project I have tried tried many ways to resolve this issue but Still wasn't able to resolve this issue.

Tried To register two Views with the same name RTCVideoView

My Package.json is


{
  "name": "Hello World",
  "version": "0.0.1",
  "private": true,
  "scripts": {
    "start": "react-native start",
    "test": "jest",
    "lint": "eslint ."
  },
  "dependencies": {
    "@ptomasroos/react-native-multi-slider": "^1.0.0",
    "@react-native-community/async-storage": "^1.6.2",
    "@react-native-community/slider": "^2.0.0",
    "axios": "^0.19.0",
    "connectycube-reactnative": "^1.7.3",
    "lodash": "^4.17.15",
    "moment": "^2.24.0",
    "prop-types": "^15.7.2",
    "react": "16.8.6",
    "react-native": "0.60.5",
    "react-native-autogrow-textinput": "^5.2.0",
    "react-native-cache-store": "^1.0.2",
    "react-native-calendars": "^1.212.0",
    "react-native-deck-swiper": "^1.6.7",
    "react-native-image-picker": "^1.1.0",
    "react-native-linear-gradient": "^2.5.6",
    "react-native-modal-datetime-picker": "^7.5.0",
    "react-native-navigation": "^3.0.0",
    "react-native-scrollable-tab-view": "^0.10.0",
    "react-native-swiper": "^1.5.14",
    "react-native-vector-icons": "^6.6.0",
    "react-native-view-overflow": "^0.0.4",
    "react-native-webrtc": "^1.75.0",
    "react-redux": "^7.1.1",
    "redux": "^4.0.4",
    "redux-logger": "^3.0.6",
    "redux-persist": "^6.0.0",
    "redux-thunk": "^2.3.0",
    "rn-prompt": "^1.0.4"
  },
  "devDependencies": {
    "@babel/core": "^7.6.0",
    "@babel/runtime": "^7.6.0",
    "@react-native-community/eslint-config": "^0.0.5",
    "babel-jest": "^24.9.0",
    "eslint": "^6.4.0",
    "jest": "^24.9.0",
    "metro-react-native-babel-preset": "^0.56.0",
    "react-test-renderer": "16.8.6"
  },
  "jest": {
    "preset": "react-native"
  }
}
CHaNGeTe commented 5 years ago

https://stackoverflow.com/a/46993911

I think this also happens when another lib has this package as a dependency.

I don't even see react-native-video in your package.json Can you give us more context?