feat: foreground service for sending pending messages (WPB-26422)#4971
feat: foreground service for sending pending messages (WPB-26422)#4971sbakhtiarov wants to merge 1 commit into
Conversation
Ups 🫰🟨This PR is too big. Please try to break it up into smaller PRs. |
15cc917 to
3e5917a
Compare
3e5917a to
d2ec791
Compare
|
Codecov Report❌ Patch coverage is ❌ Your patch check has failed because the patch coverage (36.31%) is below the target coverage (80.00%). You can increase the patch coverage or adjust the target coverage. Additional details and impacted files@@ Coverage Diff @@
## develop #4971 +/- ##
===========================================
- Coverage 48.76% 48.68% -0.09%
===========================================
Files 644 646 +2
Lines 23145 23319 +174
Branches 3545 3568 +23
===========================================
+ Hits 11287 11353 +66
- Misses 10809 10917 +108
Partials 1049 1049
Continue to review full report in Codecov by Harness.
🚀 New features to boost your workflow:
|



https://wearezeta.atlassian.net/browse/WPB-26422
https://wearezeta.atlassian.net/browse/WPB-26422
What's new in this PR?
Issues
Current solution for sending pending messages after restoring Internet connection does not work when application is not in opened by user.
Causes (Optional)
Caused by recent Android restrictions for background work:
Solutions
Use foreground service which is waiting for connection and retry sending pending messages.