Can I restart the React Native app with the command?

I am testing an old iPhone and I need to shake the phone like crazy to get to the dev menu. Is there a command that I can send over the bridge to reboot or invoke the dev menu? I know about a live reboot, but that is not what I want.

For example, on my Android device, I can send adb shell input keyevent 82to simulate a shake event and trigger the dev menu.

+4
source share
1 answer

It is not possible to open the dev menu without shaking the phone. Here is the problem associated with this problem: https://github.com/facebook/react-native/issues/10191 .

, iPhone dev βŒƒβŒ˜Z.

.

+1

Source: https://habr.com/ru/post/1659944/


All Articles