Signal-iOS/SignalMessaging
Harry 6556f389c7
Rotate APNS tokens automatically when the NSE fails to receive notifications
* Allow using a transaction for checking APNS token

* Add APNSRotationStore

* add APNSRotationStoreTest

* Rotate APNS tokens in SyncPushTokensJob

* Mark NSE as having processed messages for token rotation

* Check for APNS token rotations after flushing incoming message queue

* pr comments

* Simplify APNS rotation conditions: we mark APNS as working when getting a push in either the NSE or the main app, and rotate if we missed a message since then.

* Mark APNS tokens as working if we ever get a push. Don't rotate known-good tokens.

* Added logging

* add remote flags to control behavior

* pr comments

* fix bad merge

* invert kill switch

* PR nit comments

* Avoid write transactions on the SyncPushTokensJob hot path

* Initial PR feedback, more to come

* Change of strategy: rotate if we have new messages to process on app startup

* PR comments

* use null for calltype column on incoming message rows
2022-12-19 11:10:15 -08:00
..
attachments Add all JobQueues to environment, via a wrapper 2022-11-09 14:08:44 -06:00
calls Fix various bugs in OWSHttpHeaders 2022-11-22 11:43:55 -08:00
categories Use title casing in filenames 2022-11-10 19:08:44 -08:00
contacts Add ContactDiscoveryManager 2022-11-15 13:37:28 -08:00
environment Convert OWSAudioPlayer to swift and lose 'OWS' prefix. 2022-12-06 16:00:58 -08:00
groups Add ContactDiscoveryManager 2022-11-15 13:37:28 -08:00
Jobs One-time donations via PayPal 2022-12-01 14:39:03 -08:00
Notifications Group calls: separate new/existing member safety number notifications 2022-11-14 10:01:04 -08:00
Payments Hide Apple Pay UI when the server disallows your region 2022-11-10 16:19:47 -06:00
profiles Drop deprecated credentials asynchronously 2022-11-15 12:49:20 -08:00
Storage Service Make it explicit where we download missing avatars 2022-11-03 16:58:49 -07:00
Subscriptions Show better errors for credit/debit card failures 2022-12-13 15:45:24 -06:00
test Change error string for minimum donation amount 2022-12-12 15:46:32 -06:00
utils Rotate APNS tokens automatically when the NSE fails to receive notifications 2022-12-19 11:10:15 -08:00
Info.plist Shared framework between app and extension 2017-11-29 13:58:27 -08:00
SignalMessaging-Prefix.pch Change license to AGPL 2022-10-13 08:25:37 -05:00
SignalMessaging.h Change license to AGPL 2022-10-13 08:25:37 -05:00