1
0
mirror of https://github.com/tijder/SmsMatrix.git synced 2024-10-27 18:24:01 +00:00
Commit Graph

3 Commits

Author SHA1 Message Date
Tulir Asokan
380553bc60 Update to latest matrix-android-sdk (#60)
* Make it build

* Add olm sdk

* Make it work

* Update other dependencies
2019-10-12 22:21:09 +02:00
Brett Kosinski
575f591c13 Upgrade to matrix-android-sdk 0.9.14.
There's a bunch of changes, required, to move to the latest SDK:

1. Update AAR's.  The matrix-sdk.aar in this commit was built from the
v0.9.14 tag of the matrix-android-sdk git repository.  olm-sdk.jar is
pulled from the same place.

2. Updates to the build scripts.  matrix-android-sdk added kotlin as a
dependency, moved to okhttp3, added io.realm, and so on.

3. Code modifications to support new SDK itself.  The changes, here, are
a grab bag, and you're best off just reading the commit.

Of particular note, here, is that LoginRestClient.loginWithUser takes a
device name *and* a device ID, now (the previous API only took a device
name).  As a wicked had, right now, I'm just using the name as the ID,
but I have no doubt that's wrong and this should be cleaned up to
include a randomly generated, persisted device ID, as I believe this is
used by Synapse to track login sessions.
2018-12-29 16:26:49 -07:00
Gerben Droogers
3bf00e3ed3 First commit 2017-10-10 23:26:41 +02:00