Skip to content

Generate Kotlin bindings & enable dynamic libraries for Android#40

Merged
WeissDev merged 2 commits into
unomed-dev:mainfrom
tomLadder:android-shared-library-kotlin-bindings
Sep 2, 2025
Merged

Generate Kotlin bindings & enable dynamic libraries for Android#40
WeissDev merged 2 commits into
unomed-dev:mainfrom
tomLadder:android-shared-library-kotlin-bindings

Conversation

@tomLadder

Copy link
Copy Markdown
Contributor

In order to reliably implement push notifications for a matrix client on Android (and iOS via NSE), you need to go to the native side.
This PR enables Kotlin bindings generation and switches from building static to dynamic libraries.

Using dynamic libraries reduces app startup time and improves APK size.
For details, see #285.

@tomLadder tomLadder changed the title Generate Kotlin bindings & enable dynamic library Generate Kotlin bindings & enable dynamic libraries for Android Aug 25, 2025
@tomLadder tomLadder force-pushed the android-shared-library-kotlin-bindings branch from 4708900 to 547e3f4 Compare August 25, 2025 20:37
@WeissDev

WeissDev commented Sep 2, 2025

Copy link
Copy Markdown
Member

Thank you for this contribution! :) LGTM

I fixed the failing build steps in #42. Somehow the generated kotlin code was not always consistent.

@WeissDev WeissDev merged commit 590b06c into unomed-dev:main Sep 2, 2025
2 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants