Closed TKDickson closed 1 year ago
@TKDickson This is interesting, looking at a longer time period, I can see that Android's percentage was lagging, but over time it has increased:
I see the same when checking the Remote Config stats:
The slow uptake for Android is probably not caused by devices caching Remote Config flags, because we have set our Remote Config client to use a fetch timeout of 10 seconds and a cache time of 30 minutes. Those settings are the same on both platforms.
My best guess is that Android devices aren't automatically updating apps as frequently as iPhones are. When an app update does happen, the device should kill the app if it's already running, then install the new version. When the user runs the updated app, the app should immediately fetch the latest remote config values at that point.
I did some research and couldn't determine anything further about why Android might apply automatic app updates more slowly than iOS. I wonder if the App Store and the Play Store could provide us with data showing how many users have each particular app version installed, or available to be installed, over time. That could help determine whether app updates are at the root of the problem. Binny mentioned we've seen updates being slower to roll out on Android compared to iOS.
This concludes my quick investigation. I'll increase the estimate on the ticket in case we want to do more in the future.
@bischoffa I did a quick investigation on this bug, wrote up my findings, updated the estimate, and moved it to the backlog
@bischoffa I don't have access to firebase or the individual stores to check version deployment and overall app update rate that may be contributing to this issue. However I did find a few things when looking at Android specific things.
@kellylein fyi as this is a bug with blue team
@Sparowhawk @alexandec thanks for the details and your write ups.
I pulled this out of the sprint as we do not have capacity to add more points to FE. Plus seems like additional conversations / discussions needed based on the findings.
@kellylein Binny reched out to me about this ticket, I asked him to touchbase with you on it.
Closed per @kellylein and @timwright12 .
What happened?
Generally, our Android/iOS split is ~35% Android, and ~65% iOS. And you can see this across feature usage, for instance viewing appointment details, which is 30% Android traffic:
But for features that are still tied to feature flags, Android stats lag significantly (closer to ~10-15%/~85-90% split for Android and iOS). Here's encouraged update being shown to users, which has been out for a while and just 13% of all traffic is Android:
Here's Rx refill success - Android is 8% of all traffic:
I'm not sure what's going on here, but it's worth looking into to make sure we're not inadvertently excluding Android users from new features for longer with how RC/feature flags work.
The lower stats for Android across the board (in events) are also echoed by the lower % of successful Android fetches, where firebase defines fetch as "a successful request from your app to the Remote Config server". Hovering at 10% Android for both of the above features:
Specs:
Steps to Reproduce
To get to these various dashboards: Go to firebase
Fetch rate/RC stuff is in "Remote Config" (lefthand sidebar, in "Project Shortcuts" section). It's automatically separated by iOS vs Android, you just need to tap the row to expand the RC you're interested in.
All of the other graphs shown are events-based, so go to "Events" (from Project Shortcuts section of left sidebar), then filter using the magnifying glass to just the event you're interested in, then tap on the row name to open an event-specific graph like the ones I screenshotted above. To show iOS vs Android, you'll need to tap the "Add Comparison" button (by the blue "all users" label tag near the top of the screen), then use the right sidebar that pops open to complete the workflow - select "platform" for dimension, then either iOS or Android for dimension value, then tap apply. Then do that again, but pick the other one (iOS if you already picked Android).
Desired behavior
Acceptance Criteria
Bug Severity - BE SURE TO ADD THE SEVERITY LABEL
See [Bug Tracking](https://github.com/department-of-veterans-affairs/va.gov-team/blob/master/products/va-mobile-app/testing/VA%20Mobile%20App%20Test%20Plan.md#issue-severity) for details on severity levelsLinked to Story
Screen shot(s) and additional information
Ticket Checklist