AdelRedaa97 / react-native-select-dropdown

react-native-select-dropdown is a highly customized dropdown | select | picker | menu for react native that works for andriod and iOS platforms.
MIT License
314 stars 134 forks source link

Newest version of react native, expo, etc, is complaining about the expected "Data" #134

Open rcfrias opened 1 year ago

rcfrias commented 1 year ago

While trying to use the component, it seems the newer versions are not converting the selection options to the expected dictionary, displaying the bug:

nsmutablearray cannot be converted to nsdictionary

Any thoughts about this? Here is my package.json:

{ "name": "AfiliadosApp", "version": "0.0.1", "private": true, "scripts": { "android": "react-native run-android", "ios": "react-native run-ios", "lint": "eslint .", "start": "expo start --dev-client", "test": "jest", "build:ios": "react-native bundle --entry-file='index.js' --bundle-output='./ios/main.jsbundle' --dev=false --platform='ios' --assets-dest='./ios'" }, "dependencies": { "@react-native-community/masked-view": "^0.1.11", "@react-navigation/native": "^6.1.6", "@react-navigation/native-stack": "^6.9.12", "expo": "~48.0.9", "expo-splash-screen": "~0.18.1", "expo-status-bar": "~1.4.4", "react": "18.2.0", "react-hook-form": "^7.43.7", "react-native": "0.71.4", "react-native-device-info": "^10.4.0", "react-native-gesture-handler": "^2.9.0", "react-native-ico-flags": "^3.3.1", "react-native-paper": "^5.5.0", "react-native-reanimated": "~2.14.4", "react-native-safe-area-context": "^4.5.0", "react-native-screens": "^3.20.0", "react-native-select-dropdown": "^3.3.2", "react-native-svg": "13.4.0", "react-native-vector-icons": "^9.2.0" }, "devDependencies": { "@babel/core": "^7.20.0", "@babel/preset-env": "^7.20.0", "@babel/runtime": "^7.20.0", "@react-native-community/eslint-config": "^3.2.0", "@tsconfig/react-native": "^2.0.2", "@types/jest": "^29.2.1", "@types/react": "^18.0.24", "@types/react-native": "^0.71.4", "@types/react-test-renderer": "^18.0.0", "babel-jest": "^29.2.1", "eslint": "^8.19.0", "jest": "^29.2.1", "metro-react-native-babel-preset": "0.73.8", "prettier": "^2.4.1", "react-test-renderer": "18.2.0", "typescript": "^4.9.4" }, "jest": { "preset": "react-native" } }