question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

`ScrollView` has no propType for native prop `RCTScrollView.contentInsetAdjustmentBehavior` of native type `UIScrollViewContentInsetAdjustmentBehavior`

See original GitHub issue

Description

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;

Expected Behavior

It run fine on iPhone in development or production mode;

Observed Behavior

`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

Environment

  • npm ls react-native-scripts: 1.3.1
  • npm ls react-native: 0.47.2
  • npm ls expo: 20.1.3
  • node -v: 8.3.0
  • npm -v: 5.4.1
  • yarn --version: 0.24.6
  • watchman version: 4.7.0
  1. Operating system: Mac OS 10.13
  2. Phone/emulator/simulator & version: iPhone 7 Plus & iOS 11

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:20
  • Comments:11 (3 by maintainers)

github_iconTop GitHub Comments

8reactions
GeekRishabhcommented, Sep 27, 2017

@deot upgrading expo & RN fixes it for upgrading to exp 21.0

3reactions
sujitpk-perennialcommented, Nov 21, 2017

I am not using expo. Still getting same error message

Read more comments on GitHub >

github_iconTop Results From Across the Web

Error : 'ScrollView' has no propType for native prop ... - GitHub
I'm stuck on this error. It was working absolutely fine, but suddenly this error started to pop. I am using "expo": "^20.0.0", ...
Read more >
scrollview has no proptype for native prop ... - Stack Overflow
It's maybe your dependent package version are mismatch, I upgrade my dependencies to the latest, now it works at those versions.
Read more >
scrollview has no proptype for native prop RCTScrollView ...
Coding example for the question scrollview has no proptype for native prop RCTScrollView.overScrollMode of native type string-React Native.
Read more >
ScrollView - React Native
Component that wraps platform ScrollView while providing integration with touch locking "responder" system.
Read more >
Typechecking With PropTypes - React
To run typechecking on the props for a component, you can assign the special propTypes property: import PropTypes from 'prop-types'; class Greeting extends ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found