nightmare-space / adb_kit

使用 Flutter 开发的 ADB GUI 客户端
BSD 3-Clause "New" or "Revised" License
448 stars 64 forks source link

What prevents the project from being usable on iOS? #8

Open sharpordie opened 2 years ago

sharpordie commented 2 years ago

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?

mengyanshou commented 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

sharpordie commented 2 years ago

However, there are ready-made libraries.

Did you find a Dart library implementing ADB over network? I haven't found anything on pub.dev.

mengyanshou commented 2 years ago

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.