-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
Query GitHub API instead of Google Play Store to determine beta #13698
Conversation
@thesahindia @stitesExpensify One of you needs to copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me! One question, asked in Slack https://expensify.slack.com/archives/C01GTK53T8Q/p1671478936799619?thread_ts=1671463601.976569&cid=C01GTK53T8Q
Reviewer ChecklistChecking this off, this is related to how we get release numbers so we cannot test this well locally.
Screenshots/VideosWebMobile Web - ChromeMobile Web - SafariDesktopiOSAndroid |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code LGTM. Why did we have to update that package though? Just want to make sure it wasn't a mistake 😄
@thesahindia Sorry for the ping, no need to QA here |
I moved the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm!
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
Performance Comparison Report 📊Significant Changes To DurationThere are no entries Meaningless Changes To DurationShow entries
Show details
|
🚀 Deployed to staging by @srikarparsi in version: 1.2.42-0 🚀
|
Hmmm... @chiragsalian @mountiny @stitesExpensify @srikarparsi @AndrewGable Would steps 3 and 4 here be Production QA? |
Yes, agree we will need to wait for this code to be on production to test 3 & 4. |
Great - @chiragsalian @mountiny @stitesExpensify @srikarparsi @AndrewGable - please remember to do that when this PR hits production 🙇♂️ Gonna check this off the QA checklist ✅ |
🚀 Deployed to production by @yuwenmemon in version: 1.2.42-2 🚀
|
@AndrewGable Have you been able to test this one in Production, as mentioned above? |
Details
On Android we were relying on scraping the Google Play Store to determine whether we were on a Beta version or not. This led to issues as seen in the linked issue, in addition we don't have any guarantee this data will come in the format we expect in the future. This changes to query GitHub's API using a format we can rely on (JSON) to get the latest release.
Fixed Issues
$ #11132
https://expensify.slack.com/archives/C01GTK53T8Q/p1671463601976569
Tests
Android only tests
Offline tests
N/A
QA Steps
Android only tests
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)src/languages/*
files and using the translation methodWaiting for Copy
label for a copy review on the original GH to get the correct copy.STYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)/** comment above it */
this
properly so there are no scoping issues (i.e. foronClick={this.submit}
the methodthis.submit
should be bound tothis
in the constructor)this
are necessary to be bound (i.e. avoidthis.submit = this.submit.bind(this);
ifthis.submit
is never passed to a component event handler likeonClick
)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)ScrollView
component to make it scrollable when more elements are added to the page.Screenshots/Videos
Web
Mobile Web - Chrome
Mobile Web - Safari
Desktop
iOS
Android