Skip to content

Use of native code? #22

Description

@lsd-cat

First of all, thanks for the great project, you wrote and maintained so much code and it works pretty well.

I'm using your library in another open source app, and I'm trying to keep dependencies to the minimum and also reduce native code as much as possible, given also that in F-Droid distributions it has to be bundled for all architectures in the same file. I see you developed spake2-java, which afaik is the only Java implementation, but then the package in maven has both the compiled c++ version and the pure java one. Could libadb-android work with the pure Java one only?

Following that, it is my understanding that Android 11+ ship a usable system Conscrypt. I did a brief attempt at adding a org.conscrypt class that bridges the system one, removing the external deps and the need for hidden API bypass, and it seemed to work on Android 15/16, but it seemed to fail on Android 11. Do you think libadb-android could work with the system Conscrypt and without hidden API bypass if the targets were all Android 11+?

If the answers are positive, I'm happy to contribute code back here so that libadb can fall back nicely on the system Conscrypt when possible!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions