App Store Submission
PAM Native gives you store-ready artifacts: an Android App Bundle for Google
Play and a signed .ipa for App Store Connect. Everything a store reviews
inside the binary (identity, version, icon, permissions, purpose strings, deep
links) is declared in pam-native.json and by the plugins you install, so you
can check it before you upload.
The upload itself, the store listing, screenshots, privacy questionnaires, and review are the standard Google Play and App Store processes. PAM does not upload to stores or hold store credentials. This page shows what to prepare in your project and points out where the store process takes over.
Before you submit
Section titled “Before you submit”Work through these in pam-native.json, then build with
Building and Signing.
App identity
Section titled “App identity”{ "name": "Acme", "applicationId": "com.example.acme", "versionCode": 12, "versionName": "1.4.0", "ios": { "bundleIdentifier": "com.example.acme" }}applicationIdis the Android package name and, by default, the iOS bundle identifier. It cannot change after the first store release.ios.bundleIdentifieris only needed when the iOS app already exists under a different identifier.nameis the label under the icon (1 to 80 characters). For iOS, the Xcode product name is an ASCII form of it, so accented names still pass App Store Connect validation.versionCodemust increase for every upload to either store.
App icon
Section titled “App icon”Without an icon declaration the hosts keep the bundled PAM icon. Declare your own before any public release:
{ "android": { "icon": { "foreground": "assets/icon/android-foreground.png", "background": "#0F172A", "monochrome": "assets/icon/android-monochrome.png" } }, "ios": { "icon": "assets/icon/ios-1024.png" }}android.icon is an adaptive icon:
| Field | Purpose |
|---|---|
foreground |
PNG or WebP on the 108 dp adaptive canvas. Keep the artwork inside the central 66 dp; 432 px or larger stays sharp. |
background |
#RGB or #RRGGBB color, or a PNG/WebP layer. Defaults to white. |
monochrome |
Optional single-color layer for Android 13+ themed icons. |
Android 12+ also draws the launcher icon on the system splash screen unless
appearance.splash sets its own logo.
ios.icon is a 1024×1024 PNG: opaque, square, without rounded corners (iOS
applies the mask). The build generates the AppIcon asset catalog and Xcode
derives every other size.
The Play Console and App Store Connect also ask for a separate 512×512 (Play) and 1024×1024 (App Store) listing icon; upload those in the store.
Launch screen and orientation
Section titled “Launch screen and orientation”appearance in pam-native.json sets the window and splash colors for light
and dark mode and an optional splash logo, so the app never flashes a wrong
color before the first PHP frame. See Theming.
Lock orientations if your layouts do not support rotation:
{ "android": { "orientations": ["portrait"] }, "ios": { "orientations": ["portrait"] }}Values are portrait, portraitUpsideDown, landscapeLeft, and
landscapeRight. With targetSdk 36, Android 16 ignores the lock on large
screens (smallest width 600 dp or more), so tablet and foldable layouts must
still handle rotation and keep content out of the safe-area insets. See
Safe areas.
Permissions and purpose strings
Section titled “Permissions and purpose strings”Stores reject apps that request access they do not use or explain it poorly. Declare only what your shipped features need:
{ "android": { "permissions": [ "android.permission.CAMERA" ] }, "ios": { "usageDescriptions": { "NSCameraUsageDescription": "Acme uses the camera to scan receipts you choose to add." } }}- Android permissions use their full
android.permission.*names. Plugins add their own;pam auditlists every one, with its source. - iOS purpose strings (
NS…UsageDescription) explain each protected resource. Plugins provide defaults, and the values in yourios.usageDescriptionswin, so you own the wording users see. Write a specific, user-facing sentence; generic text is a common rejection reason. - Request runtime access at the moment the user starts the feature, not at launch. See Permissions.
Run the audit and review every high or critical finding:
pam audit --deny-highLocalization
Section titled “Localization”Set the language of your app’s own texts and the languages you support, so system UI (pickers, share sheets, alert buttons) matches:
{ "ios": { "developmentRegion": "en", "localizations": ["en", "pt-BR", "es"] }}Test the release build
Section titled “Test the release build”Install the packaged universal APK (dist/acme-1.4.0-android.apk) on a
physical Android device, and distribute the .ipa through TestFlight before
release. Check startup, sign-in, the longest lists, backgrounding and
returning, rotation, and every permission prompt. Confirm that no content is
hidden by the status bar, notch, home indicator, or navigation bar.
Google Play
Section titled “Google Play”PAM produces dist/<name>-<version>-android.aab with pam package. The steps
below are the standard Google Play process.
- Create the app in the Play Console with the same package name as your
applicationId. - Enroll in Play App Signing. Google holds the app signing key and your
PAM_ANDROID_KEYSTOREbecomes the upload key. - Upload the
.aabto the internal testing track first, then promote it through closed or open testing to production. - Complete the policy forms: Data safety (what the app and its plugins collect and share), content rating, target audience, and any sensitive-permission declarations the Console asks for (for example location in the background).
- Use a staged rollout for production and watch crashes and ANRs in Android vitals before you go to 100 %.
dist/android-release.json contains the application ID, version code, and
artifact names, so CI upload tools can read them instead of parsing file
names.
App Store
Section titled “App Store”PAM produces dist/<name>-<version>-ios.ipa with pam ios:package on macOS.
The steps below are the standard App Store Connect process.
- Register the bundle identifier in your Apple Developer account and create the app in App Store Connect with it.
- Upload the
.ipawith Apple’s Transporter app, Xcode’s Organizer, or your CI’s App Store Connect integration. - Test with TestFlight, internally first, then with external testers (external builds go through a short beta review).
- Complete the privacy details (“App Privacy”) for the data your app and its plugins collect, and the export-compliance questions.
- Submit for review, optionally with a phased release.
After release
Section titled “After release”- Keep the
dist/artifacts, checksums, andandroid-release.jsonof every release; they identify exactly what you shipped. - PHP-only fixes can reach users faster with signed over-the-air updates. Anything that changes native code, plugins, permissions, entitlements, or purpose strings still needs a new store release.