Benoit Marty
faa40dbb19
Move `notification_accent_color` from resource file to `NotificationConfig`
5 months ago
Benoit Marty
2c181e376b
Remove unused import.
5 months ago
Benoit Marty
416cbb679b
Update test and add test for incoming call when notifications are disabled.
5 months ago
Benoit Marty
8f916eaece
Always notify for incoming calls, even if notifications are disabled.
5 months ago
Benoit Marty
bebd344e72
Notification channels: Use `NotificationChannelCompat.Builder`.
5 months ago
Benoit Marty
ed5eb48159
Notification channels: No need to include the version in the constant name.
5 months ago
Benoit Marty
e66a725f30
Notification channels: Remove unused `LISTEN_FOR_EVENTS_NOTIFICATION_CHANNEL_ID`
5 months ago
Benoit Marty
02c376b9bf
Notification channels: small iteration on old channel deletion.
5 months ago
Benoit Marty
f09b77f72f
Update test after merging develop.
5 months ago
Jorge Martin Espinosa
b741c32e91
Add full screen intent permissions banner ( #3024 )
...
* Add full screen intent permissions banner, creating `:libraries:fullscreenintent` modules.
* Add it to notification settings too:
- Create `libraries:fullscreenintent` modules for the permission presenter and associated data.
- Add the presenter and states to `NotificationSettingsPresenter` and `NotificationSettingsView`.
* Use the right API to check for full screen intent permissions.
- Use the right package name for `:libraries:permission` contents.
* Fix broken tests (flaky?)
* Ignore coverage verification for fake and small presenters
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
5 months ago
Benoit Marty
b4b407a69e
Store the first provider even if no distributor is available, else error in troubleshoot test will not be accurate.
...
Also when registering for the first time, pick the fist available provider with at least one distributor.
5 months ago
Benoit Marty
f72fc36de8
Update PushProvider API, remove `isAvailable()`, but instead rely on `getDistributors()` to eventually return an empty list of Distributors.
5 months ago
Benoit Marty
eb07ae2855
Add test on `ignoreRegistrationError` and `setIgnoreRegistrationError`
5 months ago
Benoit Marty
64930e4435
Add ability to not show the pusher registration again.
5 months ago
Benoit Marty
725c3838af
Render an error dialog in case registering a pusher fails.
5 months ago
Benoit Marty
3d5951cbf0
Add test on pusher registration
5 months ago
Benoit Marty
148177f24e
Fix typo in log.
5 months ago
bmarty
9288b90ac6
Sync Strings from Localazy
5 months ago
Benoit Marty
6491405b76
Remove TODO.
5 months ago
Benoit Marty
0fa662175d
Un-deprecate `screen_room_retry_send_menu_send_again_action` and sync string again.
5 months ago
Jorge Martin Espinosa
f07ec61ecc
Notify of ringing call when there's an active call ( #3003 )
...
* Add `CallNotificationEventResolver` to be able to force the new ringing notification to be non-ringing given an existing ringing one.
5 months ago
Jorge Martin Espinosa
30a1367714
Element Call ringing notifications ( #2978 )
...
- Add `ActiveCallManager` to handle incoming and ongoing calls.
- Add ringing call notifications with full screen intents and missed call ones as part of the 'conversation' notifications.
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
5 months ago
bmarty
f3d286911c
Sync Strings from Localazy
5 months ago
Benoit Marty
acefbbc7d8
Fix formatting issues.
5 months ago
Benoit Marty
afe5c33f33
Add test on NotificationBroadcastReceiverHandler
5 months ago
Benoit Marty
4db9b5ee11
Use getStringExtra
5 months ago
Benoit Marty
d8c68e5b19
Remove unused actions and fix comment
5 months ago
Benoit Marty
6eaa6a6b99
Extract NotificationBroadcastReceiverHandler to its own file
5 months ago
Benoit Marty
cface66f20
Do not provide the context, but use the StringProvider.
5 months ago
Benoit Marty
37d9d42eb7
NotificationBroadcastReceiver now delegate treatment to NotificationBroadcastReceiverHandler to be able to unit test the logic
5 months ago
Benoit Marty
61b3709970
Let NotificationBroadcastReceiver inject NotificationDrawerManager instead of implementation
5 months ago
Benoit Marty
3ddec73ac5
When replying from notification, do not interfere with `specialModeEventTimelineItem`
5 months ago
Benoit Marty
7c559363a4
Handle quick reply from notification (still disabled)
5 months ago
bmarty
66636ea967
Sync Strings from Localazy
5 months ago
Jorge Martin Espinosa
025d913b6e
Simplify summary notifications ( #2958 )
5 months ago
Jorge Martin Espinosa
8b85cc0160
Fix grouped notifications only displaying the latest message ( #2956 )
...
`DefaultActiveNotificationsProvider.getNotificationsForSession(sessionId)` had a broken logic for checking a notification's group and retrieving notifications from the same session.
5 months ago
bmarty
ca5bc71057
Sync Strings from Localazy
5 months ago
Benoit Marty
8c3bb043ab
Fix small issue introduced in #2924 .
5 months ago
Jorge Martin Espinosa
a1adc7476d
Bump Matrix Rust SDK to `v0.2.21` and fix conflicts ( #2938 )
5 months ago
Jorge Martin Espinosa
04e503177b
Notifications: simplify the flow by removing persistence ( #2924 )
...
* Notifications: simplify the flow by removing persistence.
* Bump of minSdk to `24` (Android 7).
* Add migration to remove `notification.bin` file
5 months ago
Benoit Marty
3349df5a24
Set the value of `currentDistributorName` by reading again the value from the service.
5 months ago
Benoit Marty
b3e0f6e843
Translations: pt -> pt-rBR
5 months ago
bmarty
f24e537580
Sync Strings from Localazy
5 months ago
Benoit Marty
7911fda1fa
Rename class (code quality)
5 months ago
Benoit Marty
d066f03eab
Add logs on pusher registration
5 months ago
Benoit Marty
f04253287f
Introduce lambdaError instead of using TODO, to handle error when a lambda is invoked and it should not.
5 months ago
Benoit Marty
90a14ce056
Change to lambda
5 months ago
Benoit Marty
eafa713995
Add test on VectorFirebaseMessagingService
5 months ago
Benoit Marty
b2a3b9653e
Add test on DefaultPushHandler
5 months ago
Benoit Marty
5b074dc0ba
Create interface for NotifiableEventResolver
5 months ago