File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -311,11 +311,11 @@ In your app starting entrypoint e.g. `./index.js` or even better use a `index.an
311311
312312``` javascript
313313// on top of your index.android.js file
314- const isAndroid = require (' react-native' ).Platform .OS === ' android' ;
315- const isHermesEnabled = !! global .HermesInternal ;
314+ const isAndroid = require (' react-native' ).Platform .OS === ' android' ; // this line is only needed if you don't use an .android.js file
315+ const isHermesEnabled = !! global .HermesInternal ; // this line is only needed if you don't use an .android.js file
316316
317317// in your index.js file
318- if (isHermesEnabled || isAndroid) {
318+ if (isHermesEnabled || isAndroid) { // this line is only needed if you don't use an .android.js file
319319
320320 require (' @formatjs/intl-getcanonicallocales/polyfill' );
321321 require (' @formatjs/intl-locale/polyfill' );
@@ -356,7 +356,7 @@ if (isHermesEnabled || isAndroid) {
356356 // require("expo-localization").timezone
357357 // );
358358 }
359- }
359+ } // this line is only needed if you don't use an .android.js file
360360```
361361
362362## Contributing
You can’t perform that action at this time.
0 commit comments