We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents da00aff + 66b6b39 commit e79a558Copy full SHA for e79a558
template/App.tsx
@@ -27,6 +27,7 @@ import {
27
} from 'react-native/Libraries/NewAppScreen';
28
29
const App = () => {
30
+ const usingHermes = typeof HermesInternal === 'object' && HermesInternal !== null;
31
return (
32
<>
33
<StatusBar barStyle="dark-content" />
@@ -35,7 +36,7 @@ const App = () => {
35
36
contentInsetAdjustmentBehavior="automatic"
37
style={styles.scrollView}>
38
<Header />
- {global.HermesInternal == null ? null : (
39
+ {!usingHermes ? null : (
40
<View style={styles.engine}>
41
<Text style={styles.footer}>Engine: Hermes</Text>
42
</View>
0 commit comments