command reboot android app react native adb command

JavaScript
adb shell input text "RR"

adb shell input keyevent 82
Source

Also in JavaScript: