feat: foreground service for sending pending messages (WPB-26422) - #4971
Conversation
Ups 🫰🟨This PR is too big. Please try to break it up into smaller PRs. |
3e5917a to
d2ec791
Compare
Codecov Report❌ Patch coverage is ❌ Your patch check has failed because the patch coverage (41.14%) 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 49.81% 49.78% -0.03%
===========================================
Files 665 667 +2
Lines 24139 24316 +177
Branches 3755 3775 +20
===========================================
+ Hits 12025 12106 +81
- Misses 10985 11081 +96
Partials 1129 1129
Continue to review full report in Codecov by Harness.
🚀 New features to boost your workflow:
|
d2ec791 to
c78640a
Compare
|
@sbakhtiarov looks like you are rolling back kalium to a previous commitish. This means that the PR's target branch (develop) is using a newer version of Kalium, and the changes in this PR will rollback Kalium to an older version.
Is this intentional? |
|
77e7efa to
67bcc53
Compare
|
APKs built during tests are available here. Scroll down to Artifacts! |



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.