Error: `ScrollView` has no propType' How to resolve it?


#1

Error: ScrollView has no propType for native prop RCTScrollView.conetntInsetAdjustmentBehaviour of native type UIScrollViewContentInsetAdjustmentBehaviour or If you haven’t changed this prop yourself, this usually means that your versions of the native code and javascript code are out of sync.

{
“name”: “app-20”,
“version”: “0.0.0”,
“description”: “Hello Expo!”,
“author”: null,
“private”: true,
“main”: “node_modules/expo/AppEntry.js”,
“dependencies”: {
“axios”: “^0.16.2”,
“expo”: “^20.0.0”,
“latlng-to-zip”: “^0.0.1”,
“lodash”: “^4.17.4”,
“react”: “16.0.0-alpha.12”,
“react-addons-update”: “^15.6.0”,
“react-native”: “^0.47.0”,
“react-native-calendar”: “^0.12.3”,
“react-native-calendars”: “^1.5.8”,
“react-native-communications”: “^2.2.1”,
“react-native-easy-toast”: “^1.0.6”,
“react-native-elements”: “^0.16.0”,
“react-native-flexbox-grid”: “^0.3.1”,
“react-native-google-place-autocomplete”: “^0.3.0”,
“react-native-indicator”: “^0.6.7”,
“react-native-loading-spinner-overlay”: “^0.5.2”,
“react-native-maps”: “^0.16.2”,
“react-native-modal”: “^3.1.0”,
“react-native-modal-datetime-picker”: “^4.11.0”,
“react-native-multiple-select-list”: “^1.0.4”,
“react-native-progressive-input”: “^1.0.3”,
“react-native-segmented-control-tab”: “^3.2.1”,
“react-native-signature-pad”: “^0.0.8”,
“react-navigation”: “^1.0.0-beta.11”,
“react-redux”: “^5.0.6”,
“redux”: “^3.7.2”,
“redux-form”: “^5.0.1”,
“redux-persist”: “^4.9.1”,
“redux-thunk”: “^2.2.0”
}
}

app.json

{
“expo”: {
“name”: “App”,
“description”: “App”,
“slug”: “AppChanged”,
“privacy”: “unlisted”,
“sdkVersion”: “20.0.0”,
“version”: “1.0.5”,
“orientation”: “portrait”,
“primaryColor”: “#cccccc”,
“icon”: “./assets/icons/app.png”,
“loading”: {
“icon”: “./assets/icons/loading.png”,
“hideExponentText”: false
},
“packagerOpts”: {
“assetExts”: [“ttf”, “mp4”]
},
“ios”: {
“bundleIdentifier”: “com.App.exp”,
“supportsTablet”: true
},
“android”: {
“package”: “org.App.exp”,
}
}
}


#2

Resolved, by changing the packages,

“expo”: “^21.0.0”,
“react”: “16.0.0-alpha.12”,
“react-native”: “https://github.com/expo/react-native/archive/sdk-21.0.2.tar.gz”,


#3

nice, glad you got that fixed.


#4

Yep, any idea how to do this ?