Signal-iOS/Signal
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
..
AudioFiles
Images.xcassets Remove PayPal donation confirmation screen 2022-12-13 11:14:09 -06:00
Lottie Updated animation for + attachment button in chat input panel. 2022-11-10 23:09:26 -08:00
NSE-Images.xcassets Cache built avatars to disk for NSE 2022-02-14 11:59:13 -08:00
Settings.bundle Update SSZipArchive to 2.5.2 2022-11-01 16:23:22 -05:00
Sounds Autoplay subsequent audio messages 2021-04-29 18:01:21 -07:00
src Rotate APNS tokens automatically when the NSE fails to receive notifications 2022-12-19 11:10:15 -08:00
test Rotate APNS tokens automatically when the NSE fails to receive notifications 2022-12-19 11:10:15 -08:00
translations Remove unused PinEntryView and a dependency 2022-12-14 15:51:15 -08:00
.swiftlint.yml
iTunesArtwork@3x.png
main.m Change license to AGPL 2022-10-13 08:25:37 -05:00
Signal-AppStore.entitlements Use a custom scheme to complete the PayPal auth flow 2022-12-06 13:41:24 -08:00
Signal-Info.plist "Bump build to 6.7.0.9." (nightly-12-17-2022) 2022-12-17 04:01:00 -08:00
Signal-Prefix.pch Change license to AGPL 2022-10-13 08:25:37 -05:00
Signal.entitlements Use a custom scheme to complete the PayPal auth flow 2022-12-06 13:41:24 -08:00
SignalTSan.supp
SignalUBSan.supp