Closed vfishv closed 5 months ago
I think you want method is Shizuku is prepared to execute our bingUserService code, not app is running.
There are BinderReceived/DeadListener in rikka.shizuku.Shizuku
class, which tracks the state of existence of the Binder
of Shizuku server. There is also pingBinder
in Shizuku class which is directly. If this binder is dead, Shizuku server is not running.
Is the Shizuku app itself running does not matter.
Check permission: it's in README.
is there an API check shizuku running or my app has no shizuku permission?