Commit Graph

47 Commits

Author SHA1 Message Date
ismailgulek 77c367a3e3 Enhance logs 2021-06-11 14:38:07 +03:00
ismailgulek b25d102400 Handle app state better 2021-06-11 14:37:53 +03:00
ismailgulek ebefdbf517 Handle app inactive state too 2021-06-10 11:43:08 +03:00
Stefan Ceriu a8b0e8700e Adopt consolidated logging mechanism (#4370)
* Adopted the new MXLog and replaced NSLog throughout the application - vector-im/element-ios/issues/4351
* Replaced NSLog() and print() usages with MXLog.debug()
* Added swiftlint rules for NSLog(), print(), println() and os_log()
* Escape paths used to run script build phases for swiftlint and swiftgen
2021-06-03 11:30:07 +03:00
ismailgulek f132070fc7 Update store mechanism for call invites 2021-05-10 17:28:59 +03:00
ismailgulek 4a704262d4 Add removeAll method to KeyValueStore 2021-05-10 17:21:44 +03:00
ismailgulek ac11b5a4ef No need to check session state twice 2021-05-10 15:51:26 +03:00
ismailgulek d789bde498 Use model class to read call id 2021-05-07 11:05:37 +03:00
ismailgulek 2c70aec02b Do not display group call notification when in the related room 2021-04-20 15:51:46 +03:00
ismailgulek 63c4235ed4 Show notifications always for incoming group calls 2021-04-14 16:30:21 +03:00
ismailgulek a6b2bce0d9 Handle widget events from VoIP pushes 2021-03-19 03:00:14 +03:00
ismailgulek 69d9975060 Add comments 2021-02-02 10:54:06 +03:00
ismailgulek ce36e53cd6 Process sync response before decrypting call invite 2021-02-01 18:00:45 +03:00
ismailgulek fef578c0d5 Launch background sync after reporting the call 2020-10-01 14:04:30 +03:00
SBiOSoftWhare e7dd9da864 Merge branch 'develop' into element_3594
# Conflicts:
#	CHANGES.rst
2020-09-04 12:35:08 +02:00
manuroe 2dc90a3715 PushKit: Fix Steve's comment 2020-09-03 08:20:26 +02:00
manuroe b99cd6bc21 PushKit: Check all registered pushers and remove PushKit ones 2020-09-02 17:00:05 +02:00
SBiOSoftWhare 36627fac90 Update PushNotificationService. 2020-08-31 19:38:32 +02:00
manuroe f5e46983dd PushNotificationService: Use the MatrixKit way to remove PK pusher
This is a revert of #3601
2020-08-31 17:51:20 +02:00
manuroe da07e34949 PushKit pusher: Add more logs when removing it
#3577
2020-08-31 16:42:21 +02:00
ismailgulek cefbe9fcec Fix removal of pushers 2020-08-27 19:29:44 +03:00
ismailgulek cbf8543da0 Explicitly remove PushKit pushers 2020-08-27 17:57:48 +03:00
ismailgulek 91d8534953 Use latest SDK 2020-08-26 13:05:50 +03:00
ismailgulek 7426ca14b0 Improve logs 2020-08-25 14:13:38 +03:00
ismailgulek 14106e16dd Fix potential memory management problems 2020-08-20 17:50:15 +03:00
ismailgulek 2e656c27c9 Remove shared instance 2020-08-20 17:43:46 +03:00
ismailgulek 71792e1466 Rename store variables 2020-08-20 17:33:03 +03:00
ismailgulek 7a96c60140 Rename PushNotificationManager to PushNotificationStore 2020-08-20 17:31:47 +03:00
ismailgulek 226ec1be1f Update PushNotificationService.m 2020-08-12 21:44:10 +03:00
ismailgulek 130f89a891 Avoid receiving VoIP pushes before session store data ready 2020-08-11 21:19:47 +03:00
ismailgulek b5e39fdb90 Refactor remove call notifications method 2020-08-11 12:53:51 +03:00
ismailgulek 49716d58b7 Remove call notifications on various points 2020-08-10 18:20:02 +03:00
ismailgulek 05d2a8042f Do background sync on voip push 2020-08-10 18:19:08 +03:00
ismailgulek 00c92a7646 Merge branch 'develop' into element_3452
# Conflicts:
#	Riot.xcodeproj/project.pbxproj
2020-08-10 14:20:28 +03:00
ismailgulek 31d163b1d9 Use PushNotificationManager 2020-08-05 14:13:53 +03:00
ismailgulek 6d117c13ba Introduce PushNotificationManager 2020-08-05 14:12:37 +03:00
ismailgulek 073f76ae2a Disable message highlighting when app opened from a notification 2020-06-15 13:49:22 +03:00
ismailgulek 85e2007d88 Pass eventId when navigating to room from notification 2020-06-09 17:51:07 +03:00
ismailgulek b5e26cedd4 Clear old notification handling from PushNotificationService, fix notification doubling 2020-06-03 15:08:53 +03:00
ismailgulek 703964df52 Fix reply from notification when session store not ready yet 2020-06-03 14:20:06 +03:00
ismailgulek ca05107dc0 Remove some commented code
Signed-off-by: ismailgulek <gulekismail@gmail.com>
2020-05-26 18:04:18 +03:00
ismailgulek 72279f7f79 Implement a workaround to delete some notifications afterwards
Signed-off-by: ismailgulek <gulekismail@gmail.com>
2020-05-25 17:52:29 +03:00
ismailgulek 2956fce3be Fix Manu's comments
Signed-off-by: ismailgulek <gulekismail@gmail.com>
2020-05-25 15:50:26 +03:00
ismailgulek eb2d572e91 Create notification service extension
Signed-off-by: ismailgulek <gulekismail@gmail.com>
2020-05-22 14:27:30 +03:00
ismailgulek 5648eea563 Fix Steve's coment
Signed-off-by: ismailgulek <gulekismail@gmail.com>
2020-05-22 11:52:06 +03:00
ismailgulek baad108205 Make PushNotificationService not singleton
Signed-off-by: ismailgulek <gulekismail@gmail.com>
2020-05-22 11:52:06 +03:00
ismailgulek 02bb2ac7bd PushNotificationService implementation
Signed-off-by: ismailgulek <gulekismail@gmail.com>
2020-05-22 11:50:45 +03:00