Middleware/PushNotifications

Target audience
This page is targeted foremost at platform developers (Vendors) that want to establish and integrate a push notification infrastructure for their project, secondly at developers who want to use/receive push notifications in their applications.

Nemo and Sailfish serve as reference users/targets for this.

Intermediate / Test Platform
TBR has set up a Mosquitto/MQTT based serice that can be used for experiments and also as an interim production environment for apps in need of push notifications right now.

Host: devaamo.fi

Port: 1883 (regular), 1884 (limited testing)

Topics:
 * sailfish/broadcast/… (readable by every client, also without authentication)
 * sailfish/username/… (only accessible to authenticated clients)
 * $SYS/… (server status information)

Credentials can be requested from tbr on IRC by priv-msg.

Client libraries are available currently from a personal OBS repository: https://build.merproject.org/project/show/home:tbr:mqtt

Direct repo URL for Sailfish packages: http://repo.merproject.org/obs/home:/tbr:/mqtt/sailfish_latest_armv7hl/

Adding repo to device: ssu ar tbr-mqtt http://repo.merproject.org/obs/home:/tbr:/mqtt/sailfish_latest_armv7hl/

Platform Evolution
Architecture and features of a future service are under discussion on Freenode IRC: #sailfishos-push