Memory leak on iOS in production, only on some devices

Hey,

I upgraded from SDK 46 → SDK 47 and now the JS thread just freezes on launch. Only when doing npx expo start --no-dev --minify and also only on some devices in production.

Been trying to debug this for days without any luck, I’ve got one stack trace from Sentry which I think is related:

SIGABRT EXDevMenu.DevMenuViewController

present. This may indicate a memory leak due to a retain cycle. > Assertion failed: (condition), function assertWithMessage, file SingleInstanceChecker.h, line 26.

assertWithMessage > condition > SingleInstanceChecker.h

Any suggestions?