Open sharpordie opened 2 years ago
As a matter of fact, as long as ios has the ability of serial reading and writing, ADB can be implemented, and adb under the network can be completed with pure Dart, or with pure OC or Swift. However, there are ready-made libraries. At present, I mainly have too many projects and work reasons, so I don't have much time for research, and I am unfamiliar with ios development
However, there are ready-made libraries.
Did you find a Dart library implementing ADB over network? I haven't found anything on pub.dev.
However, there are ready-made libraries.
Did you find a Dart library implementing ADB over network? I haven't found anything on pub.dev.
not yet.Existing repositories are written in native languages.
Is it just ADB or are there other problems?
It seems there is no way to compile ADB on iOS. However, there are pure ADB implementations, but none written in Dart.
I successfully run adb_shell on iOS with Kivy, but it takes 40 minutes (inside VM) to compile a simple app! The dadb is working perfectly on Android, Linux, macOS, and Windows.
Maybe it would be possible to create a Kotlin Multiplatform library, add dadb as dependency and then create a Dart plugin for Android and iOS. Have you already tried this kind of solution for adb_tool and if so, what did you conclude?