caelum0x d56639a594
Some checks failed
build-images / web (push) Has been cancelled
vision2026-ci / Python SDK resource tests (push) Has been cancelled
build-images / api (push) Has been cancelled
build-images / worker-gpu (push) Has been cancelled
vision2026-ci / Shared packages (TS≡Python golden parity) (comfy-workflow-schema) (push) Has been cancelled
vision2026-ci / Shared packages (TS≡Python golden parity) (effects-core) (push) Has been cancelled
vision2026-ci / Shared packages (TS≡Python golden parity) (eventbus-types) (push) Has been cancelled
vision2026-ci / Shared packages (TS≡Python golden parity) (growth-analytics) (push) Has been cancelled
vision2026-ci / Shared packages (TS≡Python golden parity) (provider-adapter-kit) (push) Has been cancelled
vision2026-ci / Shared packages (TS≡Python golden parity) (publishing-connectors) (push) Has been cancelled
vision2026-ci / Shared packages (TS≡Python golden parity) (render-core) (push) Has been cancelled
vision2026-ci / Shared packages (TS≡Python golden parity) (shot-template-schema) (push) Has been cancelled
vision2026-ci / Shared packages (TS≡Python golden parity) (trends-schema) (push) Has been cancelled
vision2026-ci / Desktop engine crates (test + clippy + fmt) (push) Has been cancelled
codeql / Analyze (javascript-typescript) (push) Has been cancelled
codeql / Analyze (python) (push) Has been cancelled
perf / API hot-path micro-smoke (budgeted) (push) Has been cancelled
perf / Desktop engine crates (release build check) (push) Has been cancelled
vision2026-ci / API phase modules (ruff + pytest) (push) Has been cancelled
vision2026-ci / Alembic upgrade + drift check (push) Has been cancelled
vision2026-ci / Shared packages (TS≡Python golden parity) (caption-engine) (push) Has been cancelled
Menivor — open source release (MIT), free to use and fork
Paid, hosted product at menivor.com, now retired as a company project.
Fresh squashed history of the cleaned working tree (secret-scanned,
no .env, no customer data, no outreach logs). Built on
MoneyPrinterTurbo (MIT, harry0703) — see NOTICE.
2026-12-04 02:10:26 +03:00

51 lines
2.1 KiB
TypeScript

/**
* Digital Asset Links file for the Menivor Android app (package
* `com.menivor.app`). The app declares an `https://menivor.com/r/*` and
* `/invite/*` autoVerify intent filter (see apps/mobile/app.json); without
* this file Android opens those links in the browser instead of the app.
* Served as JSON at the well-known path Android's Digital Asset Links
* service fetches (https://menivor.com/.well-known/assetlinks.json).
*
* The fingerprint below is the per-app Play *upload* key's SHA-256
* certificate fingerprint (`~/.config/products-keys/menivor/upload.jks`,
* alias `menivor-upload`), which is what signs local/EAS release builds
* before they reach Play. It is public by design (a certificate hash, not a
* secret) and is exactly what Android checks before Play App Signing takes
* over a release.
*
* Once the Android app exists in Play Console and Play App Signing is
* enabled (default for new apps), Play re-signs the distributed APK with its
* own app-signing key, which gets a DIFFERENT SHA-256 fingerprint. That
* fingerprint only appears on the Play Console "App integrity" page
* (Setup > App integrity > App signing key certificate), which requires an
* owner login to Play Console — add it to the `fingerprints` array below
* alongside the upload key's once the owner pulls it, so links verify for
* production-downloaded installs too.
*/
export const dynamic = "force-static";
const PACKAGE_NAME = "com.menivor.app";
// Upload-key fingerprint (safe to publish; not the Play app-signing key).
const UPLOAD_KEY_SHA256_FINGERPRINT =
"4A:08:88:0C:FC:2A:4D:16:D4:39:4E:1B:6C:85:B1:A4:26:D4:A2:5A:CE:80:EC:00:19:E1:0F:4D:F5:CB:8E:8F";
export function GET(): Response {
const body = [
{
relation: ["delegate_permission/common.handle_all_urls"],
target: {
namespace: "android_app",
package_name: PACKAGE_NAME,
sha256_cert_fingerprints: [UPLOAD_KEY_SHA256_FINGERPRINT],
},
},
];
return new Response(JSON.stringify(body), {
headers: {
"content-type": "application/json",
"cache-control": "public, max-age=3600",
},
});
}