Ploa
v0.2.2Ship apps for iPhone, iPad, Mac, Apple TV, Vision Pro and Android to the App Store and Google Play
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
ploa_setup_guide Set up a new app, step by step
Start here for a new app, or when the stores or Ploa aren't set up yet; for an update it says what a store turned down that the person reads and answers. Works out where this folder stands (signed in, app IDs in the Expo config or, for a Flutter, React Native, Capacitor, Gradle or Xcode app, in its own projects, linked to Ploa, each store connected, the app created in each store, signing, store page, first build, Google Play's way to production) and returns what's next, in order: who does each step (the person or you), exactly what to do, and direct links that open the exact page in App Store…
| Parameter | Type | Description |
|---|---|---|
dir | string | The app's folder (absolute path). Defaults to the folder the agent runs in. |
ploa_link Link this folder to Ploa
Links the app in this folder to Ploa, like `ploa init`: an Expo app, or a Flutter, React Native, Capacitor, Android (Gradle) or Xcode app. Finds the app in Ploa by its bundle ID or package name, or adds it with the workspace's App Store and Google Play connections, and writes ploa.json (the app's Ploa ID and server, no secrets; fine to commit). Needs ios.bundleIdentifier or android.package in the Expo config, or an applicationId in Gradle / a bundle ID in the Xcode project. With several connections for a store, name one with apple or google.
| Parameter | Type | Description |
|---|---|---|
apple | string | The App Store connection's name, when there are several. |
dir | string | The app's folder (absolute path). Defaults to the folder the agent runs in. |
google | string | The Google Play connection's name, when there are several. |
ploa_preflight Check the app before a build
Checks this Expo app for what App Store Connect and Google Play would reject, before spending time on a build (a Flutter, React Native, Capacitor, Gradle or Xcode app, which Ploa builds too, isn't checked yet: it says so, and the build can go ahead): version and build numbers against the stores, bundle IDs, the icon, iOS purpose strings, privacy manifest, export compliance, Play's target SDK, sensitive permissions, and secrets committed to git. Returns each finding with how to fix it.
| Parameter | Type | Description |
|---|---|---|
dir | string | The app's folder (absolute path). Defaults to the folder the agent runs in. |
ploa_build_files_push Send the build files git doesn't have
Finds the files a build on GitHub reads that git doesn't have (the app config's googleServicesFile for Android and iOS, and the .env files Expo loads) in this checkout, and sends those that aren't in Ploa yet or differ from its copy (or the paths given). They wait sealed in Ploa's vault until the person approves them on ploa.dev with one tap; not approved within 24 hours, they're dropped. Tell the person to approve, with the link this returns, and follow it with ploa_approval_status. The files' values never pass through here: only names, sizes and a .env's variable names. Signing and store key…
| Parameter | Type | Description |
|---|---|---|
dir | string | The app's folder (absolute path). Defaults to the folder the agent runs in. |
paths | array | Files to send, relative to the app's folder. Default: those the build will miss. |
ploa_access What this agent may do
Who this Ploa token belongs to and what it may do: its access level (read, draft, submit, production), whether its owner made it autonomous (then App Review, production, prices, testers and products go straight through instead of waiting for a person's approval), and how the person chose this agent works. choose records the person's answer to ploa_setup_guide's first question, and only theirs: "approvals" (each review, release and price change waits for their OK in Ploa) is kept at once; "autonomous" is only asked for: it returns a link where the person, signed in to Ploa, confirms it for this…
| Parameter | Type | Description |
|---|---|---|
choose | string | The person's answer: how this agent works from now on. |
ploa_usage_get What the plan has left
What the workspace uses of its Ploa plan: the plan, apps and members against its counts, this month's cloud builds on Ploa's machines per platform (included, used, left, and what one past the count costs: on Free builds stop at the count, on paid plans each one past it adds to the next bill), and the web's hosting room (sites, storage, traffic). Read it before a build on Ploa's machines (where: "cloud"), adding an app or inviting a member, and tell the person first when it would cost them or stop. Builds on this machine, on GitHub, in Xcode Cloud or in the person's Google Cloud never count her…
ploa_status What the stores have
Shows what App Store Connect and Google Play have for this app right now: recent iOS builds and their processing state, App Store versions, and Google Play tracks with their releases and rollout.
| Parameter | Type | Description |
|---|---|---|
dir | string | The app's folder (absolute path). Defaults to the folder the agent runs in. |
ploa_release_start Build and send to testers
Builds the app and sends it to testers: iOS to TestFlight (signed with the certificate Ploa issues for this build), Android to Google Play internal testing (Ploa signs it with the upload key it keeps). By default it builds on this machine; where: "github" builds on GitHub instead, from the commit on the app's release branch (or sha), with the workflow Ploa wrote for the repo (the app's GitHub card in Ploa sets it up): Android on GitHub's Linux runners, iOS on the person's own Mac registered as a self-hosted runner with the label ploa (it waits for that runner), or on GitHub's Macs where an own…
| Parameter | Type | Description |
|---|---|---|
platform * | string | |
applePlatform | string | With platform ios: the Apple platform to build, for an app whose target builds for several (a Mac, Apple TV or Vision Pro app). Default: the one the app's Xcode target builds for (iOS when it builds f… |
branch | string | In Xcode Cloud: the branch to build. Default "main". |
buildNumber | string | iOS build number or Android versionCode. Default "auto": one higher than anything the store has. On GitHub always "auto". |
dir | string | The app's folder (absolute path). Defaults to the folder the agent runs in. |
sha | string | On GitHub, in the cloud or in Google Cloud: the commit to build. Default: the head of the app's release branch. |
where | string | Where to build: "here" (this machine, the default), "github" (from what is pushed; iOS on the person's self-hosted Mac runner, or GitHub's Macs if an owner allowed them), "cloud" (Ploa's machines, fro… |
workflow | string | In Xcode Cloud: the workflow's name, when the app has more than one. |
ploa_release_status Where a release is
Where a release stands: building, uploading, being processed by Apple, on TestFlight or internal testing, or failed and why. While it builds on this machine, includes the last lines of the build log.
| Parameter | Type | Description |
|---|---|---|
releaseId * | string | The release ID that ploa_release_start returned. |
ploa_release_changes What's in a release
The pull requests merged and the commits between two releases, from the app's GitHub repo (linked on its GitHub card in Ploa): for a release, since the release of its platform before it; with no release, what the release branch has had since the live version (or else the last release that reached testers). Each PR comes with its title, author and description. Use it to write release notes from what people did rather than commit messages alone (the write_release_notes prompt).
| Parameter | Type | Description |
|---|---|---|
dir | string | The app's folder (absolute path). Defaults to the folder the agent runs in. |
releaseId | string | A release. Left out: the app's release branch since the live version. |
ploa_release_submit_review Ask to submit for App Review
Asks a person to approve submitting an iOS build that is on TestFlight for App Review; the in-app products that are ready to submit go to review with it. When the version is already with App Review with an older build, this is refused and says so; replace: true then asks for both steps under one approval: Ploa withdraws the version from App Review, puts this build on it and submits it (App Review starts over). When App Review rejected the version, this sends it back, with this build (a newer one or the same): Ploa puts it on the version and resubmits the submission App Review sent back, as App…
| Parameter | Type | Description |
|---|---|---|
releaseId * | string | The release ID that ploa_release_start returned. |
replace | boolean | The version is with App Review with another build: withdraw it and submit this build in its place, under one approval. |
replyId | string | A reply to App Review's message for this version, from ploa_app_review_reply: Ploa puts it in the version's App Review notes before submitting. |
ploa_release_withdraw_review Ask to withdraw a version from App Review
Asks a person to approve taking an iOS version out of App Review (App Store Connect's Remove from review): Ploa cancels its review submission and waits until Apple shows the version as Developer Rejected, editable again, with its build still on TestFlight. Pass the release of any build of that version. To send a newer build in its place in one step, use ploa_release_submit_review with replace: true instead. Nothing changes at Apple until a person approves on the Ploa dashboard; check it with ploa_approval_status. Needs a token allowed to submit.
| Parameter | Type | Description |
|---|---|---|
releaseId * | string | The release ID that ploa_release_start returned. |
ploa_release_stop Stop a build
Stops a build that's still building, wherever it runs (GitHub, Ploa's machines, the person's Google Cloud, Xcode Cloud, or a computer with the CLI), as the Stop button on the dashboard does. Like the dashboard, it takes two steps: called without confirm, it changes nothing and says what the build is and what stopping does where it runs; show that to the person, and only once they say yes, call again with confirm: true. Without releaseId it picks the app's newest build that's still building. A stopped build can't be picked up again; the dashboard and ploa_runs show it as stopped by you. A web v…
| Parameter | Type | Description |
|---|---|---|
confirm | boolean | true only after the person said yes to stopping it. |
dir | string | The app's folder (absolute path). Defaults to the folder the agent runs in. |
releaseId | string | The build's release ID (ploa_runs lists them). Defaults to the app's newest build still building. |
site | string | With webVersion: the site's address, when the workspace has more than one. |
webVersion | string | A web version to stop instead: its build number (ploa_web_status lists them). |
ploa_release_promote Ask to promote an Android release
Asks a person to approve moving an Android release from internal testing to production (or beta / alpha; a Wear OS, TV, Automotive or XR build on its form factor's own tracks), optionally as a staged rollout to a percentage of users. Nothing changes on Google Play until a person approves on the Ploa dashboard; this returns at once with the request's ID, so check it with ploa_approval_status. Needs a token allowed to touch production. On the App Store, an approved version is released with ploa_appstore_release, and its phased release changed with ploa_appstore_phased_release.
| Parameter | Type | Description |
|---|---|---|
releaseId * | string | The release ID that ploa_release_start returned. |
track * | string | production, beta or alpha. A Wear OS, Google TV, Android Automotive or Android XR build stays on its own form factor's tracks (wear:production…) by itself; name one (wear:production) to choose. |
rolloutPercent | number | Share of users for a staged rollout, 1 to 100. Default 100. |
ploa_rollout Widen, halt or finish a Google Play rollout
Asks a person to approve a change to an Android release's staged rollout on production (or the track it's on): increase to a bigger percentage, halt it (people who have it keep it; no one new gets it), resume a halted one at a percentage, or complete it (everyone). Use it when ploa_quality shows crashes or ANRs rising after a release (halt), or when the rollout looks healthy (increase or complete). Nothing changes on Google Play until a person approves (an autonomous agent's request goes straight through); follow the answer with ploa_approval_status. A first rollout to production is ploa_relea…
| Parameter | Type | Description |
|---|---|---|
do * | string | |
releaseId * | string | The release ID that ploa_release_start returned. |
percent | number | For increase and resume: the share of users, 1 to 99 (complete is 100). |
ploa_build_diagnose Why a build failed, and the fix
Says why a build failed, as one cause and the step that fixes it, instead of a log: from the newest failed run of this app (or releaseId), and, when given, the build's log (logPath, a file on this computer, or text pasted from GitHub's or Cloud Build's log). It knows the usual ones: disk or memory, the Gradle wrapper committed from Windows, the JDK or Android SDK, CocoaPods, an old Xcode, signing and capabilities, a build number already used, Google Play's target SDK, missing node modules or Flutter, build files git doesn't have, GitHub's billing, and the network or a busy store. A transient o…
| Parameter | Type | Description |
|---|---|---|
dir | string | The app's folder (absolute path). Defaults to the folder the agent runs in. |
logPath | string | Absolute path to the build's log on this computer (the CLI prints it: full log: …). |
releaseId | string | The failed release, as ploa_runs lists them. Default: this app's newest failed run. |
text | string | The end of a log, pasted (GitHub Actions, Cloud Build). |
ploa_runs Release runs, step by step
Lists this app's recent release runs, newest first: each release Ploa carried (started from the CLI, an agent or the dashboard) with its state, who started it, when, how long it took to reach TestFlight or internal testing, the commit, and every step with its duration (build, upload, App Store Connect or signing, Apple processing or Google Play, the testing track, and the App Review or promotion step a person approves). Use it to see why a release failed or where it is.
| Parameter | Type | Description |
|---|---|---|
dir | string | The app's folder (absolute path). Defaults to the folder the agent runs in. |
limit | number | How many runs, 1 to 20. Default 5. |
platform | string |
ploa_shipping_report Where everything stands
One report of where this app stands everywhere, like the dashboard's Shipping page: the newest TestFlight build and App Store version, Google Play's testing and production tracks with the rollout, what waits for a person's approval, and the last release run. Read-only. Start here when asked how the app is doing or what to do next.
| Parameter | Type | Description |
|---|---|---|
dir | string | The app's folder (absolute path). Defaults to the folder the agent runs in. |
fresh | boolean | Ask the stores again instead of using recent copies. |
ploa_quality How stable a release is
How stable the app's released versions are, from the stores themselves. Read-only. Google Play: the user-perceived crash and ANR rates over 28 days, overall and per version code, against Play's bad-behavior thresholds (1.09% crashes, 0.47% ANRs), and the crashes and ANRs people hit most. App Store: Apple's API has no crash rates, so it gives what Apple offers: Xcode's performance metrics per version (launch time, hangs, memory, disk writes…) with Apple's regressions, and each build's diagnostics (hangs, disk writes, launches). Give releaseId (or platform and version) to check one release bef…
| Parameter | Type | Description |
|---|---|---|
dir | string | The app's folder (absolute path). Defaults to the folder the agent runs in. |
fresh | boolean | Ask the stores again instead of the copy from the last half hour. |
platform | string | With version, instead of releaseId. |
releaseId | string | The release ID that ploa_release_start returned. |
version | string | Android: the version code. iOS: the build number. |
versionName | string | iOS: the version the build belongs to, like 1.2.0. |
ploa_appstore_price_points App Store prices to choose from
Every price Apple offers in the app's base territory, cheapest first (0 is free), each with the pricePointId that ploa_details_save takes for step price.
| Parameter | Type | Description |
|---|---|---|
dir | string | The app's folder (absolute path). Defaults to the folder the agent runs in. |
ploa_appstore_register_bundle_id Register the bundle ID at Apple
For a new app: registers its iOS bundle ID with Apple (nothing happens if it's already there), so the person only picks it when creating the app in App Store Connect, which only a person can do there. Needs a token allowed to submit.
| Parameter | Type | Description |
|---|---|---|
dir | string | The app's folder (absolute path). Defaults to the folder the agent runs in. |
ploa_android_upload_key_get Read the Android upload key
Whether Ploa holds this app's Android upload key, the key every Android build is signed with before it goes to Google Play: its alias, SHA-256 fingerprint and expiry, and its certificate (public) as PEM. The key itself never leaves Ploa. Pass certificatePath to save the certificate there, for a person to give Play Console when it asks for one (Test and release › App integrity › Upload key › Request upload key reset).
| Parameter | Type | Description |
|---|---|---|
certificatePath | string | Absolute path to save the certificate (.pem) to. Optional. |
dir | string | The app's folder (absolute path). Defaults to the folder the agent runs in. |
ploa_android_upload_key_save Create or upload the Android upload key
Gives Ploa this app's Android upload key, which it keeps in its vault and signs every Android build with; it never leaves Ploa. how create: Ploa makes a new key (RSA 2048, valid 30 years) right in the vault, so no one holds a copy and no password passes through you. Use it only when Google Play has no upload key for this app yet (a new app, or one never uploaded): Play takes the first build's key as the upload key. how upload: an existing keystore (.keystore, .jks or .p12 in PKCS#12 format) from an absolute path on this machine, with its password and, if it holds several keys, the alias. Use i…
| Parameter | Type | Description |
|---|---|---|
how * | string | |
alias | string | how upload: the key's alias, if the keystore holds several. |
dir | string | The app's folder (absolute path). Defaults to the folder the agent runs in. |
password | string | how upload: the keystore's password. |
path | string | how upload: absolute path to the keystore. |
replace | boolean | Replace the upload key Ploa already holds. Only when the person asked. |
ploa_product_get Read an in-app product
One in-app product or subscription as its store has it: kind, state, name and description per language, the US price, a subscription's period and free trial, on the App Store its subscription group, review note, Family Sharing and image (the one the App Store shows with it: url, Apple's state; Google Play keeps none), and under review what the store still needs before it can go to people and the next step (submit or activate). platform is ios or android; a Google Play subscription's productId is "product:basePlan", as the purchases list shows it. With no productId, what a new one needs: the st…
| Parameter | Type | Description |
|---|---|---|
platform * | string | |
dir | string | The app's folder (absolute path). Defaults to the folder the agent runs in. |
productId | string |
ploa_product_save Create or change an in-app product
Creates an in-app product or subscription in one store (leave productId out and put it in values), or changes one, straight to the store (needs a token allowed to submit). values: kind (subscription, consumable, non_consumable; on create), productId (on create: Apple takes letters, numbers, periods, underscores; Play lowercase), price (US dollars such as "4.99": Apple picks its nearest price point at or above, Play converts it for every country), period (subscriptions: P1W P1M P2M P3M P6M P1Y), trial (P3D P1W P2W P1M, or null to remove), listings ({ locale: { name, description } } in the store…
| Parameter | Type | Description |
|---|---|---|
platform * | string | |
values * | object | |
dir | string | The app's folder (absolute path). Defaults to the folder the agent runs in. |
productId | string | The product to change; leave out to create. |
ploa_product_job How a long product write is going
How far a long product write got (an App Store subscription's price, free trial or introductory offer, set country by country): its step (prices, trial_remove, trial, intro_remove, intro), how many of how many countries are done, and at the end what the store has now, or why it failed. Ask again every 20 seconds or so until state is done or failed.
| Parameter | Type | Description |
|---|---|---|
jobId * | string | |
dir | string | The app's folder (absolute path). Defaults to the folder the agent runs in. |
ploa_product_submit Send an in-app product to review
Sends one product on its way to people: on the App Store to App Review (Apple takes an app's first products only with a version; then it goes when the version is submitted through Ploa, which sends every ready product along with the version anyway). An approved App Store product's changed names or image are a new version of it (ploa_product_get's version.draft), sent the same way while the approved one stays on sale. On Google Play, puts it on sale. ploa_product_get says first what the store still needs under review.missing (listing, price, screenshot, groupName). From an agent this always wai…
| Parameter | Type | Description |
|---|---|---|
platform * | string | |
productId * | string | |
dir | string | The app's folder (absolute path). Defaults to the folder the agent runs in. |
ploa_product_review_screenshot Upload an in-app product's review screenshot
Uploads the screenshot App Review looks at for one App Store product (PNG or JPEG, up to 10 MB, from an absolute path on this machine): the screen where it's bought in the app. It replaces the one there. Needs a token allowed to submit.
| Parameter | Type | Description |
|---|---|---|
path * | string | Absolute path to the image. |
productId * | string | |
dir | string | The app's folder (absolute path). Defaults to the folder the agent runs in. |
ploa_product_image Change an in-app product's App Store image
Uploads the image the App Store shows with one product (where it's promoted, and on its page): PNG or JPEG of exactly 1024×1024 pixels, up to 10 MB, from an absolute path on this machine. It replaces the one there and goes to App Review with the product. While the product is with App Review, Ploa keeps the image and sends it itself once Apple has decided (the answer says so; nothing to retry). App Store only: Google Play keeps no image for a product. Needs a token allowed to submit.
| Parameter | Type | Description |
|---|---|---|
path * | string | Absolute path to the image. |
productId * | string | |
dir | string | The app's folder (absolute path). Defaults to the folder the agent runs in. |
ploa_offers_get Read a subscription's offers
A subscription's offers as its store has them, each with its id, type, state (active, draft, scheduled, inactive, ended) and terms. App Store types: intro (the introductory offer, one per country, read as one: the free trial is one too), promotional (code is what the app signs), winback (who it's for under winback), code (offer codes; customers and how many codes were made). Google Play: offers on the base plan, with phases ({ duration, periods, kind: free | discount | price, percent, price }), eligibility (new_app, new_subscription, upgrade, developer), upgradeFrom and tags; trial is true for…
| Parameter | Type | Description |
|---|---|---|
platform * | string | |
productId * | string | |
dir | string | The app's folder (absolute path). Defaults to the folder the agent runs in. |
ploa_offer_save Create, change or end a subscription offer
Creates an offer on one subscription (leave offerId out), or changes or ends one (offerId from ploa_offers_get), straight to the store (needs a token allowed to submit). End one with values { state: "ended" }; put a Google Play draft or ended offer on sale with { state: "active" }. App Store values: type (intro, promotional, winback, code), mode (free, pay_as_you_go, pay_up_front), duration (P3D P1W P2W P1M P2M P3M P6M P1Y; for pay_as_you_go the length of each period), periods (pay_as_you_go: 1 to 12), price (US dollars such as "0.99": Apple picks its nearest price point at or above and the eq…
| Parameter | Type | Description |
|---|---|---|
platform * | string | |
productId * | string | |
values * | object | |
dir | string | The app's folder (absolute path). Defaults to the folder the agent runs in. |
offerId | string | The offer to change or end; leave out to create. |
ploa_offer_codes An App Store offer code's codes
The codes of one App Store offer code (offerId "code:…" from ploa_offers_get). action list: its batches of one-time codes and its custom codes, each with an id, count, expiry and whether it still works. action create (values { kind: one_time | custom, count, expires: YYYY-MM-DD, customCode for custom }): one-time codes (up to 25,000 a batch) Apple makes in a few minutes, or one custom code people type (count is how many times it can be redeemed); from an agent this waits for a person's approval. action download (batchId of one-time codes, saveTo an absolute path for the CSV file): writes the…
| Parameter | Type | Description |
|---|---|---|
action * | string | |
offerId * | string | |
productId * | string | |
batchId | string | |
dir | string | The app's folder (absolute path). Defaults to the folder the agent runs in. |
saveTo | string | |
values | object |
ploa_revenuecat_create_product Create a store product in RevenueCat
Creates a product the store already has in the app's RevenueCat project, under the same identifier so purchases unlock what they should, and optionally adds it to an entitlement and to a package of the current offering. values: platform (ios or android), storeId (the store's product ID; a Google Play subscription is "product:basePlan"), kind (subscription, consumable, non_consumable), displayName, entitlementId and packageId (from ploa_revenuecat_product_options). Always waits for a person's approval when an agent asks.
| Parameter | Type | Description |
|---|---|---|
values * | object | |
dir | string | The app's folder (absolute path). Defaults to the folder the agent runs in. |
ploa_revenuecat_product_options Where a new RevenueCat product can go
The RevenueCat project's entitlements and the packages of its current offering, with the IDs ploa_revenuecat_create_product takes.
| Parameter | Type | Description |
|---|---|---|
dir | string | The app's folder (absolute path). Defaults to the folder the agent runs in. |
ploa_sales Downloads and sales
This app's downloads from each store's daily reports: first-time downloads (Google Play: new users) and updates for the last 30 days, against the 30 days before, with a value per day for 60 days. Also each store page's funnel: App Store impressions, product page views, downloads by source, conversion, sessions and deletions (from Apple's analytics reports, once a person has started them), and Play's store listing visitors and acquisitions by traffic source. For tokens of the workspace's owners, also Apple's proceeds and Google's earnings per currency and RevenueCat's numbers; anyone else's tok…
| Parameter | Type | Description |
|---|---|---|
dir | string | The app's folder (absolute path). Defaults to the folder the agent runs in. |
fresh | boolean | Ask the stores again instead of using the kept answer. |
ploa_testflight_get Read TestFlight
The app's TestFlight as App Store Connect has it: tester groups (internal or external, how many testers, the public link and its limit, which builds each has; an internal group may get every build on its own), the beta information Apple's beta review needs (description and feedback email per language) and the beta review contact (the demo password is never shown, only whether one is set), and what is still missing before a build can go to beta review. With buildId (from ploa_release_status or the store's builds), that build's side too: What to Test per language, the groups that have it, its be…
| Parameter | Type | Description |
|---|---|---|
buildId | string | |
dir | string | The app's folder (absolute path). Defaults to the folder the agent runs in. |
fresh | boolean | |
groupId | string |
ploa_testflight_save Change TestFlight
One TestFlight change, straight to App Store Connect (needs a token allowed to submit). values by action — group.create: { name, internal (bool), allBuilds (bool, internal groups) }. group.update: { groupId, name, feedback (bool), allBuilds (bool, internal groups: every build on its own), publicLink (bool, external groups), publicLinkLimit (number or null) }. group.delete: { groupId }. testers.add: { groupId, testers: [{ email, firstName, lastName }] }: Apple emails each one, so from an agent it waits for a person's approval. testers.remove: { groupId, testerIds }. build.whatToTest: { buildI…
| Parameter | Type | Description |
|---|---|---|
action * | string | |
values * | object | The fields for the action, as described above. |
dir | string | The app's folder (absolute path). Defaults to the folder the agent runs in. |
ploa_play_testers_get Read Google Play testers
Google Play's testing tracks as Play has them: internal testing, closed testing (alpha and any closed track of the app's own naming) and open testing, each with the release on it now (name, version codes, status) and, for internal and closed tracks, its tester Google Groups. Play's API knows testers only as Google Groups: Play Console's email lists (the only kind internal testing takes there) aren't in it, and open testing has no list. Also the opt-in link testers join through and the app's Play Console IDs. testersError says why the groups couldn't be read (Play's daily edit limit for the app…
| Parameter | Type | Description |
|---|---|---|
dir | string | The app's folder (absolute path). Defaults to the folder the agent runs in. |
fresh | boolean | |
track | string | Only this track, like internal or alpha. |
ploa_play_testers_save Change Google Play testers
Adds and takes out tester Google Groups (by their email address, like testers@googlegroups.com) on one internal or closed testing track, straight to Google Play in one edit (needs a token allowed to submit). Everyone in an added group can then join through the opt-in link and get the track's build, so from an agent it waits for a person's approval. Single email addresses can't be added: Play's API takes only Google Groups; email lists are managed in Play Console. Open testing has no list. Play allows each app only so many edits a day: change several groups in one call rather than one call each…
| Parameter | Type | Description |
|---|---|---|
track * | string | The testing track, like internal or alpha (ploa_play_testers_get lists them). |
add | array | Google Groups to add, by email address. |
dir | string | The app's folder (absolute path). Defaults to the folder the agent runs in. |
remove | array | Google Groups to take out. |
ploa_reviews_get Read customer reviews
Customer reviews of the app from the App Store and Google Play in one list, newest first: stars, title, text, the reviewer's name, the App Store country or the Google Play language, the app version (Google Play only), the date, and the developer's reply if there is one. Each store's ratings summary too (the App Store's own average and count; for Google Play, the average of the reviews read). Google Play gives only reviews with text from about the last week; older ones are only in Play Console. Filter by store, stars (a list such as [1, 2]) and unanswered.
| Parameter | Type | Description |
|---|---|---|
dir | string | The app's folder (absolute path). Defaults to the folder the agent runs in. |
fresh | boolean | Ask the stores again instead of Ploa's last answer (a few minutes old at most). |
limit | integer | How many to return (default 25). |
stars | array | |
store | string | |
unanswered | boolean | Only reviews without a reply. |
ploa_review_reply Reply to a customer review
Replies to a review from ploa_reviews_get (reviewId such as apple:123 or google:abc), in the store, under the review, where anyone can read it. A new reply replaces the one there was. Empty text takes the App Store reply back (Google Play can't). At most 5970 characters on the App Store and 350 on Google Play. Write it as the app's developer: thank, answer the point, no promises the team hasn't made. From an agent it waits for a person's approval (needs a token allowed to submit).
| Parameter | Type | Description |
|---|---|---|
reviewId * | string | |
text * | string | |
dir | string | The app's folder (absolute path). Defaults to the folder the agent runs in. |
ploa_marketing_get Read custom product pages and A/B tests
The App Store's custom product pages (each with its state, its own link with ppid, which version is live, and its languages with promotional text) and product page optimization A/B tests (state, share of visitors, start and end, treatments with their alternate icon) of the app. Give pageId or testId for one page's or test's screenshots and previews per language (with the localization IDs ploa_marketing_upload needs). options: true lists the live version's languages and the alternate icons its build carries for tests. Apple's API gives no test results (impressions, conversion, improvement): tho…
| Parameter | Type | Description |
|---|---|---|
dir | string | The app's folder (absolute path). Defaults to the folder the agent runs in. |
fresh | boolean | Ask Apple again instead of Ploa's last answer (a few minutes old at most). |
options | boolean | |
pageId | string | |
testId | string |
ploa_marketing_save Change custom product pages and A/B tests
One change to the App Store's custom product pages or A/B tests (needs a token allowed to submit). action and body: page.create { name, template: "listing" (a copy of the live product page, the default) | "blank" (with locale and promotionalText) | "page:<pageId>" }; page.update { pageId, name?, visible? }; page.text { pageId, locale, promotionalText } (170 characters; a new locale adds that language); page.newVersion { pageId } (to change an approved page); page.remove { pageId }; page.review { pageId }; test.create { name, trafficProportion (percent of visitors who see a treatment, 1-100), t…
| Parameter | Type | Description |
|---|---|---|
action * | string | |
body * | object | |
dir | string | The app's folder (absolute path). Defaults to the folder the agent runs in. |
ploa_marketing_upload Upload a screenshot or preview to a custom product page or A/B test treatment
Uploads one file from an absolute path on this machine to a custom product page's language (owner page, parentId the page ID) or an A/B test treatment's language (owner test, parentId the test ID), by the localizationId ploa_marketing_get shows for the page or test. kind screenshot: PNG or JPEG up to 10 MB, type an App Store display type such as APP_IPHONE_67 or APP_IPAD_PRO_3GEN_129. kind preview: an app preview video (MOV, M4V or MP4; H.264, 15 to 30 seconds, at most 30 fps and 500 MB, in the device size's resolution, checked before anything is sent), type such as IPHONE_67 or IPAD_PRO_3GEN_…
| Parameter | Type | Description |
|---|---|---|
kind * | string | |
localizationId * | string | |
owner * | string | |
parentId * | string | |
path * | string | Absolute path to the file. |
type * | string | |
dir | string | The app's folder (absolute path). Defaults to the folder the agent runs in. |
ploa_events_get Read the App Store in-app events
The app's In-App Events on the App Store, soonest first: ID, reference name, badge, state (DRAFT, READY_FOR_REVIEW, WAITING_FOR_REVIEW, IN_REVIEW, REJECTED, ACCEPTED, APPROVED, PUBLISHED, PAST, ARCHIVED), dates per group of territories (UTC), deep link, purchase requirement, priority, purpose, the name and descriptions per language, whether each language has its event card and details page media (and Apple's processing state), and what an editable event still needs before App Review. Also Apple's limits and allowed values. Pass eventId for one event.
| Parameter | Type | Description |
|---|---|---|
dir | string | The app's folder (absolute path). Defaults to the folder the agent runs in. |
eventId | string | |
fresh | boolean | Ask Apple again instead of Ploa's last answer (a few minutes old at most). |
ploa_event_save Make or change an App Store in-app event
Makes a new In-App Event (no eventId: referenceName and badge required) or changes a draft or rejected one (eventId; send only what changes). Nothing reaches people until App Review approves it (ploa_event_submit). Fields: referenceName (≤64, only in App Store Connect), badge (LIVE_EVENT, PREMIERE, CHALLENGE, COMPETITION, NEW_SEASON, MAJOR_UPDATE, SPECIAL_EVENT), deepLink (universal link or the app's URL; null removes), purchaseRequirement (NO_COST_ASSOCIATED, IN_APP_PURCHASE), priority (NORMAL, HIGH), purpose (APPROPRIATE_FOR_ALL_USERS, ATTRACT_NEW_USERS, KEEP_ACTIVE_USERS_INFORMED, BRING_B…
| Parameter | Type | Description |
|---|---|---|
event * | object | The fields, as described. |
dir | string | The app's folder (absolute path). Defaults to the folder the agent runs in. |
eventId | string | The event to change; leave out to make a new one. |
ploa_event_media_upload Upload an in-app event's picture or video
Uploads the event card (slot card: 16:9, 1920×1080 to 3840×2160) or details page (slot details: 9:16, 1080×1920 to 2160×3840) media of one language of an event: a PNG or JPEG picture, or a MOV, M4V or MP4 video (30 or 60 fps), from an absolute path on this machine. It replaces the one there was. The language's text must be saved first (ploa_event_save). No text or logos in the media, no borders or gradients: Apple adds those. Needs a token allowed to submit.
| Parameter | Type | Description |
|---|---|---|
eventId * | string | |
locale * | string | |
path * | string | Absolute path to the picture or video. |
slot * | string | |
dir | string | The app's folder (absolute path). Defaults to the folder the agent runs in. |
ploa_event_submit Ask to send an in-app event to App Review
Asks to send a ready event (ploa_events_get says what it still needs) to App Review, in a review submission of its own. Submitting is the owner's decision: from an agent it waits for a person's approval in Ploa (check with ploa_approval_status). Once Apple approves it, the App Store shows it on its dates. Needs a token allowed to submit.
| Parameter | Type | Description |
|---|---|---|
eventId * | string | |
dir | string | The app's folder (absolute path). Defaults to the folder the agent runs in. |
ploa_play_data_safety_send Send Data safety to Google Play
Sends the Data safety answers kept in Ploa to Google Play through its API (Google's own CSV, every question), replacing the whole Data safety form in Play Console; Google then reviews it. Only for an agent its owner made autonomous (see ploa_access): otherwise a person presses Send to Google Play on the store setup page, and this says so. Save the answers with ploa_privacy_save first.
| Parameter | Type | Description |
|---|---|---|
dir | string | The app's folder (absolute path). Defaults to the folder the agent runs in. |
ploa_changes_get What's waiting to be sent to the stores
Every draft on the store setup, by store: the setup parts (App Store app information, age rating, price, release, App Review; Google Play's contact details) and the store listing per language, field by field. People and agents fill these; ploa_details_send takes them to the stores. Also the changes Ploa keeps while Apple has what they're for with App Review (a product's image, screenshots, text, an event…): Ploa sends those by itself once Apple has decided; ploa_held_changes lists them by language and sends them now.
| Parameter | Type | Description |
|---|---|---|
dir | string | The app's folder (absolute path). Defaults to the folder the agent runs in. |
ploa_held_changes Changes kept for App Review: list them, or send them now
The changes Ploa keeps while Apple has what they're for with App Review (the App Store text per language, screenshots, app previews, the App Store setup, a product's image, an in-app event…): Apple takes no changes to what it's reviewing, so Ploa keeps them and sends them by itself once Apple has decided. Without send, lists them by language and kind, each with its id, when it was kept and whether Apple refused it. send: true sends them to the App Store now (all, or the ids given), oldest first; one Apple still refuses for App Review stays kept, with the ones of its kind after it. Sending wa…
| Parameter | Type | Description |
|---|---|---|
dir | string | The app's folder (absolute path). Defaults to the folder the agent runs in. |
ids | array | Only these changes (ids from the list). All of them when left out. |
send | boolean | Send them to the App Store now. Leave out to list them. |
ploa_listing_get Read the store listing
The store listing (name, subtitle, descriptions, keywords, links, screenshots, App Store app previews with their processing state, Google Play's promo video) of both stores, per language: the app's languages with each store's code (Hebrew is he at Apple and iw-IL at Google), what each store is still missing per language, and for one language every field's live value, draft and character limit, and its screenshots and app previews in their order, each with the id ploa_screenshot_remove and ploa_preview_remove take and its set's setId for ploa_screenshot_order and ploa_preview_order. Videos are…
| Parameter | Type | Description |
|---|---|---|
dir | string | The app's folder (absolute path). Defaults to the folder the agent runs in. |
fresh | boolean | |
language | string | A language code (he, en-US, ja…); without it, the list of languages and what's missing. |
ploa_listing_start_version Start a new App Store version
Apple takes text and screenshot changes only on a version being prepared. This creates the next one (e.g. 1.2.0), copying the last version's text and screenshots. Needs a token allowed to submit.
| Parameter | Type | Description |
|---|---|---|
version * | string | Like 1.2.0 |
dir | string | The app's folder (absolute path). Defaults to the folder the agent runs in. |
ploa_screenshot_upload Upload a screenshot to a store
Uploads one image (PNG or JPEG, up to 10 MB, from an absolute path on this machine) straight to the store listing. apple types: APP_IPHONE_67 (6.9-inch iPhone, required), APP_IPAD_PRO_3GEN_129 (13-inch iPad), and Apple's other display types; only on a version being prepared. google types: phoneScreenshots (2 to 8), sevenInchScreenshots, tenInchScreenshots, featureGraphic (1024×500, one), and for a Wear OS or TV app wearScreenshots (square, 384 px or more), tvScreenshots (16:9 landscape, 1280×720 or more) and tvBanner (1280×720, one). The file is checked against the store's rules first (ploa…
| Parameter | Type | Description |
|---|---|---|
locale * | string | |
path * | string | Absolute path to the image. |
store * | string | |
type * | string | |
dir | string | The app's folder (absolute path). Defaults to the folder the agent runs in. |
ploa_screenshot_remove Remove a screenshot from a store
Removes one screenshot or graphic from the store listing, by the id ploa_listing_get shows. Needs a token allowed to submit.
| Parameter | Type | Description |
|---|---|---|
id * | string | |
locale * | string | |
store * | string | |
type * | string | |
dir | string | The app's folder (absolute path). Defaults to the folder the agent runs in. |
ploa_screenshot_order Put a set of App Store screenshots in order
Sets the order of one App Store screenshot set (one language and device size): setId and every screenshot id of the set, each once, in the order they should appear, from ploa_listing_get with that language. Only on a version being prepared. Google Play keeps images in the order they were uploaded: there, remove them and upload again in order. Needs a token allowed to submit.
| Parameter | Type | Description |
|---|---|---|
ids * | array | Every screenshot id of the set, first to last. |
setId * | string | |
dir | string | The app's folder (absolute path). Defaults to the folder the agent runs in. |
ploa_preview_upload Upload an App Store app preview
Optional: the App Store doesn't require app previews, so make one only when the person wants it (ask). Uploads one app preview video (from an absolute path on this machine) to the App Store version being prepared, for one language and device size. Apple's rules, checked before anything is sent: .mov, .m4v or .mp4, H.264 (or ProRes 422 HQ in a .mov), 15 to 30 seconds, at most 30 fps and 500 MB, at most 3 per device size and language, and the device size's resolution (IPHONE_67/65/61/58: 886×1920 or 1920×886; IPHONE_55/40: 1080×1920; IPHONE_47: 750×1334; IPAD_PRO_3GEN_129/3GEN_11/105: 1200×…
| Parameter | Type | Description |
|---|---|---|
locale * | string | Apple's language code (en-US, he…). |
path * | string | Absolute path to the video. |
type * | string | |
dir | string | The app's folder (absolute path). Defaults to the folder the agent runs in. |
posterAt | number | Seconds into the video for the poster frame. |
ploa_preview_remove Remove an App Store app preview
Removes one app preview from the App Store version being prepared, by the id ploa_listing_get shows. Needs a token allowed to submit.
| Parameter | Type | Description |
|---|---|---|
id * | string | |
dir | string | The app's folder (absolute path). Defaults to the folder the agent runs in. |
ploa_preview_order Put a set of App Store app previews in order
Sets the order of one app preview set (one language and device size, up to 3): setId and every preview id of the set, each once, first to last, from ploa_listing_get with that language. Needs a token allowed to submit.
| Parameter | Type | Description |
|---|---|---|
ids * | array | |
setId * | string | |
dir | string | The app's folder (absolute path). Defaults to the folder the agent runs in. |
ploa_preview_poster Set an app preview's poster frame
Chooses the frame people see before an app preview plays: seconds into the video (like 5.5), or Apple's time code hh:mm:ss:ff. Needs a token allowed to submit.
| Parameter | Type | Description |
|---|---|---|
at * | number | string | |
id * | string | |
dir | string | The app's folder (absolute path). Defaults to the folder the agent runs in. |
ploa_approval_status Where an approval request is
Whether a person approved, rejected or hasn't yet decided a request made with ploa_release_submit_review, ploa_release_withdraw_review, ploa_release_promote, ploa_appstore_release, ploa_appstore_phased_release or another tool that asks, and, once approved, what the store said.
| Parameter | Type | Description |
|---|---|---|
approvalId * | string |
ploa_app_icon_sync Send the app's icon to Ploa
Sends the app's icon from this project (the file the Expo config names: ios.icon, else icon; an app that isn't Expo: the largest of its iOS AppIcon set, else Android's launcher icon) to Ploa, so the dashboard shows it at once instead of waiting for a build to reach the stores. Ploa shows the project's icon until a store shows a newer one, and puts it (at 512×512) on a Google Play listing that has no icon yet; one Play already has stays. Other Ploa tools already send a changed icon on the way; use this right after changing it, or to fill a new app's Play listing icon.
| Parameter | Type | Description |
|---|---|---|
dir | string | The app's folder (absolute path). Defaults to the folder the agent runs in. |
ploa_app_links Make links open the app
Makes links to the app's web open the app itself: writes .well-known/apple-app-site-association (iOS Universal Links) and .well-known/assetlinks.json (Android App Links) into the web project's public folder (public/, Flutter's web/), from what Ploa knows: the bundle ID and the Apple team of the App Store connection, the package name and the SHA-256 of the upload key Ploa keeps. Google Play re-signs every install with its own app signing key, so pass that key's SHA-256 too (androidFingerprints): the person reads it in Play Console › Test and release › App integrity › App signing; links do…
| Parameter | Type | Description |
|---|---|---|
androidFingerprints | array | SHA-256 fingerprints of Google Play's app signing key (Play Console › App integrity › App signing), in any form (AB:CD:… or plain hex). |
dir | string | The app's folder (absolute path). Defaults to the folder the agent runs in. |
folder | string | Absolute path of the folder whose files the web build copies as they are, when it isn't public/ (or Flutter's web/). |
paths | array | The paths the app opens, like "/invite/*". Default: every path ("*"). |
site | string | The site's address (the part before .ploa.app) or ID. Needed when the workspace has more than one site. |
teamId | string | The Apple team ID, when the App Store connection has no signing certificate yet (Apple Developer › Membership details). |
ploa_web_status The web of the person's apps
The workspace's web on Ploa's hosting (Ploa Aio), each the web app or site of one app: its address, what it is (a web app, pages about the app, or both; installable as a PWA), and its versions with where each stands (going up, with testers at its testing address, waiting for a person to approve its release, live, replaced), Ploa's checks on each, and the hosting room. Read-only. Start here.
| Parameter | Type | Description |
|---|---|---|
site | string | The site's address (the part before .ploa.app) or ID. Needed when the workspace has more than one site. |
ploa_web_setup Add the web to an app, or change what it is
Adds the web to one of the person's apps, at a free <address>.ploa.app, or changes what an app's web is. kind: 'app' (the app itself in the browser), 'site' (pages about the app, linking to its store apps) or 'both' (the pages at the address, the web app under /app); pwa: installable to the home screen. An app with store apps on both platforms needs no PWA on phones (people should get the store apps): leave pwa off unless the person wants it on computers, and then point phones at the stores (the manifest's prefer_related_applications with its Google Play app, and Apple's apple-itunes-app smart…
| Parameter | Type | Description |
|---|---|---|
address | string | The part before .ploa.app (3 to 40 lowercase letters, digits and dashes). For a new web only. |
appId | string | The app it's the web of. |
kind | string | What it is. |
name | string | What to call it in the dashboard (default: the app's name). |
pwa | boolean | Installable (a PWA). Off by default; with store apps on both platforms, only if the person wants it on computers. |
site | string | The site's address (the part before .ploa.app) or ID. Needed when the workspace has more than one site. |
ploa_web_build Send a new version of the web app
Builds the web app or site in this project with its own framework's command and sends it as a new version. Ploa knows Expo (npx expo export --platform web), Next.js with output: 'export', Astro, SvelteKit with adapter-static, Nuxt (generate), React Router in SPA mode, Angular, Gatsby, Docusaurus, VitePress, Eleventy, Vite, Create React App, Vue CLI, Hugo, Jekyll, MkDocs, Flutter (flutter build web), any project with a build script, and plain HTML; it installs the packages first when they're missing, and finds the output folder (out, dist, build, .output/public, build/web...). A project set up…
| Parameter | Type | Description |
|---|---|---|
build | boolean | Build it first with its framework's command (default true); false sends what's built already. |
dir | string | The app's folder (absolute path). Defaults to the folder the agent runs in. |
note | string | What this version is, shown in its history (a change, a commit message). |
site | string | The site's address (the part before .ploa.app) or ID. Needed when the workspace has more than one site. |
version | string | Its version, when the project doesn't say (1.4.1). |
ploa_web_testers Who tests the web app's versions
Who opens the testing addresses of the site's versions, and what to test. access: 'testers' (the emails added here sign in with a code), 'password' (set password too) or 'link' (anyone with the address). add and remove take emails; note is what to test, shown to testers when they sign in. lang: the code email's language for testers without a Ploa account. Without changes it only reads them.
| Parameter | Type | Description |
|---|---|---|
access | string | |
add | array | Emails to add as testers. |
lang | string | The code email's language for testers without a Ploa account ('' for each tester's own page's). People with a Ploa account always get theirs. |
note | string | What to test. |
password | string | For access: password (6 to 100 characters). Give it to the person, not in a public place. |
remove | array | Emails to take off. |
site | string | The site's address (the part before .ploa.app) or ID. Needed when the workspace has more than one site. |
ploa_web_release Release a web version
Puts a tested version live at the site's address and the person's domains (the newest one with testers, or the one named), now or at a time (at, ISO 8601). Ploa reviews it again first; anything unsafe stops it. Like production in the stores, it needs a person: this only asks, and the person approves on ploa.dev (ploa_approval_status tells you), unless ploa_access says you're autonomous, when it goes at once. Never try another way around the approval.
| Parameter | Type | Description |
|---|---|---|
at | string | When it goes live (ISO 8601); default now. |
site | string | The site's address (the part before .ploa.app) or ID. Needed when the workspace has more than one site. |
version | string | The version's build number (13) or ID, as ploa_web_status lists them. |
ploa_web_domain_add Connect a domain the person owns
Connects a domain the person already owns (example.com or www.example.com) to one of their sites. Ploa sells no domains: every site has its free <address>.ploa.app, and the plan limits how many own domains connect (Free: none; Starter 1, Pro 3, Team any). Returns the DNS records the person adds where their domain's DNS is managed: a TXT that proves it's theirs, and an A record (bare domain) or CNAME (subdomain) to Ploa. Give the person the records exactly; don't change their DNS for them unless they ask. Then ploa_web_domain_check.
| Parameter | Type | Description |
|---|---|---|
domain * | string | The domain, like example.com or www.example.com. |
site | string | The site's address (the part before .ploa.app) or ID. Needed when the workspace has more than one site. |
ploa_web_domain_check Check the site's domains
Checks the domains connected to a site now: whether the TXT proves each is the person's, whether its A or CNAME sends it to Ploa, and whether a request reaches Ploa's hosting; with the records still to add and what's wrong. DNS changes usually show within minutes, sometimes hours; Ploa also checks by itself every few minutes. Read-only for the person's DNS.
| Parameter | Type | Description |
|---|---|---|
domain | string | One domain to check (default: all of the site's). |
site | string | The site's address (the part before .ploa.app) or ID. Needed when the workspace has more than one site. |
ploa_web_rollback Go back to an earlier web version
Puts a site back on a version that was live before (the one before the current, or the one named), at once and with no review: it's how to undo a bad release. Ploa keeps the last 10 versions' files. Tell the person which version it goes back to.
| Parameter | Type | Description |
|---|---|---|
site | string | The site's address (the part before .ploa.app) or ID. Needed when the workspace has more than one site. |
version | string | The version's build number (13) or ID, as ploa_web_status lists them. |
ploa_server_status The app's server
The app's server, the server side of its web app: an API, scheduled jobs and a Postgres database Ploa runs on Google Cloud, either in Ploa's cloud (on Pro and Team, one for each app, its room set by the plan; nothing is bought) or in the person's own Google Cloud project (any plan, Google bills them). Says where it stands, its address, the live version and the last deploys, its variables (secrets by name only), its jobs, and what's needed when it's stopped. With no server, the kinds the workspace can have. Read-only. Start here.
| Parameter | Type | Description |
|---|---|---|
dir | string | The app's folder (absolute path). Defaults to the folder the agent runs in. |
ploa_server_create Make the app's server
Makes the app's server, the server side of its web app. cloud: ploa (on Pro and Team: made at once with the room the plan gives each app; nothing is bought) or own (the person's Google Cloud project, any plan: Ploa prints commands they run once to let it in). Ask the person which before calling. retry: true carries on making one that stopped (after the person ran the commands, say). folder and releaseCommand set where the server's code is in the repository and a command run before each version goes live (database migrations, say: npx prisma migrate deploy).
| Parameter | Type | Description |
|---|---|---|
cloud | string | |
dir | string | The app's folder (absolute path). Defaults to the folder the agent runs in. |
folder | string | The server's folder in the repository, such as server or apps/api. |
project | string | For cloud: own, the Google Cloud project's ID (Settings › Builds' when not given). |
region | string | For cloud: own (me-west1, Tel Aviv, when not given). |
releaseCommand | string | null | Run once before each version goes live; null for none. |
retry | boolean |
ploa_server_deploy Deploy the server's code
Sends the server's code as a new version: the server's folder from the project (the default), or source: github to have Ploa take it from the app's linked repository (a commit, or the branch's head). Ploa builds it in the server's Google Cloud with its Dockerfile, or as Node, Python, Go, Java, Ruby, PHP or .NET by itself (package.json's start script, a Procfile...); it must listen on the PORT variable. Then the release command runs, and the new version goes live; the one before stays for rolling back. Returns at once: ploa_server_status says how it went, and ploa_server_logs shows the build an…
| Parameter | Type | Description |
|---|---|---|
dir | string | The app's folder (absolute path). Defaults to the folder the agent runs in. |
folder | string | The server's folder, relative to the app's folder; the server's own setting when not given. |
sha | string | |
source | string |
ploa_server_env The server's environment variables
Sets or removes the server's environment variables; the live version restarts with them. secret: true for keys and passwords (kept in Ploa's vault and Google's Secret Manager, never shown again); plain values show. Never put a secret the person hasn't given you; ask them to set it on the server's page instead. DATABASE_URL is set by Ploa.
| Parameter | Type | Description |
|---|---|---|
dir | string | The app's folder (absolute path). Defaults to the folder the agent runs in. |
remove | string | |
set | array |
ploa_server_logs The server's logs
The server's output and its jobs', newest first (the last day unless since is given): what it printed, requests with their status, crashes. text finds lines with those words; job: a job's name, or run for commands run with ploa_server_run. Read-only.
| Parameter | Type | Description |
|---|---|---|
dir | string | The app's folder (absolute path). Defaults to the folder the agent runs in. |
job | string | |
limit | number | |
since | string | An ISO time. |
text | string |
ploa_server_run Run a command on the server once
Runs a shell command once with the server's live version, its variables and database (a seed script, a one-off fix). There's no SSH: its output is in ploa_server_logs with job: run. Needs the production tier.
| Parameter | Type | Description |
|---|---|---|
command * | string | |
dir | string | The app's folder (absolute path). Defaults to the folder the agent runs in. |
ploa_server_jobs The server's scheduled jobs
Adds or changes a scheduled job (name, schedule as cron's five fields in UTC, at most every 5 minutes, and the command, run with the live version), or removes one. The package sets how many (Mini 1, S 3, M 10).
| Parameter | Type | Description |
|---|---|---|
command | string | |
dir | string | The app's folder (absolute path). Defaults to the folder the agent runs in. |
name | string | |
remove | string | |
schedule | string |
ploa_db_query Query the server's database
Runs SQL on the server's Postgres as its own role, which reaches that database only. Read-only unless write: true (needs the production tier; prefer migrations in the code for the schema). Returns the last statement's rows.
| Parameter | Type | Description |
|---|---|---|
sql * | string | |
dir | string | The app's folder (absolute path). Defaults to the folder the agent runs in. |
write | boolean |
ploa_github_status GitHub for this app
Where builds on GitHub stand for this app, and what's next: whether GitHub is connected to Ploa, the repository, folder (and any platform's own folder) and release branch linked, Ploa's workflow on that branch (current, older, missing; whether it still builds), each platform's build state with its reason (the same the dashboard's Build button shows), where iOS builds (the person's Mac or GitHub's Macs), build files a build would miss, and GitHub minutes. Ends with the next steps, each marked for the person (with its link) or for you. Read-only.
| Parameter | Type | Description |
|---|---|---|
dir | string | The app's folder (absolute path). Defaults to the folder the agent runs in. |
ploa_github_setup Set up builds on GitHub
Does your part of setting up builds on GitHub for this app and asks the person for theirs. GitHub not connected: returns the link where the person connects it (once: a trip to github.com and back). Not linked: asks to link the app to its repository, folder and release branch (read from this checkout's origin and folder unless given). The link decides which repository's runs get the app's signing, so a person approves it on ploa.dev (an autonomous agent's links at once); pass the person the link and follow it with ploa_approval_status. Linked: Ploa commits its workflow to the release branch (a…
| Parameter | Type | Description |
|---|---|---|
branch | string | The release branch builds start from. Default: the repository's default branch. |
dir | string | The app's folder (absolute path). Defaults to the folder the agent runs in. |
folder | string | The app's folder in the repository ("" for its top). Default: this checkout's; on the web, the folder whose app is this one. |
repo | string | owner/name on GitHub. Default: this checkout's origin (or the repository already linked). |
ploa_github_settings Change the app's GitHub settings
Asks to change the app's GitHub settings, the switches on its GitHub card in Ploa: labelBuilds (a PR label ploa:android, ploa:ios or ploa:all builds the PR's head), iosHosted (iOS builds on GitHub's Macs instead of the person's own Mac; the signing identity goes to GitHub's machine for the build, and a Mac minute counts as ten of the person's GitHub minutes on a private repository: say so first), releaseFlow (Releases on GitHub: deployments, a tag and a GitHub Release when a version goes live, the next version's PR), storeCode (the store page from the repo's store/ folder becomes drafts on pus…
| Parameter | Type | Description |
|---|---|---|
dir | string | The app's folder (absolute path). Defaults to the folder the agent runs in. |
iosHosted | boolean | iOS builds on GitHub's Macs (true) or the person's own Mac as a self-hosted runner (false). An owner's decision. |
issues | object | GitHub issues from the stores, per source. |
labelBuilds | boolean | Builds from PR labels (ploa:android, ploa:ios, ploa:all). |
releaseFlow | boolean | Releases on GitHub: deployments, a tag and a GitHub Release when a version goes live, the next version's PR. |
storeCode | boolean | The store page from the repo's store/ folder: a push to the release branch makes drafts. |
ploa_details_get Read the store details
Everything both stores ask for, as one set of answers, the same as the person's Store details wizard on ploa.dev: the languages (each with its App Store and Google Play code), the text per language, the links and contact, category, age rating answers (with every question and its allowed answers), price and countries, App Review's contact and demo account, release, and privacy. Plus problems: what each store would refuse now (FIX) and what's likely a mistake (check), each with the step and language it's in, and what's left for the person to enter by hand in a store's console, with links. Start…
| Parameter | Type | Description |
|---|---|---|
dir | string | The app's folder (absolute path). Defaults to the folder the agent runs in. |
fresh | boolean | Ask the stores again instead of the copy from the last two minutes. |
step | string | Only one step's answers; all when left out. |
ploa_details_save Save store details
Saves answers as drafts in Ploa, one step at a time, for both stores at once (a token allowed to draft is enough; nothing reaches a store until ploa_details_send). Returns what each store would still refuse. step and values: - text: { languages: { <language code from ploa_details_get, or a new one like "fr-FR">: { name (both stores, 30), subtitle (App Store, 30), shortDescription (Google Play, 80), description (both, 4000), keywords (App Store, 100, commas; Ploa tidies them), promotionalText (App Store, 170, optional), whatsNew (App Store 4000, only for an update; Google Play 500, on the next…
| Parameter | Type | Description |
|---|---|---|
step * | string | |
values * | object | The answers, as above. |
dir | string | The app's folder (absolute path). Defaults to the folder the agent runs in. |
ploa_review_attachment_upload Attach a file for App Review
Uploads a file for Apple's reviewers to the App Store version being prepared, beside the review notes: a demo video of a flow they can't reach (hardware, a paid account, a location), or a document (from an absolute path on this machine, up to 500 MB). It goes to App Store Connect straight away, not as a draft; while the version is with App Review, Ploa keeps it and sends it once Apple has decided (files over 60 MB can't wait: send them again then). ploa_details_get step review lists the attachments with their ids. Needs a token allowed to submit.
| Parameter | Type | Description |
|---|---|---|
path * | string | Absolute path to the file. |
dir | string | The app's folder (absolute path). Defaults to the folder the agent runs in. |
ploa_review_attachment_remove Remove a file attached for App Review
Removes one App Review attachment from the App Store version being prepared, by the id ploa_details_get step review lists. While the version is with App Review, Ploa removes it once Apple has decided. Needs a token allowed to submit.
| Parameter | Type | Description |
|---|---|---|
id * | string | |
dir | string | The app's folder (absolute path). Defaults to the folder the agent runs in. |
ploa_privacy_save Save the privacy answers
What the app collects, once for both stores: Apple's App Privacy and Google Play's Data safety are made from it. Read the app's code first (ploa_privacy_hints). apple: { collects: true|false, types: { <type>: { purposes: [appFunctionality|analytics|personalization|developerAdvertising|thirdPartyAdvertising|other], linked: bool, tracking: bool } } } with types name, email, phone, address, otherContact, health, fitness, payment, credit, otherFinancial, preciseLocation, coarseLocation, sensitiveInfo, contacts, emails, photos, audio, gameplay, support, otherContent, browsingHistory, searchHistory,…
| Parameter | Type | Description |
|---|---|---|
apple * | object | |
dir | string | The app's folder (absolute path). Defaults to the folder the agent runs in. |
google | object |
ploa_details_send Send the store details to both stores
Checks every answer against both stores' rules and, when nothing would be refused, sends every draft to App Store Connect and Google Play in one go, saying per part what each took. When something would be refused, nothing is sent and the problems come back with the step to fix each in. Apple keeps what's for a version with App Review (Ploa sends it once Apple decides); an agent's price change becomes an approval. Needs a token allowed to submit; otherwise tell the person to press Send on the Store details page.
| Parameter | Type | Description |
|---|---|---|
dir | string | The app's folder (absolute path). Defaults to the folder the agent runs in. |
ploa_encryption_get Read the app's export compliance
Apple's export compliance for the app's iOS builds: the person's answers about the app's encryption (kept in Ploa), whether they need an encryption declaration at Apple and which document (a CCATS for proprietary algorithms; the French encryption declaration when it's sold in France), the declaration Ploa made and Apple's review state, the version's build's answer, what the Info.plist should say, and what's left with who does it. Includes each question in words to ask the person. Read-only.
| Parameter | Type | Description |
|---|---|---|
dir | string | The app's folder (absolute path). Defaults to the folder the agent runs in. |
fresh | boolean | Ask Apple again instead of the copy from the last two minutes. |
ploa_encryption_save Save the export compliance answers
Saves the person's answers about the app's encryption in Ploa (nothing reaches Apple until ploa_encryption_declare or the person's Send to Apple). These are the person's statements under US and French export rules: ask them, with what the code suggests (ploa_encryption_get has the questions), and save only what they said. kind: "none" (no encryption, or only Apple's: HTTPS through iOS, the Keychain) | "exempt" (only for what Category 5, Part 2 of the US rules exempts) | "standard" (standard algorithms the app implements itself, like a bundled OpenSSL or libsodium) | "proprietary" | "both". Wit…
| Parameter | Type | Description |
|---|---|---|
description | string | |
dir | string | The app's folder (absolute path). Defaults to the folder the agent runs in. |
france | boolean | |
kind | string |
ploa_encryption_document Upload the export compliance document
Uploads the document Apple asks for with an encryption declaration, from an absolute path on this machine (PDF, PNG or JPEG, up to 10 MB): the CCATS from the US Bureau of Industry and Security (proprietary algorithms) and/or the French encryption declaration (on the App Store in France). Only a document the person gave you: they come from those authorities, never write one. Apple takes one file per declaration, so two documents go in one PDF. Kept in Ploa and sent with the declaration.
| Parameter | Type | Description |
|---|---|---|
path * | string | Absolute path to the file. |
dir | string | The app's folder (absolute path). Defaults to the folder the agent runs in. |
ploa_encryption_declare Send export compliance to Apple
Sends the saved export compliance answers to Apple: when they need it, makes the encryption declaration in App Store Connect, uploads its document, and attaches it to the App Store version's build and the builds waiting for an answer (or the one buildId); otherwise answers "no non-exempt encryption" on those builds. Apple reviews a declaration (about two business days); Ploa attaches it to each new build it sees processed. It's the person's statement to Apple, so only a person sends it (on the Store details page) unless ploa_access says this agent is autonomous; otherwise this says where they…
| Parameter | Type | Description |
|---|---|---|
buildId | string | Only this build (its App Store Connect ID). |
dir | string | The app's folder (absolute path). Defaults to the folder the agent runs in. |
ploa_screenshot_specs What screenshots each store takes
The stores' screenshot rules per device type, from Apple's and Google's own pages: the exact sizes (Apple) or the range (Google Play), how many a set holds, the format, the size to make, which sets each store asks for, and a simulator that captures each Apple size as is. Then, for the app in this folder, what its store page has per language and which screenshot sets it still needs. Also the videos the page has, which are optional (App Store app previews, Google Play's promo video): ask the person before making one. Start here before making screenshots; capture them with ploa_screenshot_capture…
| Parameter | Type | Description |
|---|---|---|
all | boolean | Apple's older devices, Mac, Apple TV, Vision Pro and Watch too. |
dir | string | The app's folder (absolute path). Defaults to the folder the agent runs in. |
store | string | One store; both when left out. |
ploa_screenshot_check Check screenshots before uploading
Checks image files on this machine (absolute paths) against a store's rules, from each file's own header: PNG or JPEG, no transparency, the size (Apple: exactly one of the device size's; Google Play: 320 to 3840 px a side, at most twice as long as wide; the feature graphic exactly 1024×500) and the file size. With type, against that device type, and says if there are more files than a set holds; without it, which of the store's types take each file as it is. Nothing is sent anywhere.
| Parameter | Type | Description |
|---|---|---|
paths * | array | Absolute paths to the images. |
store * | string | |
type | string | Apple's display type (APP_IPHONE_67, APP_IPAD_PRO_3GEN_129…) or Google Play's image type (phoneScreenshots, sevenInchScreenshots, tenInchScreenshots, featureGraphic; a Wear OS app's wearScreenshots,… |
ploa_screenshot_web Capture the web build at a phone's size
Saves a screenshot of a page of the app's web build (a dev server like http://localhost:8081, or the web's testing address) at exactly a store's size, with Chrome or Edge in the background: an iPhone 6.9-inch (1320×2868) by default, an iPad, or a Google Play phone. It's the way to make iPhone screenshots on Windows or Linux, where there's no iOS Simulator, for an app whose web build is the same app (Expo, Flutter, React Native for web). Apple wants screenshots of the app itself in use: show the person the result and use it only when the web build looks like the iPhone app (no browser-only par…
| Parameter | Type | Description |
|---|---|---|
url * | string | The page, http(s)://… |
dir | string | The app's folder (absolute path). Defaults to the folder the agent runs in. |
folder | string | Where to save it (absolute path). Default: screenshots/ in the project. |
name | string | The file's name, like 01-home.png. |
type | string | The store's display type: APP_IPHONE_67 (default), APP_IPHONE_65, APP_IPAD_PRO_3GEN_129, or Google Play's phoneScreenshots, sevenInchScreenshots, tenInchScreenshots. |
waitMs | number | How long the page may load before the shot, in ms (default 4000, up to 20000). |
ploa_screenshot_capture Capture a simulator's or emulator's screen
Saves what a booted iOS Simulator (xcrun simctl) or Android emulator or device (adb screencap) shows now, as a PNG, and says which of the store's types take it as it is. It only captures: run the app and bring it to the screen first; nothing is installed, booted or launched. Saved under the app's store/screenshots/<platform>/ unless folder says otherwise; an alpha channel is removed, since the stores refuse transparency. Pick the device by name or ID when several are running; list: true only lists them. For Apple's sizes, capture on the simulator ploa_screenshot_specs names (an iPhone 17 Pro M…
| Parameter | Type | Description |
|---|---|---|
device | string | The simulator's name or UDID, or the Android device's serial or model. |
dir | string | The app's folder (absolute path). Defaults to the folder the agent runs in. |
folder | string | Where to save it (absolute path). |
list | boolean | Only list the running simulators and devices. |
name | string | The file's name, like 01-home.png. Defaults to the device and the time. |
platform | string | Needed only when both an iOS Simulator and an Android device are running. |
ploa_privacy_hints What the app's code says about the data it collects
Reads this app's package.json, Expo config, Info.plist purpose strings, AndroidManifest permissions, the privacy manifests of the app and its SDKs, and its imports, and returns hints for Apple's App Privacy and Google Play's Data safety: each well-known SDK (analytics, crash reporting, ads, push, sign-in, payments…) and permission with the data types and purposes it usually involves, in the keys ploa_privacy_save takes. Each hint says where it was found, whether it collects by design or only depending on how the app uses it, and what to check in the code. Also flags tracking (ATT, the advert…
| Parameter | Type | Description |
|---|---|---|
dir | string | The app's folder (absolute path). Defaults to the folder the agent runs in. |
ploa_ask_person Ask the person to do something only they can
Puts a task in the person's approvals for something only a person can do, which you found is needed: a form or declaration in App Store Connect or Play Console that no store API takes (App Privacy, Play's App content forms, Apple's regulated medical device and EU trader declarations), an agreement only the Account Holder accepts, a click in a store's console. Ploa files these itself when a store stops a request (ploa_person_tasks lists them): ask for one only when it isn't there. Give it as numbered steps, each with the exact answer and, where it's done, its link and button words. The dashboar…
| Parameter | Type | Description |
|---|---|---|
title * | string | A short title, in English (Declare the medical device status at Apple). |
dir | string | The app's folder (absolute path). Defaults to the folder the agent runs in. |
firstTimeOnly | boolean | Only the first time is the person's; later times are done for them. |
he | object | The same title and steps in Hebrew, for a dashboard in Hebrew. |
link | string | The main page where it's done (https). |
part | string | The store details part it is, when it's one of them. |
steps | array | The steps, in English. |
store | string | |
what | string | Instead of steps: the same as one text (older form). |
ploa_person_tasks What's waiting for the person to do by hand
The tasks waiting in the person's approvals for something only they can do (a store console's form, a declaration, Google's first production release in Play Console), the ones Ploa filed itself when a store stopped a request and the ones agents asked for: each with its numbered steps, their links, and its address in Ploa. Call it after a store refuses or holds something (a release left as a draft, App Review's refusal), and whenever the person asks what's left. Walk them through each in chat, step by step with the links, and give each task's address. Read-only.
| Parameter | Type | Description |
|---|---|---|
dir | string | The app's folder (absolute path). Defaults to the folder the agent runs in. |
ploa_news What happened
What happened in the last week that you should know: a store's review answer (App Review, Google Play), a build that failed or reached testers, an approval the person decided, a person's task done, something a store turned down, a low review, a TestFlight build about to expire, a store connection that stopped working. Each with what to do next. New ones also come at the end of any Ploa tool's answer, once; call this at the start of the work, and when the person asks what's new.
ploa_what_now What waits for the person, across every app
The home page's What now for every app of the workspace in one call: the requests waiting for a person's approval (App Review, production, prices, testers, files), the builds and steps that failed or stopped, and what's on its way. Use it at the start of the work and when the person asks what's going on; for one app's stores in detail, ploa_shipping_report.
ploa_activity What was done in this app, and by whom
What was done in this app, newest first, from Ploa's audit log: store details sent, builds and releases, approvals asked and decided, keys and settings changed, each with who did it (a person, an agent by name, a token, or Ploa itself) and when. Use it when picking up work another session or person started, or when the person asks who changed something.
| Parameter | Type | Description |
|---|---|---|
dir | string | The app's folder (absolute path). Defaults to the folder the agent runs in. |
limit | number | How many entries, 1 to 200. Default 30. |
ploa_gap_report Tell Ploa's team what it doesn't cover
Writes down for Ploa's own team something Ploa doesn't do or got wrong, that this work ran into: a store form it doesn't fill, a check that fired for nothing, a step that had to be done by hand. Say what happened, what was done instead, and what would fix it. It goes to Ploa's operators, not to the person, and doesn't ask anyone; use it instead of quietly working around a gap. Nothing secret: no keys, passwords or customers' data. A few a day per workspace.
| Parameter | Type | Description |
|---|---|---|
details * | string | What happened, what was done instead, and what would fix it (up to 8000 characters). |
title * | string | One line: what Ploa doesn't do (up to 200 characters). |
dir | string | The app's folder (absolute path). Defaults to the folder the agent runs in. |
ploa_support_request Ask Ploa's support, through the person
Drafts a message to Ploa's support for the person to approve: a problem with Ploa itself, billing, a refund, privacy. Agents never write to support themselves, so it waits for the person, and goes out under their name and email once they approve it on ploa.dev (never in advance, not even for an autonomous agent). Put in what support needs: what was tried, the app, the release or run ID, and the error word for word. For something Ploa doesn't cover that needs no answer, ploa_gap_report.
| Parameter | Type | Description |
|---|---|---|
message * | string | The message, as the person would send it. |
subject * | string | One line. |
topic * | string | |
dir | string | The app's folder (absolute path). Defaults to the folder the agent runs in. |
ploa_store_deadlines The stores' dated rules, and which apps they touch
The App Store's and Google Play's rules with a date that Ploa knows (the Xcode a build must come from, Google Play's target SDK, Play's trader status), and each app of the workspace against them: its newest Android build's target SDK next to the one Google asks for now. Use it before planning a release, and when the person asks what's coming.
ploa_min_version Ask people on an old version to update
Sets the lowest version of this app people may keep using, per platform, without an SDK: the app asks Ploa at start (GET https://ploa.dev/api/v1/min-version/<app ID>?platform=ios&version=<its version>, no sign-in) and gets update: true below it, with the message and the store's link to show. Without minVersion it only reads what's set; minVersion null stops asking. The answer gives the address and a few lines of code for the app to call it. Use it when a version has a bug people must leave, or an old API is going away.
| Parameter | Type | Description |
|---|---|---|
dir | string | The app's folder (absolute path). Defaults to the folder the agent runs in. |
message | string | What the app shows, in the app's main language (up to 300 characters). |
minVersion | string | null | Like 2.4.0; null to stop asking. |
platform | string |
ploa_schedule_release Release on both stores at a set time
Asks a person to approve releasing at a set time, on one store or both together: iosReleaseId puts the version App Review approved onto the App Store (its release option must be manual: ploa_appstore_release_type), androidReleaseId sends the build to production on Google Play (rolloutPercent for a staged rollout). Once approved, each waits and goes out at its time (up to 30 days ahead); Google still reviews an Android release first, so send Android a day or two early or schedule it after Google approved. at is a time with its zone, like 2026-11-10T10:00:00+02:00. Follow each request with ploa_…
| Parameter | Type | Description |
|---|---|---|
at * | string | When, as an ISO time with its zone (2026-11-10T10:00:00+02:00). |
androidReleaseId | string | The Android release that goes to production. |
iosReleaseId | string | The iOS release whose approved version goes onto the App Store. |
rolloutPercent | number | Android only: the share of users, 1 to 100. Default 100. |
ploa_size_report How big each build is
Each recent build's size per platform (the .ipa and .aab the build machine sent), with the change from the build before it, and a warning when an iPhone build passes 200 MB, past which iPhones ask before downloading it over cellular data. Use it after a build that grew, or before adding a big dependency or asset.
| Parameter | Type | Description |
|---|---|---|
dir | string | The app's folder (absolute path). Defaults to the folder the agent runs in. |
ploa_review_rejection What the stores turned down, and why
Everything the App Store and Google Play said when they turned something down, in one place: the App Store version (REJECTED, METADATA_REJECTED, INVALID_BINARY), builds Apple's processing refused, TestFlight beta review, in-app purchases and subscriptions, in-app events, custom product pages and tests, Google Play releases its review didn't approve, and releases or approved requests the store refused on the way. Each with its state, when, every reason the stores' APIs give, the message the person pasted from App Store Connect or Play Console with its guideline numbers and ITMS codes, the link…
| Parameter | Type | Description |
|---|---|---|
dir | string | The app's folder (absolute path). Defaults to the folder the agent runs in. |
fresh | boolean | Ask the stores again instead of the answer from the last ten minutes. |
item | string | Which rejection the text belongs to: its key from this tool (like apple:version:…). Leave out for the store's newest. |
note | string | With translations: the id of a message already kept (shown as note … in this tool's answer). |
store | string | With text and no item: whose message it is. |
text | string | The store's message as the person copied it (App Store Connect › App Review, or Play Console's Inbox), to keep in Ploa. Up to 20000 characters. |
translations | object | The message translated, for people who read Ploa in that language; the store's own text is kept as it is. With text, or with note for a message already kept. |
ploa_app_review_reply Draft the reply to App Review's message
Keeps the developer's reply to App Review's message after an App Store rejection, for when the message waits for an answer (it asks for information or a question, like Guideline 2.1 Information Needed; ploa_app_review_status and ploa_review_rejection say so) or the person disagrees with it. A rejection that asks for a fix needs no reply: the fixed build or store page is the answer, and ploa_release_submit_review sends it back without any text. The reply is sent before the version goes back to App Review: once it does, App Store Connect closes the thread (no reply box), and Ploa then refuses a…
| Parameter | Type | Description |
|---|---|---|
dir | string | The app's folder (absolute path). Defaults to the folder the agent runs in. |
item | string | Or the rejection's key from ploa_review_rejection (apple:version:…). |
sent | string | Instead of text: the id of a reply the person sent in App Store Connect, to keep it as sent. |
submission | string | The review submission's ID at App Store Connect, when the rejection is no longer in ploa_review_rejection (the version was resubmitted): the link then opens its thread. |
text | string | The reply, in English, as it goes to App Review. Up to 4000 characters (what App Review Information › Notes takes). |
translations | object | The reply translated, shown beside it to people who read Ploa in that language. |
version | string | The App Store version it's about, like 1.0.0. Leave out for the newest rejected one. |
ploa_app_review_status App Review: where the app stands
Where the app's App Store version stands with App Review now, from App Store Connect: its state (waiting, in review, approved and waiting for release, released in phases, rejected), its build, its release option and phased release (day of 7, paused), the newest build on TestFlight that can go to App Review, what App Review decided before (approved or rejected, and when), the requests waiting for a person, and the next steps with the tool and release ID for each. Ploa hears App Review's answer within minutes and tells the person on their devices. For what App Review said in a rejection, use plo…
| Parameter | Type | Description |
|---|---|---|
dir | string | The app's folder (absolute path). Defaults to the folder the agent runs in. |
fresh | boolean | Ask App Store Connect now instead of what Ploa read in the last minute. |
ploa_appstore_release_type Ask to change how the App Store version is released
Asks a person to approve changing the app's App Store release option: AFTER_APPROVAL (Apple releases a version as soon as App Review approves it) or MANUAL (it waits, Pending Developer Release, until a person releases it with ploa_appstore_release). Ploa keeps it for the app and puts it on each next version before it goes to App Review; the newest version gets it too while Apple still takes a change (until it approves that version), otherwise that one stays as it is. A scheduled date is set with ploa_details_save (review.releaseType SCHEDULED). Nothing changes at Apple until a person approves…
| Parameter | Type | Description |
|---|---|---|
type * | string | |
dir | string | The app's folder (absolute path). Defaults to the folder the agent runs in. |
ploa_play_review_status Google Play's review: where the app stands
Where the app's newest production release stands with Google Play's review now (in review, approved and held by managed publishing, not approved, published, a staged rollout's share), the newer build that can go in its place, Google's decisions before, the requests waiting for a person, the next steps with the tool for each, and managed publishing as far as Ploa can tell. Google's API can't read or change managed publishing, or publish a release it holds: Ploa knows it's on once Google has held an approved release, and turning it on or off and publishing are the person's step in Play Console â…
| Parameter | Type | Description |
|---|---|---|
dir | string | The app's folder (absolute path). Defaults to the folder the agent runs in. |
fresh | boolean | Ask Google Play now (it has a daily limit per app; Ploa reads a few times a day by itself). |
ploa_appstore_release Ask to release the approved version on the App Store
Asks a person to approve releasing an iOS version App Review approved and that waits for the developer (Pending Developer Release, the release option "manually release"): Apple then puts it on the App Store, for everyone or, with a phased release, to a growing share of people with automatic updates over 7 days. Pass the release of its build (ploa_app_review_status gives it). A version that isn't approved yet, or that Apple releases by itself, is refused with why. Nothing reaches Apple until a person approves on the Ploa dashboard; check it with ploa_approval_status. Needs a token allowed to to…
| Parameter | Type | Description |
|---|---|---|
releaseId * | string | The release ID that ploa_release_start returned. |
ploa_appstore_phased_release Ask to pause, resume or finish a phased release
Asks a person to approve a change to an App Store version's phased release (7 days, to a growing share of people with automatic updates): pause (they stop getting it; anyone can still download it from the App Store; Apple allows 30 days of pauses in all), resume (a paused one goes on from its day), or complete (everyone gets it now). Pass the release of the version's build (ploa_app_review_status gives it and says which of these apply). Nothing changes at Apple until a person approves on the Ploa dashboard; check it with ploa_approval_status. Needs a token allowed to touch production.
| Parameter | Type | Description |
|---|---|---|
action * | string | |
releaseId * | string | The release ID that ploa_release_start returned. |