Fix app icons, orientation. Improve name, id, description in webmanifest

- Use bubblewrap generated splash screen, notification icons from
  1200x1200 high res khoj icon in assets.khoj.dev.
- Discard bubblewrap generated launcher icons.
- Fix orientation to respect phone orientation settings. "any" was not.
This commit is contained in:
Debanjum
2024-12-02 11:17:15 -08:00
parent 147c8e9115
commit 5d6fb07066
17 changed files with 20 additions and 25 deletions

View File

@@ -47,7 +47,7 @@ def twaManifest = [
// 'customtabs' and 'webview'.
fallbackType: 'customtabs',
enableSiteSettingsShortcut: 'true',
orientation: 'any',
orientation: 'natural',
]
android {
@@ -57,8 +57,8 @@ android {
applicationId "dev.khoj.app"
minSdkVersion 19
targetSdkVersion 35
versionCode 3
versionName "3"
versionCode 4
versionName "4"
// The name for the application
resValue "string", "appName", twaManifest.name

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 22 KiB

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 717 B

After

Width:  |  Height:  |  Size: 678 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 KiB

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 30 KiB

After

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.0 KiB

After

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 47 KiB

After

Width:  |  Height:  |  Size: 50 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.3 KiB

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 65 KiB

After

Width:  |  Height:  |  Size: 60 KiB

View File

@@ -1 +1 @@
ca4c5316752147e8b87265a4b558b10917d38cbd
6ee1711cf4f745dafc80c1cc13c3025342a0f5da

Binary file not shown.

Before

Width:  |  Height:  |  Size: 63 KiB

After

Width:  |  Height:  |  Size: 25 KiB

View File

@@ -13,14 +13,15 @@
"backgroundColor": "#FFFFFF",
"enableNotifications": true,
"startUrl": "/",
"iconUrl": "https://app.khoj.dev/static/assets/icons/khoj_lantern_128x128.png",
"iconUrl": "https://assets.khoj.dev/khoj_lantern_1200x1200.png",
"splashScreenFadeOutDuration": 300,
"signingKey": {
"path": "android.keystore",
"alias": "android"
},
"appVersionName": "3",
"appVersionCode": 3,
"appVersionName": "4",
"appVersionCode": 4,
"shortcuts": [],
"generatorApp": "bubblewrap-cli",
"webManifestUrl": "https://app.khoj.dev/static/khoj.webmanifest",
"fallbackType": "customtabs",
@@ -37,7 +38,7 @@
"isMetaQuest": false,
"fullScopeUrl": "https://app.khoj.dev/",
"minSdkVersion": 19,
"orientation": "any",
"orientation": "natural",
"fingerprints": [
{
"name": "signing",
@@ -50,5 +51,5 @@
],
"additionalTrustedOrigins": [],
"retainedBundles": [],
"appVersion": "3"
"appVersion": "4"
}