Tried to register two views with the same name exponent camera

App.json : -

{
“expo”: {
“name”: “xxxxxxxxxxxxx”,
“description”: “xxxxxxxxxxxxx”,
“slug”: “xxxxxxxxxxxxx”,
“privacy”: “public”,
“sdkVersion”: “28.0.0”,
“version”: “1.0.0”,

"ios": {
  "bundleIdentifier": "xxxxxxxxxxxxx",
  "buildNumber": "1.0.0",
  "icon": "./assets/icons/icon_ios.png",
  "splash": {
    "image": "./assets/icons/loading.png",
    "resizeMode": "cover",
    "backgroundColor": "#8EBDB3"
  },
  "isTabletOnly": false,
  "supportsTablet": true
},
"android": {
  "package": "xxxxxxxxxxxxx",
  "versionCode": 1,
  "icon": "./assets/icons/icon.png",
  "splash": {
    "resizeMode": "cover",
    "ldpi": "./assets/icons/loading.png",
    "mdpi": "./assets/icons/loading.png",
    "hdpi": "./assets/icons/loading.png",
    "xhdpi": "./assets/icons/loading.png",
    "xxhdpi": "./assets/icons/loading.png",
    "xxxhdpi": "./assets/icons/loading.png",
    "backgroundColor": "#8EBDB3"
  }

},
"orientation": "portrait",
"primaryColor": "#cccccc",
"icon": "./assets/icons/icon_ios.png",
"splash": {
  "image": "./assets/icons/loading.png",
  "resizeMode": "cover",
  "backgroundColor": "#8EBDB3"
},
"packagerOpts": {
  "assetExts": [
    "ttf",
    "mp4"
  ],
  "config": "rn-cli.config.js"
}

}
}

Package.json File:-

{
“name”: “xxxxxxxxxxxxx”,
“version”: “1.0.0”,
“description”: “xxxxxxxxxxxxx”,
“author”: “Biplov Kumar”,
“private”: true,
“main”: “node_modules/expo/AppEntry.js”,
“dependencies”: {
@expo/vector-icons”: “6.3.0”,
@expo/videoplayer”: “^0.4.0”,
“axios”: “^0.18.0”,
“expo”: “^28.0.0”,
“lodash”: “^4.17.11”,
“moment”: “^2.22.2”,
“radio-button-react-native”: “^1.1.6”,
“react”: “16.3.1”,
“react-native”: “https://github.com/expo/react-native/archive/sdk-28.0.0.tar.gz”,
“react-native-animatable”: “^1.3.0”,
“react-native-circular-progress”: “^1.0.1”,
“react-native-countdown-component”: “^1.7.3”,
“react-native-elements”: “^1.0.0-beta5”,
“react-native-snap-carousel”: “^3.7.4”,
“react-navigation”: “^2.16.0”
},
“scripts”: {
“postinstall”: “git submodule update”,
“clean-install”: “rm -rf node_modules && npm cache clean --force && watchman watch-del-all && npm install”
}
}

Hey @biplov1401,

Can you share the relevant code that is throwing the error?

Cheers,

Adam

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.