fix(YouTube - Client spoof): Set the client version correctly

Previously the version was hardcoded.
This commit is contained in:
oSumAtrIX 2023-10-26 00:07:02 +02:00
parent 55fe1f0592
commit f2037316d3
No known key found for this signature in database
GPG Key ID: A9B3094ACDB604B4
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ final class PlayerRoutes {
JSONObject client = new JSONObject();
client.put("clientName", "ANDROID");
client.put("clientVersion", "18.37.36");
client.put("clientVersion", ReVancedUtils.getVersionName());
client.put("androidSdkVersion", 34);
context.put("client", client);