Greyson Parrelli
23804046c6
Always use new foreground service utils.
2022-11-30 17:10:36 -05:00
Greyson Parrelli
afedbf40e3
Prepare the websocket keepalive for API 31.
2022-10-04 17:32:57 -04:00
Cody Henthorne
b002235ef7
Keep web socket open during calling to improve message delivery.
2022-08-03 17:17:35 -04:00
Cody Henthorne
7e6fcb80a3
Revert all new network detection API usage and refactorings.
2022-03-21 12:21:46 -04:00
Greyson Parrelli
057231b9c3
Update libsignal-client to 0.14.0
2022-03-17 12:12:56 -04:00
Cody Henthorne
9389ee17b6
Use individual notification channels for background connection and call status.
2022-02-16 14:12:34 -05:00
Cody Henthorne
f091502949
Use newer APIs for detecting network changes.
2022-02-02 16:50:58 -05:00
Greyson Parrelli
8aea20f147
Migrate local account data into SignalStore.
2021-11-17 16:14:26 -05:00
Cody Henthorne
712b0c147a
Improve WebSocket health monitoring.
2021-07-27 13:40:33 -04:00
Cody Henthorne
5d6d78a51e
Initial WebSocket refactor.
2021-07-15 16:28:13 -04:00
Cody Henthorne
eda2b87a57
Prevent race condition when closing/reopening message receiver.
2021-04-12 12:25:09 -04:00
Greyson Parrelli
b053fbc4a7
Use Log.tag where appropriate.
2021-03-31 16:02:32 -03:00
Greyson Parrelli
fb0243a029
Fix issue with websocket connection after reregistering.
...
Big shoutout to @jonahbeckford for the investigation here. Thanks!
Fixes #10939
Fixes #11095
2021-03-18 11:07:34 -04:00
Greyson Parrelli
d924fc92ab
Improve accuracy of decryption drained constraint.
2021-02-12 22:42:01 -05:00
Greyson Parrelli
29d66f2b92
Remove unused signaling key code.
2021-02-10 15:21:04 -05:00
Greyson Parrelli
763a12dbc6
Ensure we only have one IncomingMessageObserver.
...
We saw a worrisome log that implied there may be a situation where
there's two IncomingMessageObservers. I can't see how that would happen,
but this is a failsafe to prevent that from happening.
2021-02-10 15:21:04 -05:00
Greyson Parrelli
3bdf2e7e2c
Add a system to improve app foreground observation.
...
There was previously a crash that occurred when multiple threads tried to use ProcessLifecycleOwner, and this will hopefully resolve that.
2021-02-08 15:37:45 -05:00
Greyson Parrelli
30563ed3e5
Allow using a proxy during registration.
2021-02-02 20:32:52 -05:00
Greyson Parrelli
46344776a4
Add UI support for configuring a proxy.
2021-02-02 16:42:47 -05:00
Greyson Parrelli
cdd7b2deb9
Improve and streamline Application#onCreate.
2021-01-06 17:03:20 -04:00
Greyson Parrelli
9f8e31db78
Change WebsocketDrainedConstraint to DecryptionsDrainedConstraint.
2020-12-08 18:10:04 -05:00
Greyson Parrelli
8e93bf9075
Create a core-util module with some common utilities.
2020-12-05 13:44:13 -05:00
Greyson Parrelli
662f0b8fb6
Improve detection of websocket drained status.
...
Will now work when you lose and regain network. Also removes the
unnecessary InitialMessageRetriever.
2020-07-21 10:38:42 -04:00
Greyson Parrelli
a299bafe89
Create a new system for fetching the intial batch of messages.
2020-05-29 09:51:21 -04:00