Skip to content

Commit e1c62f5

Browse files
committed
Add logging of webpage. Specify settings page more specifically
1 parent e03d622 commit e1c62f5

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

QuestAppVersionSwitcher/Properties/AndroidManifest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<manifest xmlns:android="http://schemas.android.com/apk/res/android" android:versionName="1.14.1" package="com.ComputerElite.questappversionswitcher" android:installLocation="preferExternal" android:versionCode="119">
2+
<manifest xmlns:android="http://schemas.android.com/apk/res/android" android:versionName="1.14.2" package="com.ComputerElite.questappversionswitcher" android:installLocation="preferExternal" android:versionCode="120">
33
<uses-sdk android:minSdkVersion="28" android:targetSdkVersion="32" />
44
<uses-permission android:name="oculus.permission.handtracking" />
55
<uses-permission android:name="com.oculus.permission.HAND_TRACKING" />

QuestAppVersionSwitcher/Properties/AssemblyInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,5 @@
2222
// Minor Version
2323
// Build Number
2424
// Revision
25-
[assembly: AssemblyVersion("1.14.1.0")]
26-
[assembly: AssemblyFileVersion("1.14.1.0")]
25+
[assembly: AssemblyVersion("1.14.2.0")]
26+
[assembly: AssemblyFileVersion("1.14.2.0")]

QuestAppVersionSwitcher/QAVSWebViewClient.cs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
using System.IO;
33
using Android.Webkit;
44
using ComputerUtils.Android;
5+
using ComputerUtils.Android.Logging;
56
using QuestAppVersionSwitcher.Core;
67

78
namespace QuestAppVersionSwitcher
@@ -13,10 +14,10 @@ public class QAVSWebViewClient : WebViewClient
1314

1415
public string injectedJs = "";
1516
private bool isLoggingOut = false;
16-
1717
// Grab token
1818
public override void OnPageFinished(WebView view, string url)
1919
{
20+
Logger.Log("WebView on page finished: " + url.Split('?')[0]);
2021
CookieManager.Instance.Flush();
2122
if(!url.ToLower().Contains("localhost") && !url.ToLower().StartsWith("https://auth.meta.com") && !url.ToLower().Contains("http://127.0.0.1"))
2223
{
@@ -71,7 +72,7 @@ public override void OnPageFinished(WebView view, string url)
7172
if (url.ToLower().StartsWith("https://auth.meta.com/language"))
7273
{
7374
// redirect to oculus page
74-
view.LoadUrl("https://auth.meta.com/settings");
75+
view.LoadUrl("https://auth.meta.com/settings/account/");
7576
}
7677
}
7778

0 commit comments

Comments
 (0)