Replies: 1 comment
-
|
Is anyone in 2025 looking for a way to use this library on Android? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hey there!
I'm currently wondering how I could best make use of this wonderful library on Android, or rather, calling the library's functions from Java and Kotlin.
I already successfully cross-compiled the
mdtestbinary foraarch64and executed it as part of an Android application, piping apair-phone +xxxxcommand into its input and reading out the resulting linking code. By this I could confirm that whatsmeow also works natively under Android, as I could see messages sent to the linked WhatsApp account in the Android application's log files.Reading articles like Calling Go Functions from Other Languages and others gives me the impression that maybe writing a wrapper application in Go would be the way to go which would expose a C-native interface which I could then call from Android/Kotlin.
What do more experienced Go developers think about this? Should I drop this idea and directly use WuzAPI?
Thanks for your help!
Beta Was this translation helpful? Give feedback.
All reactions