In SDK 41 we are removing the .expo.js extension! We have sent PRs to other repos like async-storage and react-native-screens to resolve this, but I only just remembered that we're depending on it here as well. And so this PR was born.
The changes here are backwards compatible, so it doesn't hurt if someone on Expo SDK 39 or 40 installs a version of the library that includes this code. However, when using SDK 41, people will need to use the latest version. To ensure that, I'll add the library to the list of libraries that we automatically update when running expo upgrade.
In SDK 41 we are removing the .expo.js extension! We have sent PRs to other repos like async-storage and react-native-screens to resolve this, but I only just remembered that we're depending on it here as well. And so this PR was born.
The changes here are backwards compatible, so it doesn't hurt if someone on Expo SDK 39 or 40 installs a version of the library that includes this code. However, when using SDK 41, people will need to use the latest version. To ensure that, I'll add the library to the list of libraries that we automatically update when running
expo upgrade
.