Skip to content

Commit b846305

Browse files
j-piaseckimeta-codesync[bot]
authored andcommitted
Add Hermes version to the new app screen (facebook#54241)
Summary: Pull Request resolved: facebook#54241 Changelog: [Internal] Added Hermes version besides information that the app is running using Hermes. This information will be helpful now that Hermes is being published independently from React Native and users are able to choose between two versions at a time (current and V1). Reviewed By: cipolleschi Differential Revision: D85333735 fbshipit-source-id: b07b75be3e3d4b5424d4c2185916bac507fc5eca
1 parent b823b26 commit b846305

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/new-app-screen/src/NewAppScreen.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,8 @@ function getHermesLabel(): React.Node {
123123

124124
return (
125125
<ThemedText color="secondary" style={styles.label}>
126-
JS Engine: Hermes
126+
JS Engine: Hermes (
127+
{global.HermesInternal.getRuntimeProperties?.()['OSS Release Version']})
127128
</ThemedText>
128129
);
129130
}

0 commit comments

Comments
 (0)