Commit Graph

307 Commits

Author SHA1 Message Date
sim 043c51e975 Bump dependencies, target SDK 35 2024-11-09 16:50:59 +00:00
sim fe46db08eb Migrate to Kotlin DSL 2024-11-09 13:54:35 +00:00
sim 3c89647889 Fix RestartWorker not starting when ping is missing 2024-11-04 19:37:46 +00:00
sim 6ee69319fd Add VAPID support 2024-11-04 19:13:14 +00:00
sim b093c7869b Remove potential sensitive log 2024-11-04 19:09:37 +00:00
sim c712f25cca Move DB consts to companion 2024-11-04 15:17:00 +00:00
sim 67a39da534 Add Last-Event-ID header 2024-11-04 14:54:09 +00:00
sim 9541ed6aed Wipe stores on logout 2024-11-04 14:45:41 +00:00
sim 15e149f76b Lint responseCount 2024-11-04 14:29:21 +00:00
sim fa56b43a83 Create stores to manage shared preferences 2024-11-04 14:29:21 +00:00
sim 66a8a7a660 Improve alert dialogs 2024-11-04 13:22:27 +00:00
sim 4c65a1d40f Remove initAccount from Account interface 2024-11-04 13:22:27 +00:00
sim 0373d0eb63 Rename Acount/AccountFactory 2024-11-03 11:34:54 +00:00
sim dcc4d301aa Log when aborting startListener 2024-11-02 12:46:02 +00:00
sim 38de5edeaa Update lastEventDate only when we start the service 2024-11-02 12:45:49 +00:00
sim 11dbfcd6e9 Lint 2024-11-02 12:39:21 +00:00
sim 558d34c6cf Ensure only once event source is running
Thanks ipoupaile
2024-10-31 14:39:51 +00:00
sim f6edb178dd Add timeout to SSE Listener to restart earlier the connection 2024-10-31 14:38:42 +00:00
sim c2a27b5233 Show single notification as bigtext
Fix #10
2024-10-29 15:13:25 +00:00
sim dfeec5cc43 Move startingTimer to a dedicated object 2024-10-29 15:06:07 +00:00
sim 1cd2340b6c Move wakelocks to a dedicated class 2024-10-29 14:57:30 +00:00
sim 7d8b142ef4 Always run RestartWorker even without registration
The only reason we had that check was in case of network
change without registrations. The check has moved to this
class
2024-10-29 14:40:41 +00:00
sim c851d69baa Use failed reasons 2024-10-28 16:26:29 +00:00
sim 5b5ce7575e Split onReceive
Introduce ConnectorTokenValidity
2024-10-28 14:36:57 +00:00
sim df40581e07 Bump gradle 2024-10-28 14:15:36 +00:00
sim 28221ee172 Fix application package name following AND_3 2024-10-28 11:16:07 +00:00
sim 5dbeb07dde Add comments for FailureHandler functions 2024-10-28 11:13:37 +00:00
sim b3c28be0fc Avoid paralel run of RestartWorker
Make doWork synchronized
Do not add failures count from the worker
2024-10-28 11:12:10 +00:00
sim f17c932e9f Fix network callback
Correctly check if internet was lost before restarting
Set failure counter to 1 from the network callback
2024-10-28 11:07:56 +00:00
sim d290b790d6 Add comments for debug vars 2024-10-28 11:02:31 +00:00
sim 43605d28ec Get application package name following AND_3 2024-10-28 09:48:30 +00:00
sim 41f4fabb33 Raise app to foreground on new message 2024-10-28 09:32:03 +00:00
sim 5d6b3b887d Add Link Activity 2024-10-28 08:19:04 +00:00
s1m 5f314e35e0 Actualiser LICENSE 2024-07-08 15:44:12 +00:00
s1m 914249c1bc Merge pull request 'README update: UnifiedPush Provider App on Nextcloud Server URL update' (#9) from Canard/nextpush-android:canard-readme-server-repository-url into main
Reviewed-on: https://codeberg.org/NextPush/nextpush-android/pulls/9
2024-05-09 20:35:50 +00:00
s1m 3bd573b044 Merge pull request 'Add some Notification Channel examples, change Notification Channel text to add a link to the examples.' (#8) from Undercut0150/nextpush-android:main into main
Reviewed-on: https://codeberg.org/NextPush/nextpush-android/pulls/8
2024-05-09 20:35:50 +00:00
Canard de9c42d23e UnifiedPush Provider App on Nextcloud Server URL update
UnifiedPush Provider App on Nextcloud Server link was pointing to the old repository on GitHub. This change updates the link to the new repository on Codeberg.
2024-05-09 20:35:50 +00:00
Undercut0150 ddd2c85245 Add project links 2024-05-09 20:35:50 +00:00
Undercut0150 1d0b8df91b Update docs/notification_channel_examples.md 2024-05-09 20:35:50 +00:00
Undercut0150 20e4ef3114 Update image sizes again 2024-05-09 20:35:50 +00:00
Undercut0150 75a0ed32d9 Update the example sizes 2024-05-09 20:35:50 +00:00
Undercut0150 52839b0a43 Update docs/notification_channel_examples.md 2024-05-09 20:35:50 +00:00
Undercut0150 a9cb900b77 Updated the link to the notif channels example 2024-05-09 20:35:50 +00:00
Undercut0150 c733965c26 Trying to add example notification images 2024-05-09 20:35:50 +00:00
Undercut0150 7b524cb486 Fix notification channels link
It didn't work the first time I had it set to this so I'm confused now
2024-05-09 20:35:50 +00:00
Undercut0150 5de7bde902 Fix notification channels link 2024-05-09 20:35:50 +00:00
Undercut0150 16c96c3803 Fix the link for Notification channels example 2024-05-09 20:35:50 +00:00
Undercut0150 80e1cb0b64 Add Notification channel documentation to README.md 2024-05-09 20:35:50 +00:00
Undercut0150 923bf70f5a Add example screenshots for Notification channels 2024-05-09 20:35:50 +00:00
Undercut0150 f2b5c12e9b Create a docs folder 2024-05-09 20:35:50 +00:00