1
0
mirror of https://github.com/tijder/SmsMatrix.git synced 2024-10-27 18:24:01 +00:00
Go to file
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
.idea updated android studio 2017-12-09 22:18:33 +01:00
app Upgrade to matrix-android-sdk 0.9.14. 2018-12-29 16:26:49 -07:00
gradle/wrapper Update gradle 2018-11-16 18:34:03 +01:00
.gitignore added .idea files 2017-10-12 11:04:29 +02:00
build.gradle Upgrade to matrix-android-sdk 0.9.14. 2018-12-29 16:26:49 -07:00
gradle.properties First commit 2017-10-10 23:26:41 +02:00
gradlew First commit 2017-10-10 23:26:41 +02:00
gradlew.bat First commit 2017-10-10 23:26:41 +02:00
LICENSE Add a license for the project #24 (#25) 2018-11-12 16:40:53 +01:00
README.md Update README.md 2018-11-20 18:54:26 +01:00
settings.gradle First commit 2017-10-10 23:26:41 +02:00

SmsMatrix

A simple SMS (text message) <--> Matrix bridge.

This app bridges all sms messages to matrix. For every (new) text conversation contact the bot will open a private 1:1 room and sends the incoming messages to that room. Any messages sent in that room by the matrix user will then be sent to the contact via SMS.
As currently there is no end-to-end encryption implemented in this app, for privacy reasons it is preferable to use it with your own Matrix server. Your data-in-transit however will always be safe as they are encrypted using https over matrix -- provided the Matrix server is configured properly.

Set up

  • Create a acount on a homeserver
  • Install this app (apk can be found by releases)
  • Give the app the app permission
  • Type in the needed info in the app
    • Bot Username: is the username of the just created user
    • Bot Password: is the password of the just created user
    • Homeserver url: is the url of the homeserver where the user is created
    • Your username: is where you want to forward all yous text message to
    • Devicename: is the devicename wich the api will use
  • Press save
  • Now all your text messages will be bridged
  • [optional] Disable battery optimisations for the app. so the app wont be killed by Android.