Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Native module RNDatePicker tried to override RNDatePicker #729

Open
crazydeveloper09 opened this issue Jan 2, 2024 · 0 comments
Open

Native module RNDatePicker tried to override RNDatePicker #729

crazydeveloper09 opened this issue Jan 2, 2024 · 0 comments

Comments

@crazydeveloper09
Copy link

Hi, I have an error in the title and this causes my app to crash. What can I do with this on expo managed workflow since this library needs React Community? I suppose this causes the error how states like stated in this comment.

My package.json

{
  "name": "territorymanager_rn",
  "version": "1.0.0",
  "main": "node_modules/expo/AppEntry.js",
  "scripts": {
    "start": "expo start",
    "android": "expo start --android",
    "ios": "expo start --ios",
    "web": "expo start --web"
  },
  "dependencies": {
    "@expo/vector-icons": "^13.0.0",
    "@react-native-async-storage/async-storage": "1.18.2",
    "@react-native-community/datetimepicker": "7.2.0",
    "@react-navigation/bottom-tabs": "^6.5.11",
    "@react-navigation/native": "^6.1.9",
    "@react-navigation/stack": "^6.3.20",
    "@rneui/base": "^4.0.0-rc.7",
    "@rneui/themed": "^4.0.0-rc.8",
    "axios": "^1.6.2",
    "expo": "~49.0.15",
    "expo-font": "~11.4.0",
    "expo-status-bar": "~1.6.0",
    "expo-updates": "~0.18.19",
    "fix": "^0.0.6",
    "react": "18.2.0",
    "react-native": "0.72.6",
    "react-native-dropdown-picker": "^5.4.6",
    "react-native-maps": "1.7.1",
    "react-native-modal-datetime-picker": "^17.1.0",
    "react-native-reanimated": "~3.3.0",
    "react-native-safe-area-context": "4.6.3",
    "react-native-safe-area-view": "^1.1.1",
    "react-native-screens": "~3.22.0",
    "react-native-vector-icons": "^10.0.2"
  },
  "devDependencies": {
    "@babel/core": "^7.20.0",
    "@types/mongoose-paginate-v2": "^1.6.5",
    "@types/react": "~18.2.14",
    "mongoose-paginate-v2": "^1.7.4",
    "typescript": "^5.1.3"
  },
  "private": true
}

My app.json

{
  "expo": {
    "name": "Territory Manager",
    "slug": "territorymanager_mobile",
    "version": "1.0.1",
    "orientation": "portrait",
    "icon": "./assets/tm_icon.png",
    "userInterfaceStyle": "light",
    "splash": {
      "image": "./assets/tm_logo_zielony.png",
      "resizeMode": "contain",
      "backgroundColor": "#28a745"
    },
    "assetBundlePatterns": [
      "**/*"
    ],
    "ios": {
      "supportsTablet": true
    },
    "android": {
      "adaptiveIcon": {
        "foregroundImage": "./assets/tm_icon.png",
        "backgroundColor": "#28a745"
      },
      "package": "com.territorymanager_mobile.territorymanager_mobile",
      "versionCode": 5
    },
    "web": {
      "favicon": "./assets/favicon.png"
    },
    "extra": {
      "eas": {
        "projectId": "0c1566a8-d70c-4d6b-bec3-43e399b735d9"
      }
    },
    "runtimeVersion": {
      "policy": "appVersion"
    },
    "updates": {
      "url": "https://u.expo.dev/0c1566a8-d70c-4d6b-bec3-43e399b735d9"
    }
  }
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant