-
Notifications
You must be signed in to change notification settings - Fork 10
feat: android interop #1646
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
feat: android interop #1646
Conversation
db8ff8c to
fe45bc1
Compare
|
8debb0b appears to be empty |
fewerner
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great job! I think my main concern is the CI runtime. We should think about testing ios and android separately and in parallel. This would save time in setup and test run and have clear CI dependencies.
crypto-ffi/bindings/android-interop/src/main/java/com/wire/androidinterop/MainActivity.kt
Outdated
Show resolved
Hide resolved
|
Nice commit sequencing and commit messages! 💜 |
|
Shouldn't we add all the android-interop files under We already have Swift interop client here so it would make sense to have Android too. |
|
There's a warning in https://github.com/wireapp/core-crypto/actions/runs/19966647475/job/57260303169: |
I had it in the interop directory initially but that doesn't very well when I want to include the core crypto bindings as a project dependency, it needs to be in the same gradle project (crypto-ffi/bindings). My plan is to also move the iOS and web interop clients to the bindings directory. |
That is surprising. Doesn't gradle support path dependencies?
I would rather not we do that. I think we should retain a clear separation between bindings and interop. |
7a9475f to
1709179
Compare
interop/src/clients/android-interop/src/main/java/com/wire/androidinterop/InteropAction.kt
Show resolved
Hide resolved
istankovic
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a good start, but it still needs more work. In particular, we should keep the interop code separate from the bindings.
interop/src/clients/android-interop/src/main/AndroidManifest.xml
Outdated
Show resolved
Hide resolved
The application follows the same structure as the iOS interop application. Interop commands are sent via intents and the result is printed to stdout / logcat.
As future work it might make sense to merge the ios and android rust clients with separate drivers which abstracts the platform specific communication.
When I run `make android` on a macOS system I don't want to build dylib libraries because android always uses .so libraries.
The checkout step resets the target folder making it impossible to combine this action with other actions which download something into the target folder.
… running the interop
0ccbe09 to
6fda103
Compare
6fda103 to
bd2d649
Compare
|
Alright, I think I resolved all open issues @istankovic. |


What's new in this PR
PR Submission Checklist for internal contributors
SQPIT-764feat(conversation-list): Sort conversations by most emojis in the title #SQPIT-764.