Running Omemo example

Hi,
With Smack 4.3.1 I’m trying to run demo from GitHub - vanitasvitae/HomeMadeOMEMO: Home Made OMEMO Client in < 200 lines of code (MIRROR)

But I must be blind - what gradle dependencies to include Omemo?

I use

implementation ‘org.igniterealtime.smack:smack-java7:4.3.1’
implementation ‘org.igniterealtime.smack:smack-tcp:4.3.1’
implementation ‘org.igniterealtime.smack:smack-im:4.3.1’
implementation ‘org.igniterealtime.smack:smack-extensions:4.3.1’
implementation ‘org.igniterealtime.smack:smack-experimental:4.3.1’

I tried these but they do not exist:

implementation ‘org.igniterealtime.smack:smack-omemo:4.3.1’
implementation ‘org.igniterealtime.smack:smack-omemo-signal:4.3.1’

Yeah, the OMEMO related modules were not included in that build iirc. You could either try smack version 4.3.2 or clone the smack repository yourselves and build them.

I’ll try to update the HomeMadeOMEMO repository with the latest Smack version though :slight_smile:

Thanks Paul. I managed to make the sample run. Though, to my disappointment I discovered that Smack Omemo is GPLv3 = impossible to use in close-code project :frowning:

Yeah, that’s due to libsignal being GPLv3 licensed. You can read a little more about it here:

This topic was automatically closed 62 days after the last reply. New replies are no longer allowed.