-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: Wrap persistent connection service in try Cherry-pick [WPB-11113] #3547
fix: Wrap persistent connection service in try Cherry-pick [WPB-11113] #3547
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## release/candidate #3547 +/- ##
=====================================================
- Coverage 45.29% 45.24% -0.06%
=====================================================
Files 470 470
Lines 15701 15708 +7
Branches 2627 2627
=====================================================
- Hits 7112 7107 -5
- Misses 7843 7856 +13
+ Partials 746 745 -1
Continue to review full report in Codecov by Sentry.
|
Built wire-android-staging-compat-pr-3547.apk is available for download |
…service_in_try_cherry_pick
Quality Gate passedIssues Measures |
Built wire-android-staging-compat-pr-3547.apk is available for download |
Cherry-pick for RC from develop PR
What's new in this PR?
Issues
crashes in PlayStore https://play.google.com/console/u/0/developers/7098984309886892484/app/4973241010395499500/vitals/crashes/76ed8eaea06144fa56bcc122f39cd8a0/details?days=28&versionCode=100020981
Causes (Optional)
this happens when PersistentConnection Service is killed by some reason and restarted by OS from background.
Solutions
Basically the issue is on Android side, for now google suggests try-catch workaround only
https://issuetracker.google.com/issues/307329994#comment86
Also I've updated
StartPersistentWebsocketIfNecessaryUseCase
to useServicesManager
for starting Service instead of doing it directly. So we have 1 place where all the Services started from.