console fill play-app-record: Play Console's Create app form (account picked by developerId / workspace / play.developerAccount, else stop and list; Create app opener allowlisted only on the app list, never in the form, EN + TR; name, default language, app or game, free or paid as an owner check; declarations never ticked; package name set by the first AAB upload)

This commit is contained in:
CRTkafa 2026-10-11 19:48:20 +00:00
parent 96f3df443b
commit 20d34fa0ec
26 changed files with 592 additions and 41 deletions

View file

@ -456,6 +456,9 @@ const CONSOLE_FILL: Record<ConsoleForm, ConsoleFillResult> = {
['messagingAndChat', 'Messaging and chat', null, ''], ['advertising', 'Advertising', 'Yes', 'ads.enabled']], ['The age rating follows from your answers; check it before you save.']),
'apple-app-privacy': CF('apple-app-privacy', 'App Privacy', ASC, [['collects', 'Do you collect data from this app?', 'Yes', 'play.dataSafety'], ['deviceId', 'Device ID', 'Third-party advertising, Analytics', 'play.dataSafety'],
['linked', 'Device ID linked to the user', null, ''], ['tracking', 'Device ID used for tracking', null, '']], ['App Privacy has no API: publish the answers in App Store Connect yourself.']),
'play-app-record': CF('play-app-record', 'Create app', PLAY, [['name', 'App name', 'Prism Puddle', 'app.name'], ['language', 'Default language', 'English (United States) – en-US', 'languages[0].play'],
['type', 'App or game', 'Game', 'app.profile'], ['price', 'Free or paid', 'Free', 'products + ads.appAdsTxt'], ['agree:policies', 'Declarations: Developer Program Policies', null, 'none'], ['agree:exportLaws', 'Declarations: US export laws', null, 'none']],
['The package name is set by the first AAB upload, not in this form.', 'Free or paid is an owner check: a free app can never become paid later.']),
'play-content-rating': CF('play-content-rating', 'Content rating', PLAY, [['category', 'Category', 'Game', 'app.profile'], ['violence', 'Violence', 'No', 'play.contentRating'], ['userInteraction', 'Users can interact', 'No', 'play.contentRating'],
['ads', 'Contains ads', 'Yes', 'ads.enabled'], ['purchases', 'Digital purchases', 'Yes', 'products']], ['Submitting the questionnaire is yours; storebound stops before it.']),
'play-target-audience': CF('play-target-audience', 'Target audience and content', PLAY, [['ages', 'Target age groups', '13-15, 16-17, 18 and over', 'play.targetAudience'], ['appeal', 'Could appeal to children', null, '']], []),

View file

