adb shell command refresh app code example
Example 1: command reboot android app react native adb command
adb shell input text "RR"
adb shell input keyevent 82
Example 2: close adb shell
run cmd admin
C:\Users\'your username'\AppData\Local\Android\Sdk\platform-tools
adb kill-server and then adb start-server