It run fine on iPhone Simulator in development or production mode;
But it run failed on iPhone only in development mode, production mode run fine;
It run fine on iPhone in development or production mode;
`ScrollView` has no propType for native prop `RCTScrollView.contentInsetAdjustmentBehavior` of native type `UIScrollViewContentInsetAdjustmentBehavior`
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. Updating both should make this error go away.
verifyPropTypes
hashAssetFiles:30003:22
requireNativeComponent
hashAssetFiles:29334:42
<unknown>
hashAssetFiles:43505:41
loadModuleImplementation
hashAssetFiles:106:12
<unknown>
hashAssetFiles:44769:25
loadModuleImplementation
hashAssetFiles:106:12
<unknown>
hashAssetFiles:49545:23
loadModuleImplementation
hashAssetFiles:106:12
<unknown>
hashAssetFiles:48477:29
loadModuleImplementation
hashAssetFiles:106:12
<unknown>
hashAssetFiles:47923:29
loadModuleImplementation
hashAssetFiles:106:12
guardedLoadModule
hashAssetFiles:63:45
<unknown>
hashAssetFiles:47810:36
emit
hashAssetFiles:8088:40
__callFunction
hashAssetFiles:6266:47
<unknown>
hashAssetFiles:6103:29
__guard
hashAssetFiles:6237:11
callFunctionReturnFlushedQueue
hashAssetFiles:6102:19
npm ls react-native-scripts: 1.3.1npm ls react-native: 0.47.2npm ls expo: 20.1.3node -v: 8.3.0npm -v: 5.4.1yarn --version: 0.24.6watchman version: 4.7.0I suspect you may be loading an old version of React Native. Is this with a brand new project?
@deot upgrading expo & RN fixes it
for upgrading to exp 21.0
Ran into this error as well today, GeekRishabh link helped solve the problem.
However, my tests now appear to be broken. Each suite fails with the error:
SyntaxError: Unexpected token / in JSON at position 704
at Object.parse (native)
at _readAppConfiguration (node_modules/jest-expo/src/createMockConstants.js:48:30)
at createMockConstants (node_modules/jest-expo/src/createMockConstants.js:12:21)
at Object.<anonymous> (node_modules/jest-expo/src/setup.js:38:22)
at handle (node_modules/worker-farm/lib/child/index.js:44:8)
Downgrading to "jest-expo": "20.0.0" solves the issue, but it鈥檚 unusual that changing to v21 (as suggested in the Medium article) would be such a problem. It seems something is missing in the notes on that.
@filipdanic Does your app.json file contain non-JSON (but valid JSON5) code such as comments? If so, some versions of jest-expo wouldn't be able to parse your app.json file (jest-expo reads app.json so that it can mock out Expo.Constants.manifest.extra). The latest version of jest-expo (21.0.2-SNAPSHOT.d993f41d) has JSON5 support and might work for you.
@ide this is exactly the case. Thank you very much :)
@ide @GeekRishabh Thanks!
I'm going to close this since (a) the original issue was resolved (mis-matched JS and native code; be sure your versions all match up and that you have cleared all the caches!) and (b) the jest-expo issue with JSON5 files has been fixed.
Got the same error and solved it by upgrading Expo to 21.

I am not using expo. Still getting same error message
Same here
Same problem here with Expo 21.0.0
Most helpful comment
@deot upgrading expo & RN fixes it
for upgrading to exp 21.0