I have seen already a number of border cases and strange developer interface.
From the \"shake your device\", which is really impractical, specially with a tablet
In the case you have a Xiaomi phone, the given answer will not work, because there is a security option prevented popup window to open and you need to allow it for your app :
Go to Settings > Installed apps > [Your App Name] > Permission manager, and enable “Display pop-up window”.
Shake again. The developer menu should pop up as expected with just a little shaking.
Source: https://matthewphiong.com/debugging-react-native-app-on-a-xiaomi-phone