Commit Graph

293 Commits

Author SHA1 Message Date
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
Undercut0150 92ab85a0cb Add home assistant to examples 2024-05-09 20:35:50 +00:00
Undercut0150 23606fba68 Add some examples for Notification Channels 2024-05-09 20:35:50 +00:00
Undercut0150 ba59e8227a Change add_channel_dialog_content to add new documentation 2024-05-09 20:35:50 +00:00
S1m c8652cfee6 1.9.0: Changelog 2024-01-17 00:16:44 +01:00
S1m 6170f630d1 1.9.0 2024-01-16 23:45:11 +01:00
S1m f4eaba00a5 Lint 2024-01-16 23:45:11 +01:00
S1m f328fcc13f Fix error wrongly shown during SSO connection 2024-01-16 23:27:34 +01:00
S1m 3e83f3d07d Add notification when server app is not installed
And fix showSingle notifications: the shown ref was shared
2024-01-16 23:06:42 +01:00
S1m 25d8cf397e Toast when nextcloud app is not found 2024-01-16 23:04:45 +01:00
S1m b787b0f9b8 Use Enum.entries instead of Enum.values() 2024-01-16 23:04:25 +01:00
S1m 04e76170e9 Add https:// in manual login's url 2024-01-16 20:48:21 +01:00
S1m d6c270c81c Resolve conflict with new Context attribute: deviceId
Rename our context.deviceId to context.npDeviceId
2024-01-16 20:37:15 +01:00
S1m 5a97c8b7e7 Bump dependencies, target SDK 34
Declare service as Special Use, see
https://developer.android.com/about/versions/14/changes/fgs-types-required#special-use
2024-01-16 20:30:21 +01:00
S1m cb96642fd9 Remove unnecessary slash 2024-01-16 20:07:01 +01:00