Skip to content
SomePoorBastard edited this page Jul 16, 2020 · 14 revisions

App rights

Nextcloud SMS access to some useful datas:

  • SMS messages
  • Notifications
  • Network

App installation

To use the Android Application, install it from F-Droid.

Go to Android Settings, select Add Account and Nextcloud-SMS.

Now set your server URL like this: https://nextcloud.example.org/. If Nextcloud is hosted under a subdirectory, you can set it to https://nextcloud.example.org/nextcloud, for example. Type your login and your password, and wait for the login.

That's all.

App parameters

When an account was created, go back to Settings and select Nextcloud-SMS.

You can select the following parameters:

  • Differential sync interval
  • Enable sync on: 2G, 3G, 4G, GPRS and Wi-Fi

App mechanics

The application uses three mechanics to push your messages to your Nextcloud instance

  1. Periodic sync: It's a differential sync performed between your device and your Nextcloud instance. Device ask the server for its SMS stored list and send the missing messages to server. This sync is periodic (default: 3 hours).

  2. Push on send/received: When your first received a message after a phone start or an account configuration, the phone start a push on send/received message. Each time your send or received a message, the phone push the message to the server, if data was available.

  3. Push on network up: When your data connection comes up, application check if messages were received whereas data connection was unavailable and sync every messages since last synced message date

Building application

Because some parts can be common to multiple applications, you need to get my Android-lib present here: https://github.com/nerzhul/nrz-androidlib

Clone this wiki locally