should expo eject not add the import for react-native-gesture-handler at the top of index.js?

Like this:

import 'react-native-gesture-handler';
// ^ needs to be at the top according to https://reactnavigation.org/docs/getting-started:
// To finalize installation of react-native-gesture-handler, add the following at the top (make sure it's at the top and there's nothing else before it) of your entry file, such as index.js or App.js

Or is this info outdated?

you are correct. this may in some cases cause issues if not included, so i have gone ahead and updated related code to include the import and also updated our docs.

thanks!

I see this is generated now, great!

I suggest you also generate a comment saying that the line should stay at the top and linking to https://reactnavigation.org/docs/getting-started.

Otherwise you might just as well not do it, as people will surely reorder their index.js afterwards.