You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The discover and create functions are hanging as long as the allow button has not been clicked. Internally this is the open function that blocks endlessly.
Is this the desired behavior? If so, why?
val dadb = Dadb.discover("192.168.1.62")
It would be great to throw timeout exception after x seconds.
Or throwing something like AuthorizationRequiredException or FailedAuthenticationException would be even better.
It's trivial with the official binary, you just have to check the connect output.
adb connect 192.168.1.62
* daemon not running; starting now at tcp:5037
* daemon started successfully
failed to authenticate to 192.168.1.62:5555
The text was updated successfully, but these errors were encountered:
@lanzorg a coroutine might not be the best choice in this case as canceling it won't interrupt underlying operations in Dadb (it is not cooperative). Starting a thread {} and then calling thread.interrupt() would be a better option.
Either way, I will discuss it with the team and see if this is something that should be a part of the library itself
The discover and create functions are hanging as long as the allow button has not been clicked.
Internally this is the open function that blocks endlessly.
Is this the desired behavior? If so, why?
It would be great to throw timeout exception after x seconds.
Or throwing something like AuthorizationRequiredException or FailedAuthenticationException would be even better.
It's trivial with the official binary, you just have to check the connect output.
The text was updated successfully, but these errors were encountered: