How to downgrade to a lower Expo SDK version

OK, so your app was technically a “bare workflow” app, rather than a managed app. If this was not intended then I suspect you ran expo run:ios at some point.

Please see the following for some more information:

As for exactly what happened or why your users somehow got an old version of the app, I’m not entirely sure, but expo upgrade cannot, of course, somehow revert your JavaScript code. Maybe you could verify that the code is correct and then publish again?

I think the safest way to have done this would have been something like this:

  • Find the latest Git commit that was done on SDK 44, before you upgraded to SDK 45. (Preferably the latest SDK 44 version you published.)
  • Create a Git branch at that commit and check it out
  • Make sure you don’t have android and ios directories
  • Make your change there to notify your users of the new version and commit it to the new branch
  • Publish the app
  • Switch back to your main development branch
1 Like