mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/45256 The actual stamped versions here are all strings. Android interface for constants is untyped, and we always return a string here. iOS, we will try to parse the string into a double, which will fail for every prerelease version RN has ever published. Platform on Windows seems to uniquely be doing the right thing. Changelog: [General][Fixed] - Fix Platform.constants.reactNativeVersion type Reviewed By: robhogan, necolas Differential Revision: D59141948 fbshipit-source-id: 9c758e5eb8796b03197258d87ec06b31018e211c