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.
@@ -47,7 +47,7 @@ def twaManifest = [
|
|||||||
// 'customtabs' and 'webview'.
|
// 'customtabs' and 'webview'.
|
||||||
fallbackType: 'customtabs',
|
fallbackType: 'customtabs',
|
||||||
enableSiteSettingsShortcut: 'true',
|
enableSiteSettingsShortcut: 'true',
|
||||||
orientation: 'any',
|
orientation: 'natural',
|
||||||
]
|
]
|
||||||
|
|
||||||
android {
|
android {
|
||||||
@@ -57,8 +57,8 @@ android {
|
|||||||
applicationId "dev.khoj.app"
|
applicationId "dev.khoj.app"
|
||||||
minSdkVersion 19
|
minSdkVersion 19
|
||||||
targetSdkVersion 35
|
targetSdkVersion 35
|
||||||
versionCode 3
|
versionCode 4
|
||||||
versionName "3"
|
versionName "4"
|
||||||
|
|
||||||
// The name for the application
|
// The name for the application
|
||||||
resValue "string", "appName", twaManifest.name
|
resValue "string", "appName", twaManifest.name
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.1 KiB |
|
Before Width: | Height: | Size: 22 KiB After Width: | Height: | Size: 21 KiB |
|
Before Width: | Height: | Size: 717 B After Width: | Height: | Size: 678 B |
|
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 13 KiB |
|
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.5 KiB |
|
Before Width: | Height: | Size: 30 KiB After Width: | Height: | Size: 26 KiB |
|
Before Width: | Height: | Size: 3.0 KiB After Width: | Height: | Size: 2.4 KiB |
|
Before Width: | Height: | Size: 47 KiB After Width: | Height: | Size: 50 KiB |
|
Before Width: | Height: | Size: 4.3 KiB After Width: | Height: | Size: 3.4 KiB |
|
Before Width: | Height: | Size: 65 KiB After Width: | Height: | Size: 60 KiB |
@@ -1 +1 @@
|
|||||||
ca4c5316752147e8b87265a4b558b10917d38cbd
|
6ee1711cf4f745dafc80c1cc13c3025342a0f5da
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 63 KiB After Width: | Height: | Size: 25 KiB |
@@ -13,14 +13,15 @@
|
|||||||
"backgroundColor": "#FFFFFF",
|
"backgroundColor": "#FFFFFF",
|
||||||
"enableNotifications": true,
|
"enableNotifications": true,
|
||||||
"startUrl": "/",
|
"startUrl": "/",
|
||||||
"iconUrl": "https://app.khoj.dev/static/assets/icons/khoj_lantern_128x128.png",
|
"iconUrl": "https://assets.khoj.dev/khoj_lantern_1200x1200.png",
|
||||||
"splashScreenFadeOutDuration": 300,
|
"splashScreenFadeOutDuration": 300,
|
||||||
"signingKey": {
|
"signingKey": {
|
||||||
"path": "android.keystore",
|
"path": "android.keystore",
|
||||||
"alias": "android"
|
"alias": "android"
|
||||||
},
|
},
|
||||||
"appVersionName": "3",
|
"appVersionName": "4",
|
||||||
"appVersionCode": 3,
|
"appVersionCode": 4,
|
||||||
|
"shortcuts": [],
|
||||||
"generatorApp": "bubblewrap-cli",
|
"generatorApp": "bubblewrap-cli",
|
||||||
"webManifestUrl": "https://app.khoj.dev/static/khoj.webmanifest",
|
"webManifestUrl": "https://app.khoj.dev/static/khoj.webmanifest",
|
||||||
"fallbackType": "customtabs",
|
"fallbackType": "customtabs",
|
||||||
@@ -37,7 +38,7 @@
|
|||||||
"isMetaQuest": false,
|
"isMetaQuest": false,
|
||||||
"fullScopeUrl": "https://app.khoj.dev/",
|
"fullScopeUrl": "https://app.khoj.dev/",
|
||||||
"minSdkVersion": 19,
|
"minSdkVersion": 19,
|
||||||
"orientation": "any",
|
"orientation": "natural",
|
||||||
"fingerprints": [
|
"fingerprints": [
|
||||||
{
|
{
|
||||||
"name": "signing",
|
"name": "signing",
|
||||||
@@ -50,5 +51,5 @@
|
|||||||
],
|
],
|
||||||
"additionalTrustedOrigins": [],
|
"additionalTrustedOrigins": [],
|
||||||
"retainedBundles": [],
|
"retainedBundles": [],
|
||||||
"appVersion": "3"
|
"appVersion": "4"
|
||||||
}
|
}
|
||||||
|
|||||||
BIN
src/interface/web/public/assets/icons/khoj_lantern_1200x1200.png
Normal file
|
After Width: | Height: | Size: 65 KiB |
|
Before Width: | Height: | Size: 15 KiB |
@@ -1,15 +1,15 @@
|
|||||||
{
|
{
|
||||||
"id": "dev.khoj.app",
|
"id": "https://app.khoj.dev",
|
||||||
"name": "Khoj AI",
|
"name": "Khoj AI - Get Answers, Create Anything",
|
||||||
"short_name": "Khoj",
|
"short_name": "Khoj",
|
||||||
"display": "standalone",
|
"display": "standalone",
|
||||||
"start_url": "/",
|
"start_url": "/",
|
||||||
"scope": "/",
|
"scope": "/",
|
||||||
"description": "The open, personal AI for your digital brain. You can ask Khoj to draft a message, paint your imagination, find information on the internet and even answer questions from your documents.",
|
"description": "Khoj is your open, personal AI. Gets answers from the internet and your documents. Quickly draft messages, summarize any information, generate beautiful paintings, create personal agents and do deep research.",
|
||||||
"categories": ["productivity", "utilities", "personalization", "education"],
|
"categories": ["productivity", "utilities", "personalization", "education"],
|
||||||
"theme_color": "#ffffff",
|
"theme_color": "#ffffff",
|
||||||
"background_color": "#ffffff",
|
"background_color": "#ffffff",
|
||||||
"orientation": "any",
|
"orientation": "natural",
|
||||||
"launch_handler": {
|
"launch_handler": {
|
||||||
"client_mode": ["navigate-existing", "auto"]
|
"client_mode": ["navigate-existing", "auto"]
|
||||||
},
|
},
|
||||||
@@ -24,18 +24,6 @@
|
|||||||
"sizes": "256x256",
|
"sizes": "256x256",
|
||||||
"type": "image/png"
|
"type": "image/png"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"src": "/static/assets/icons/khoj_lantern_192x192.png",
|
|
||||||
"sizes": "192x192",
|
|
||||||
"type": "image/png",
|
|
||||||
"purpose": "any"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"src": "/static/assets/icons/khoj_lantern_192x192.png",
|
|
||||||
"sizes": "192x192",
|
|
||||||
"type": "image/png",
|
|
||||||
"purpose": "maskable"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"src": "/static/assets/icons/khoj_lantern_512x512.png",
|
"src": "/static/assets/icons/khoj_lantern_512x512.png",
|
||||||
"sizes": "512x512",
|
"sizes": "512x512",
|
||||||
@@ -47,6 +35,12 @@
|
|||||||
"sizes": "512x512",
|
"sizes": "512x512",
|
||||||
"type": "image/png",
|
"type": "image/png",
|
||||||
"purpose": "maskable"
|
"purpose": "maskable"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"src": "/static/assets/icons/khoj_lantern_1200x1200.png",
|
||||||
|
"sizes": "1200x1200",
|
||||||
|
"type": "image/png",
|
||||||
|
"purpose": "any"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"screenshots": [
|
"screenshots": [
|
||||||
|
|||||||