react-native: [0.20] [Android] screenPhysicalPixels undefined
Changes in 228a1fe7d48d57a0fbb2d852135ef94247198aaa appear to have broken Android. The requiring of Dimensions throws the following error:
undefined is not an object (evaluating 'screenPhysicalPixels.width')

About this issue
- Original URL
- State: closed
- Created 8 years ago
- Comments: 23 (8 by maintainers)
Commits related to this issue
- fixed android dimensions bug https://github.com/facebook/react-native/issues/5963 — committed to elbstack/react-native by deleted user 8 years ago
- Update EmbeddedAppAndroid.md The version of 0.17 will cause error ("undefined is not an object (evaluating 'screenPhysicalPixels.width')") when run to devices/simulator. also see https://github.com/... — committed to bin-liu/react-native by bin-liu 8 years ago
- Update EmbeddedAppAndroid.md Summary:The version of 0.17 will cause error ("undefined is not an object (evaluating 'screenPhysicalPixels.width')") when run to devices/simulator. also see https://gith... — committed to facebook/react-native by bin-liu 8 years ago
- [Android] Update Airmaps Explorer to latest RN settings. Fix related to https://github.com/facebook/react-native/issues/5963 — committed to react-native-maps/react-native-maps by christopherdro 8 years ago
- Update EmbeddedAppAndroid.md Summary:The version of 0.17 will cause error ("undefined is not an object (evaluating 'screenPhysicalPixels.width')") when run to devices/simulator. also see https://gith... — committed to pglotov/react-native by bin-liu 8 years ago
- [Android] Update Airmaps Explorer to latest RN settings. Fix related to https://github.com/facebook/react-native/issues/5963 — committed to BigPun86/react-native-maps by christopherdro 8 years ago
Okay. I verified that
compile 'com.facebook.react:react-native:0.20.1'does the job.