Commit Graph

15 Commits

Author SHA1 Message Date
Niko Diamadis
d7895c9383 Define websocket foreground service type 2023-11-29 18:22:06 +01:00
Jannis Mattheis
b1be4d7b76 fix: remove probably unnecessary unregister
When the refresh button is clicked in the navigation drawer, then
startPushService is executed which registers the handler. The
WebSocketService itself is reused, thus isn't created again or
destroyed. From my tests the callback isn't registered twice after the
refresh. Thus, I'd expect the unregister isn't needed at all because
android somehow does this automagically.
2023-10-08 20:01:02 +02:00
Jannis Mattheis
96fa5af2bf Replace log usage everywhere 2023-10-08 10:21:40 +02:00
Jannis Mattheis
8adb3095f8 Configure tinylog 2023-10-08 10:21:40 +02:00
Niko Diamadis
8596e6ffdf Prevent direct execution of intentURLs with confirmation dialog 2023-10-04 19:46:53 +02:00
Niko Diamadis
8c86e3f622 Remove logging of websocket connectivity 2023-07-24 14:17:59 +02:00
Niko Diamadis
2397e2eea9 Update Kotlinter to 3.15.0 2023-07-18 00:01:04 +02:00
henry.yao
dae7834488 Try to reconnect when network gets available 2023-05-02 18:34:51 +02:00
Jannis Mattheis
50f4dea1ac Remove unused intent filter 2023-02-21 13:52:46 +01:00
Jannis Mattheis
cfc473cce0 Move appIdToApp to WebSocketService
The PicassoHandler doesn't really need access to the full list, as it
only requires the application image.
2023-02-21 13:36:03 +01:00
Niko Diamadis
1182f358cb Move channel creation to WebSocketService 2023-02-18 12:39:55 +01:00
Niko Diamadis
5399d003e4 Shrink signature of channel fallback creation method 2023-02-17 15:45:41 +01:00
Niko Diamadis
ddd902e17e Implement optional separate app notification channels 2023-02-13 12:24:40 +01:00
Niko Diamadis
284428c7ad Fix incoming message crash 2023-01-14 15:45:59 +01:00
Niko Diamadis
3321f9eee5 Move source files from 'java' to 'kotlin' folder 2023-01-13 14:49:53 +01:00