Commit Graph

306 Commits

Author SHA1 Message Date
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
S1m bb49730c91 Use bigText for in-app notif from channel 2024-01-16 20:01:01 +01:00
S1m db43b1ffea Do not replace in-app notif from channel 2024-01-16 20:00:28 +01:00
S1m 8895a8e482 Show nb of registrations on foreground notif 2024-01-16 19:53:38 +01:00
S1m d2bb7d6df4 Do not start the connection without registration 2024-01-16 14:21:12 +01:00
S1m 8c0d23344c Request ignore battery opt instead of openning settings 2024-01-14 22:43:53 +01:00
sim b43eb46f0d Merge branch 'mdeweerd-fix/spelling' 2023-12-04 22:16:38 +01:00
MDW 25b08b7820 Fix some spelling 2023-12-04 22:14:38 +01:00
s1m a4bc8c996f Merge pull request 'doc: Clarify that the Nextcloud server needs UnifiedPush' (#2) from mdeweerd/nextpush-android:doc/install_instructions into main
Reviewed-on: https://codeberg.org/NextPush/nextpush-android/pulls/2
2023-12-03 23:00:16 +00:00
MDW ceb7be11a5 doc: Clarify that the Nextcloud server needs UnifiedPush 2023-12-01 15:30:00 +01:00
sim 48ad5f5edf Optimize woodpecker CI 2023-09-05 22:53:03 +02:00
sim 9587c959bd 1.8.1 2023-09-05 21:51:31 +02:00
sim 006ecb894c Avoid concurrent (un)registration
With synchronized MutableLists
2023-09-05 21:50:17 +02:00
sim 08aca7b5bd Fix woodpecker CI 2023-08-31 22:49:42 +02:00
sim 9dacde74db 1.8.0 2023-08-31 22:46:35 +02:00
sim 9d317b68bd Reset hastInternet to its default value when unregistering callback
At logout, the callback is unregistered, and this var must be true to
try to login.
2023-08-31 22:43:30 +02:00
sim fe731eb352 Avoid varname shadowed 2023-08-31 22:43:03 +02:00
sim 17c402e8cd Avoid deprecated functions 2023-08-31 22:42:26 +02:00
sim 600dec2c69 Use non transitive R classes 2023-08-31 22:26:26 +02:00
sim 6d1285d448 Use new *Sdk names 2023-08-31 22:24:06 +02:00
sim 95270c0e44 Lint 2023-08-31 22:16:26 +02:00
sim 3e7900da61 Avoid false positive warning about server configuration
Use AtomicReference for the startingTimer and check
if the source is the current one
2023-08-31 22:16:26 +02:00
sim 93d42bfd19 Bump dependencies 2023-08-31 22:16:26 +02:00
sim 780370494c Fix notification shown attribute 2023-08-31 22:16:26 +02:00
sim 747beb7620 Restart only if the fail comes from current source 2023-08-31 22:16:26 +02:00
sim 5484ff6d59 Fix initial state for internet check 2023-08-31 22:16:26 +02:00
sim 3cb7d9d531 Do not run restartWorker without internet 2023-08-31 22:16:26 +02:00
sim 4cda3d9f8d Remove static wakelock 2023-08-31 22:16:26 +02:00
sim 2ba1d35c66 Use a global companion 2023-08-31 22:16:26 +02:00
sim ded36d2e6e Always use applicationContext for Api 2023-08-31 22:16:26 +02:00
sim d293129df5 Use AtomicRef for syncSource 2023-08-31 22:16:26 +02:00
sim a8abc9d9e5 Use AtomicRef for Db 2023-08-31 22:16:26 +02:00
sim 5a991e99cd Refactor notifications 2023-08-31 22:16:26 +02:00
Conny Duck 731a51e9c4 Simplify content_main layout 2023-08-31 22:16:26 +02:00
sim 43cdaf8cdb Toast when a new app is registered 2023-08-31 22:16:23 +02:00
sim 13153293a4 Move getApplicationName to Utils 2023-08-30 14:39:38 +02:00
sim 49828c9bf1 Always use applicationContext in receiver 2023-08-29 23:12:50 +02:00
sim c6d39fb073 Move WAKE_LOCK_TAG to const val 2023-08-29 23:10:13 +02:00