Open in Google Play Console deep-links the app: Play developer id per credential profile (accounts play-developer, desktop Accounts), shared playAppUrl builder for desktop, CLI and watch; developer chooser instead of the console root

This commit is contained in:
CRTkafa 2026-10-23 09:20:35 +08:00
parent 7c769c18f4
commit 4a74989a95
33 changed files with 311 additions and 40 deletions

View file

@ -14,6 +14,7 @@ import { maskUser, reviewContact, reviewDemoAccount } from './lib/credentials';
import { DATA_SAFETY_UPLOADED, declarations } from './lib/declarations';
import type { ProjectSummary } from './lib/desktop-protocol';
import { log, printJson } from './lib/log';
import { playIdsOf } from './lib/play-ids';
import { findIcon, iconDataUrl, listingCompleteness, listingText, renderImage } from './lib/project-files';
export function summarize(ctx: Ctx): ProjectSummary {
@ -24,7 +25,7 @@ export function summarize(ctx: Ctx): ProjectSummary {
config: path,
name: config.app.name,
languages: config.languages.map(l => l.id),
play: config.play ? { packageName: config.play.packageName } : null,
play: config.play ? { packageName: config.play.packageName, ...playIdsOf(config, root) } : null,
apple: config.apple ? { bundleId: config.apple.bundleId, appId: config.apple.appId ?? null } : null,
platforms: platformsOf(config),
products: config.products?.length ?? 0,