Skip to content

Commit

Permalink
bumped user agent version
Browse files Browse the repository at this point in the history
  • Loading branch information
Talha Ali authored and Talha Ali committed Aug 11, 2022
1 parent 9a1c1f6 commit 45a21d1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ internal fun String.strippedUrl() = Uri.parse(this).run {
internal fun String.addUserAgent(): String {
return Uri.parse(this).buildUpon()
// TODO: Setup env variable for version and tag. Use env variable here instead of hard coded version
.appendQueryParameter("ua", """wc-2/kotlin-2.0.0-rc.0/android-${Build.VERSION.RELEASE}""")
.appendQueryParameter("ua", """wc-2/kotlin-2.0.0-rc.2/android-${Build.VERSION.RELEASE}""")
.build()
.toString()
}

0 comments on commit 45a21d1

Please sign in to comment.