root-check
Try to downgrade the permissions of a process with root privileges and block access if it fails
@expo/sudo-prompt
Run a command using sudo, prompting the user with an OS dialog if necessary
downgrade-root
Try to downgrade the permissions of a process with root privileges
is-elevated
Check if the process is running with elevated privileges