@ -1272,6 +1272,7 @@ export const en = {
'cf.appleAppPrivacy': 'App Privacy',
'cf.playContentRating': 'Play content rating',
'cf.playTargetAudience': 'Play target audience and content',
'cf.playAppRecord': 'Play app (Create app)',
'cf.dryFailed': 'Could not prepare {form}',
'cf.panelTitle': 'Fill in console: {form}',
'cf.disclaimer': 'Console pages change. This is AI-assisted: review every field in the browser and press Save yourself. storebound never saves, submits or publishes.',
@ -1291,10 +1292,11 @@ export const en = {
'cf.cancelRun': 'Cancel: close the browser',
'cf.open': 'Open the browser',
'cf.waiting': 'Waiting until you close the browser',
'cf.playTitle': 'Play Console questionnaires',
'cf.playSub': 'No API: storebound fills them in the console, you save',
'cf.playTitle': 'Play Console forms',
'cf.playSub': 'No API: storebound fills them in the console, you press the final button',
'cf.playContentRatingText': 'The IARC questionnaire that gives the app its age ratings.',
'cf.playTargetAudienceText': 'Target age groups and whether the app appeals to children.',
'cf.playAppRecordText': 'The Play Developer API cannot create apps: storebound fills Create app (name, language, app or game, free or paid). You tick the declarations and press Create app; the first AAB upload sets the package name.',
'cf.noRecordTitle': 'No App Store app record yet',
'cf.noRecordText': 'App Store Connect has no API to create the app record. storebound fills the New App form from your config; you press Create yourself, then put the Apple ID into apple.appId.',
} as const;

View file

@ -1274,6 +1274,7 @@ export const tr: Record<keyof typeof en, string> = {
'cf.appleAppPrivacy': 'Uygulama Gizliliği',
'cf.playContentRating': 'Play içerik derecelendirmesi',
'cf.playTargetAudience': 'Play hedef kitle ve içerik',
'cf.playAppRecord': 'Play uygulaması (Uygulama oluştur)',
'cf.dryFailed': '{form} hazırlanamadı',
'cf.panelTitle': 'Konsolda doldur: {form}',
'cf.disclaimer': 'Konsol sayfaları değişebilir. Bu, yapay zekâ destekli bir yardımdır: tarayıcıda her alanı kontrol edin ve Kaydet\'e kendiniz basın. storebound hiçbir zaman kaydetmez, göndermez veya yayınlamaz.',
@ -1293,10 +1294,11 @@ export const tr: Record<keyof typeof en, string> = {
'cf.cancelRun': 'Vazgeç: tarayıcıyı kapat',
'cf.open': 'Tarayıcıyı aç',
'cf.waiting': 'Tarayıcıyı kapatmanız bekleniyor',
'cf.playTitle': 'Play Console anketleri',
'cf.playSub': 'API yok: storebound bunları konsolda doldurur, siz kaydedersiniz',
'cf.playTitle': 'Play Console formları',
'cf.playSub': 'API yok: storebound bunları konsolda doldurur, son düğmeye siz basarsınız',
'cf.playContentRatingText': 'Uygulamanın yaş derecelendirmelerini belirleyen IARC anketi.',
'cf.playTargetAudienceText': 'Hedef yaş grupları ve uygulamanın çocuklara hitap edip etmediği.',
'cf.playAppRecordText': 'Play Developer API uygulama oluşturamaz: storebound Uygulama oluştur formunu doldurur (ad, dil, uygulama veya oyun, ücretsiz veya ücretli). Beyanları siz işaretler ve Uygulama oluştur\'a siz basarsınız; paket adını ilk AAB yüklemesi belirler.',
'cf.noRecordTitle': 'Henüz App Store uygulama kaydı yok',
'cf.noRecordText': 'App Store Connect\'te uygulama kaydı oluşturmak için bir API yok. storebound Yeni Uygulama formunu yapılandırmanızdan doldurur; Oluştur\'a kendiniz basar, ardından Apple kimliğini apple.appId alanına yazarsınız.',
};

View file

@ -195,7 +195,7 @@ export function AppInfoTab({ project }: { project: Project }) {
{d.stores.play && (
<Card title={t('cf.playTitle')} icon="clipboard" sub={<span className="row" style={{ gap: 6 }}><StoreGlyph store="android" className="ic13" />{t('cf.playSub')}</span>} pad={false}>
<div className="list">
{([['play-content-rating', 'cf.playContentRating', 'cf.playContentRatingText'], ['play-target-audience', 'cf.playTargetAudience', 'cf.playTargetAudienceText']] as const).map(([form, title, text]) => (
{([['play-app-record', 'cf.playAppRecord', 'cf.playAppRecordText'], ['play-content-rating', 'cf.playContentRating', 'cf.playContentRatingText'], ['play-target-audience', 'cf.playTargetAudience', 'cf.playTargetAudienceText']] as const).map(([form, title, text]) => (
<div className="li" key={form}>
<span className="li-icon tone-bg-info"><Icon name="clipboard" /></span>
<div className="li-main"><span className="li-title">{t(title)}</span><span className="li-sub">{t(text)}</span></div>

View file

@ -1,5 +1,5 @@
// "Fill in console": the store forms without an API (App Store app record, age rating, App Privacy; Play content
// rating, target audience). Click -> dry run of `console.fill` (the answers from the config, nothing opens) -> this
// "Fill in console": the store forms without an API (App Store app record, age rating, App Privacy; Play Create app,
// content rating, target audience). Click -> dry run of `console.fill` (the answers from the config, nothing opens) -> this
// panel lists them, the uncertain ones marked for the owner, with the disclaimer -> "Open the browser" goes through
// write_with_confirm (the host shows the answers again in a native dialog and mints the token only on its button) ->
// a visible browser the owner signs in to; storebound fills the fields and never saves, submits or publishes. The run
@ -13,7 +13,7 @@ import { Chip, Notice } from './kit';
export const CONSOLE_FORM_NAME: Record<ConsoleForm, Key> = {
'apple-app-record': 'cf.appleAppRecord', 'apple-age-rating': 'cf.appleAgeRating', 'apple-app-privacy': 'cf.appleAppPrivacy',
'play-content-rating': 'cf.playContentRating', 'play-target-audience': 'cf.playTargetAudience',
'play-app-record': 'cf.playAppRecord', 'play-content-rating': 'cf.playContentRating', 'play-target-audience': 'cf.playTargetAudience',
};
type Stage =