Skip to content

[NMA-1219] Updating okhttp version - #909

Merged
HashEngineering merged 3 commits into
masterfrom
chore-okhttp-update
Mar 8, 2022
Merged

HashEngineering merged 3 commits into
masterfrom
chore-okhttp-update

Conversation

@Syn-McJ

@Syn-McJ Syn-McJ commented Mar 3, 2022

Copy link
Copy Markdown
Member

Now that the minimum Android version is 6.0 we can update okhttp to version 4.x

Issue being fixed or feature implemented

Related PR's and Dependencies

Screenshots / Videos

How Has This Been Tested?

  • QA (Mobile Team)

Checklist:

  • I have performed a self-review of my own code and added comments where necessary
  • I have added or updated relevant unit/integration/functional/e2e tests

@Syn-McJ
Syn-McJ requested a review from HashEngineering March 3, 2022 07:48
@Syn-McJ Syn-McJ self-assigned this Mar 3, 2022
url.addEncodedQueryParameter("package", packageInfo.packageName);
url.addQueryParameter("current", Integer.toString(packageInfo.versionCode));

/*new HttpGetThread(url.build(), application.httpUserAgent()) {

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This has been commented out for 8 years. Probably safe to remove.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bitcoin Wallet uses this method to determine if there is a new version published to Google Play. If so, the app can remind to upgrade using Google Play or perhaps Fdroid depending on which store they were using.

We never used this mechanism.

@HashEngineering
HashEngineering merged commit 4d6cca8 into master Mar 8, 2022
@Syn-McJ
Syn-McJ deleted the chore-okhttp-update branch March 15, 2022 04:59
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.

2 participants