Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 6801a60183 |
@@ -11,8 +11,8 @@ android {
|
|||||||
applicationId = "me.khodak.claudeusage"
|
applicationId = "me.khodak.claudeusage"
|
||||||
minSdk = 26
|
minSdk = 26
|
||||||
targetSdk = 34
|
targetSdk = 34
|
||||||
versionCode = 11
|
versionCode = 10
|
||||||
versionName = "1.10"
|
versionName = "1.9"
|
||||||
}
|
}
|
||||||
|
|
||||||
signingConfigs {
|
signingConfigs {
|
||||||
|
|||||||
@@ -11,7 +11,6 @@
|
|||||||
android:roundIcon="@mipmap/ic_launcher_round"
|
android:roundIcon="@mipmap/ic_launcher_round"
|
||||||
android:supportsRtl="true"
|
android:supportsRtl="true"
|
||||||
android:theme="@style/Theme.ClaudeUsage"
|
android:theme="@style/Theme.ClaudeUsage"
|
||||||
android:networkSecurityConfig="@xml/network_security_config"
|
|
||||||
android:usesCleartextTraffic="false">
|
android:usesCleartextTraffic="false">
|
||||||
|
|
||||||
<activity
|
<activity
|
||||||
|
|||||||
@@ -72,8 +72,8 @@ class LoginActivity : AppCompatActivity() {
|
|||||||
settings.apply {
|
settings.apply {
|
||||||
javaScriptEnabled = true
|
javaScriptEnabled = true
|
||||||
domStorageEnabled = true
|
domStorageEnabled = true
|
||||||
databaseEnabled = false
|
databaseEnabled = true
|
||||||
javaScriptCanOpenWindowsAutomatically = false
|
javaScriptCanOpenWindowsAutomatically = true
|
||||||
setSupportMultipleWindows(false)
|
setSupportMultipleWindows(false)
|
||||||
// Standard Android Chrome UA — less suspicious than desktop
|
// Standard Android Chrome UA — less suspicious than desktop
|
||||||
userAgentString = "Mozilla/5.0 (Linux; Android 13; Pixel 7) " +
|
userAgentString = "Mozilla/5.0 (Linux; Android 13; Pixel 7) " +
|
||||||
|
|||||||
@@ -54,7 +54,7 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_weight="1"
|
android:layout_weight="1"
|
||||||
android:text="SESSION"
|
android:text="SESSION"
|
||||||
android:textColor="#FFFFFF"
|
android:textColor="#555555"
|
||||||
android:textSize="9sp"
|
android:textSize="9sp"
|
||||||
android:textStyle="bold" />
|
android:textStyle="bold" />
|
||||||
|
|
||||||
@@ -86,9 +86,8 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginTop="3dp"
|
android:layout_marginTop="3dp"
|
||||||
android:text=""
|
android:text=""
|
||||||
android:textColor="#FFFFFF"
|
android:textColor="#666666"
|
||||||
android:textSize="11sp"
|
android:textSize="11sp" />
|
||||||
android:textStyle="bold" />
|
|
||||||
|
|
||||||
<!-- 7-day window bar -->
|
<!-- 7-day window bar -->
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
@@ -103,7 +102,7 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_weight="1"
|
android:layout_weight="1"
|
||||||
android:text="WEEKLY"
|
android:text="WEEKLY"
|
||||||
android:textColor="#FFFFFF"
|
android:textColor="#555555"
|
||||||
android:textSize="9sp"
|
android:textSize="9sp"
|
||||||
android:textStyle="bold" />
|
android:textStyle="bold" />
|
||||||
|
|
||||||
@@ -135,9 +134,8 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginTop="3dp"
|
android:layout_marginTop="3dp"
|
||||||
android:text=""
|
android:text=""
|
||||||
android:textColor="#FFFFFF"
|
android:textColor="#666666"
|
||||||
android:textSize="11sp"
|
android:textSize="11sp" />
|
||||||
android:textStyle="bold" />
|
|
||||||
|
|
||||||
<!-- Footer -->
|
<!-- Footer -->
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
@@ -153,9 +151,8 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_weight="1"
|
android:layout_weight="1"
|
||||||
android:text=""
|
android:text=""
|
||||||
android:textColor="#FFFFFF"
|
android:textColor="#CC785C"
|
||||||
android:textSize="9sp"
|
android:textSize="9sp"
|
||||||
android:textStyle="bold"
|
|
||||||
android:singleLine="true"
|
android:singleLine="true"
|
||||||
android:ellipsize="end" />
|
android:ellipsize="end" />
|
||||||
|
|
||||||
@@ -164,9 +161,8 @@
|
|||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text=""
|
android:text=""
|
||||||
android:textColor="#FFFFFF"
|
android:textColor="#444444"
|
||||||
android:textSize="9sp"
|
android:textSize="9sp" />
|
||||||
android:textStyle="bold" />
|
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
|
|||||||
@@ -46,7 +46,7 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_weight="1"
|
android:layout_weight="1"
|
||||||
android:text="SESSION"
|
android:text="SESSION"
|
||||||
android:textColor="#FFFFFF"
|
android:textColor="#555555"
|
||||||
android:textSize="8sp"
|
android:textSize="8sp"
|
||||||
android:textStyle="bold" />
|
android:textStyle="bold" />
|
||||||
|
|
||||||
@@ -65,9 +65,8 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginStart="6dp"
|
android:layout_marginStart="6dp"
|
||||||
android:text=""
|
android:text=""
|
||||||
android:textColor="#FFFFFF"
|
android:textColor="#555555"
|
||||||
android:textSize="10sp"
|
android:textSize="10sp" />
|
||||||
android:textStyle="bold" />
|
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
@@ -95,7 +94,7 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_weight="1"
|
android:layout_weight="1"
|
||||||
android:text="WEEKLY"
|
android:text="WEEKLY"
|
||||||
android:textColor="#FFFFFF"
|
android:textColor="#555555"
|
||||||
android:textSize="8sp"
|
android:textSize="8sp"
|
||||||
android:textStyle="bold" />
|
android:textStyle="bold" />
|
||||||
|
|
||||||
@@ -114,9 +113,8 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginStart="6dp"
|
android:layout_marginStart="6dp"
|
||||||
android:text=""
|
android:text=""
|
||||||
android:textColor="#FFFFFF"
|
android:textColor="#555555"
|
||||||
android:textSize="10sp"
|
android:textSize="10sp" />
|
||||||
android:textStyle="bold" />
|
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
@@ -137,9 +135,8 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginTop="4dp"
|
android:layout_marginTop="4dp"
|
||||||
android:text=""
|
android:text=""
|
||||||
android:textColor="#FFFFFF"
|
android:textColor="#CC785C"
|
||||||
android:textSize="8sp"
|
android:textSize="8sp"
|
||||||
android:textStyle="bold"
|
|
||||||
android:maxLines="1" />
|
android:maxLines="1" />
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|||||||
@@ -1,8 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<network-security-config>
|
|
||||||
<base-config cleartextTrafficPermitted="false">
|
|
||||||
<trust-anchors>
|
|
||||||
<certificates src="system" />
|
|
||||||
</trust-anchors>
|
|
||||||
</base-config>
|
|
||||||
</network-security-config>
|
|
||||||
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user