adb_kit icon indicating copy to clipboard operation
adb_kit copied to clipboard

What prevents the project from being usable on iOS?

Open sharpordie opened this issue 3 years ago • 3 comments

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.

  • https://github.com/mobile-dev-inc/dadb
  • https://github.com/JeffLIrion/adb_shell

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?

sharpordie avatar Jun 20 '22 09:06 sharpordie

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

Laurie-Lin avatar Jun 21 '22 06:06 Laurie-Lin

However, there are ready-made libraries.

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

sharpordie avatar Jun 21 '22 08:06 sharpordie

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.

Laurie-Lin avatar Jun 27 '22 09:06 Laurie-Lin