Skip to content

Conversation

@Ayyanchira
Copy link
Member

@Ayyanchira Ayyanchira commented Mar 28, 2021

🔹 Jira Ticket(s) if any

https://iterable.atlassian.net/browse/MOB-2762

✏️ Description

  1. Dont show inapp (process message) right on switching to foreground. Wait for sync to happen and it will trigger scheduleProcessing automatically.
  2. Schedule Processing is manually called if the app comes to foreground within 60 seconds of its last sync.
  3. Schedule processing is also called when getMessage call fails. It compensates for network being offline

1. Dont show inapp (process message) right on switching to foreground. Wait for sync to happen and it will trigger scheduleProcessing automatically.
@codecov
Copy link

codecov bot commented Mar 29, 2021

Codecov Report

Merging #332 (bb6f34a) into master (fedfa58) will decrease coverage by 0.23%.
The diff coverage is 50.00%.

❗ Current head bb6f34a differs from pull request most recent head 9bc7533. Consider uploading reports for the commit 9bc7533 to get more accurate results
Impacted file tree graph

@@            Coverage Diff             @@
##           master     #332      +/-   ##
==========================================
- Coverage   70.86%   70.62%   -0.24%     
==========================================
  Files          60       60              
  Lines        3734     3735       +1     
  Branches      437      436       -1     
==========================================
- Hits         2646     2638       -8     
- Misses        825      831       +6     
- Partials      263      266       +3     
Impacted Files Coverage Δ
...com/iterable/iterableapi/IterableInAppManager.java 87.50% <50.00%> (-0.91%) ⬇️
.../iterable/iterableapi/IterableActivityMonitor.java 93.44% <0.00%> (-3.28%) ⬇️
.../com/iterable/iterableapi/IterableRequestTask.java 84.07% <0.00%> (-1.77%) ⬇️
...ain/java/com/iterable/iterableapi/IterableApi.java 65.53% <0.00%> (-0.25%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update fedfa58...9bc7533. Read the comment docs.

@Ayyanchira Ayyanchira requested a review from vbabenkoru March 29, 2021 16:33
1. Updated JSON used by test cases to have read state.
2. Removed syncInApp calls as it is internally triggered when app comes to foreground.
3. Schedule Processing is manually called if the app comes to foreground within 60 seconds of its last sync.
4. Schedule processing is also called when getMessage call fails. It compensates for network being offline
@Ayyanchira Ayyanchira force-pushed the MOB-2762-BUG-fix-In-App-Read-State branch from 8829ae7 to 9bc7533 Compare March 29, 2021 17:36
@Ayyanchira Ayyanchira requested a review from vbabenkoru March 29, 2021 17:53
@Ayyanchira Ayyanchira merged commit 58d15a9 into master Mar 29, 2021
@Ayyanchira Ayyanchira deleted the MOB-2762-BUG-fix-In-App-Read-State branch March 29, 2021 21:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants