跳到正文
DEV Community· Famitha M A·· 2 小時前AI 評分67

Expo 首次提交 App Store 和 Google Play 的檢查清單

Your first App Store and Play Store submission with Expo: the checklist nobody hands you

AI 導讀

這份 Expo/EAS 指南整理首次手動提交 App Store 和 Google Play 的步驟,涵蓋開發者帳戶、永久識別碼、正式版建置及商店審核準備。2023 年 11 月 13 日後建立的個人 Google Play 帳戶,申請正式發佈前須完成至少 12 名測試者連續參與 14 天的封閉測試。

正文

TL;DR

  • Start developer accounts early. Apple is $99/year, Google Play $25 once, and new personal Play accounts need a 12-tester, 14-day closed test before production.
  • Choose bundleIdentifier and package carefully. They're permanent once live.
  • eas build --profile production and eas submit handle the binary. The store listing, privacy answers and review notes are still on you.
  • If users can sign up, they must be able to delete their account from inside the app. Both stores require it.
  • Give reviewers a working demo login. Missing review info is a common first-submission rejection.

Building the app is the part everyone talks about. Shipping it turns out to be a second project: consoles, forms, screenshots at oddly specific pixel sizes, and policies that changed since your tutorial was written.

This is the list I wish I'd had. It assumes a working Expo app and EAS CLI installed, and covers the manual first submission (no CI) so you understand each step before automating it.

1. Developer accounts (start these early)

Apple Developer Program. $99 per year. Enrolling as an organization needs a D-U-N-S number, which can take time to get, so start this before the code is "done." Individual enrollment is faster but your personal name shows up as the seller.

Google Play Console. One-time $25 registration fee. The surprise: personal accounts created after November 13, 2023 must run a closed test with at least 12 testers opted in continuously for the last 14 days before applying for production access. Until then, Production is disabled. Budget two weeks and recruit a few extra testers so dropouts don't leave you short. Details are in Google's Play Console help article on testing requirements.

2. Identifiers you can't take back

In app.json (or app.config.ts):

{
  "expo": {
    "name": "Habit Loop",
    "slug": "habit-loop",
    "version": "1.0.0",
    "ios": { "bundleIdentifier": "com.yourcompany.habitloop" },
    "android": { "package": "com.yourcompany.habitloop" }
  }
}

Reverse-domain style, lowercase, no hyphens in the Android package. Once published, that ID is the app forever. A new ID means a new listing with no reviews or install history.

version is the user-facing number (1.0.0). Build numbers (ios.buildNumber, android.versionCode) are separate, and the stores reject uploads that reuse one. The easy fix is to let EAS own them. In eas.json:

{
  "cli": { "appVersionSource": "remote" },
  "build": {
    "production": { "autoIncrement": true }
  }
}

With remote, EAS stores build numbers on its servers and bumps them on each production build. If you've uploaded builds before, run eas build:version:set first so it starts from the right number.

3. Icons and splash screen

  • Icon: a 1024x1024 PNG, fully square, no rounded corners, no transparency. On SDK 54+, ios.icon can also point at an .icon folder from Apple's Icon Composer, which covers dark and tinted variants.
  • Android adaptive icon: set android.adaptiveIcon.foregroundImage and a backgroundColor, keeping the logo inside the center safe zone.
  • Splash: configure the expo-splash-screen config plugin with an image, backgroundColor, imageWidth, and optionally a dark variant.

Per the Expo icon and splash docs, test the splash in a preview or production build, not Expo Go or a dev build.

4. Platform requirements that changed recently

Two things to check before you build:

  • Apple SDK minimum. Since April 28, 2026, App Store Connect only accepts uploads built with Xcode 26 or later against the iOS 26 SDK. Expo SDK 54 and newer are already covered on EAS Build. If you're on SDK 53 or older, upgrade first.
  • Google Play target API level. New apps and updates must target Android 16 (API level 36) as of August 31, 2026 (extensions to November 1, 2026 were available on request). React Native in Expo SDK 54 targets API 36, so a current Expo project is fine. Older projects are not.

Also, iOS privacy manifests. "Required reason" APIs (UserDefaults, file timestamps, disk space) need a declared reason. Expo SDK packages ship their own manifests; add anything extra under ios.privacyManifests. If something is missing, Apple emails you minutes after upload, another reason to hit TestFlight early.

5. Build and submit

eas login
eas build --platform all --profile production

That gives you an .ipa for iOS and an .aab (Android App Bundle) for Android. Play doesn't accept APKs for new apps, so stick with the default production profile.

Before submitting iOS, create the app record in App Store Connect (My Apps, then the plus button), using the same bundle ID. Then:

eas submit --platform ios --latest
eas submit --platform android --latest
  • iOS prompts for your Apple ID the first time. For repeat use, set up an App Store Connect API key with eas credentials --platform ios. Add the app's numeric Apple ID as ascAppId in the submit profile so EAS doesn't have to look it up.
  • Android needs a Google service account key with access to your Play Console. Upload it via eas credentials --platform android or the EAS dashboard. The first release goes to the internal testing track by default. You can set track and releaseStatus (for example draft) in eas.json if you'd rather finish the release by hand in Play Console.
  • eas build --auto-submit does both in one go, but for the first release keep them separate so you can see where things fail.

6. TestFlight and internal testing

TestFlight. Builds usually show up 10 to 15 minutes after upload. Internal testers (up to 100 members of your App Store Connect team) can install right away. External testers (up to 10,000) need the first build in a group to pass Beta App Review. Builds expire after 90 days.

Play testing tracks. Internal testing is quick for your team. Closed testing is the track that counts toward the 12-tester rule, so start it early.

Test the exact production binary, not a dev build. Sign up, log in, log out, delete the account, kill the app and reopen it.

7. Store listing and metadata

App Store Connect needs a name, subtitle, description, keywords, support and privacy policy URLs, category, age rating answers, pricing, and screenshots.

Screenshots. Apple's screenshot specifications page currently lists one required iPhone size: "iPhone with Dynamic Island (medium display)," which accepts 1206 x 2622 or 1179 x 2556 portrait. It also accepts the large display set (1320 x 2868 and friends), and App Store Connect scales screenshots across sizes when your UI is the same. If your app runs on iPad, you also need 13-inch iPad screenshots (2064 x 2752 or 2048 x 2732). One to ten per size, PNG or JPEG, no transparency. These requirements get reshuffled, so check the page the day you submit.

Google Play needs: a 512x512 icon, a 1024x500 feature graphic, and at least two screenshots (JPEG or 24-bit PNG, sides between 320 and 3840 px, long side no more than twice the short side). For phones, 1080 x 1920 portrait is a safe choice.

Screenshots must show the real app, not features that don't exist yet.

8. Privacy forms: nutrition labels and Data safety

Both stores make you declare what data you collect, including what analytics SDKs, crash reporters and your backend collect.

  • Apple App Privacy ("nutrition labels"). In App Store Connect, under App Privacy, list each data type (email, user ID, crash data, and so on), whether it's linked to the user, and whether it's used for tracking.
  • Google Play Data safety. Under App content in Play Console. Similar questions, plus data deletion questions that every developer has to answer. If your app has no accounts, there's a checkbox for that.

Note what each SDK collects as you add it. Reconstructing it later is miserable.

9. Account deletion (if you have accounts)

If users can create an account, both stores require that they can delete it:

  • Apple (Guideline 5.1.1(v)): users must be able to start deleting their account from inside the app, usually from account settings. Deactivating isn't enough. If you use Sign in with Apple, revoke the user's tokens through the Sign in with Apple REST API on deletion. Apple's account deletion guidance covers the details, including subscriptions.
  • Google Play: an in-app path and a web link where people can request deletion, entered in the Data safety form. The web page can be a simple request form, but it has to load and name your app.

On Supabase, deleting an auth user needs the service role key, which must never ship in the app. Put it behind an Edge Function that verifies the caller's session.

Starter code rarely includes this. I work on RapidNative, which turns a plain-English description into a standard Expo project (Expo Router, NativeWind, TypeScript, Supabase backend) that you can export. Whatever produced your starting code (a generator, a template, your past self), audit it against this list. "Delete my account" and a real privacy policy link are rarely in a first draft.

10. Help the reviewer

In App Store Connect, under App Review Information:

  • Demo account. If anything sits behind a login, provide a working username and password with sample data that won't expire. If you use OTP, give reviewers a fixed test number or bypass.
  • Notes. Explain anything non-obvious, like required hardware or where the main feature lives.
  • Contact info someone actually monitors.

Play Console has a similar section under App content, App access, for login instructions.

Common rejection reasons to pre-empt

From Apple's own App Review page and the guidelines:

  • Crashes or obvious bugs on the reviewer's device (Guideline 2.1, App Completeness)
  • Placeholder text, lorem ipsum, or test data left in the UI
  • Missing demo account or review notes
  • Broken links, especially support and privacy policy URLs
  • Vague permission strings. Each NS...UsageDescription should say exactly why you need camera, location, etc.
  • Screenshots that don't match the app
  • No in-app account deletion
  • A website in a wrapper with little native value

None of these are about code quality. They're about finishing.

A last pass before you hit Submit

  • [ ] IDs are final
  • [ ] Production build tested on a real device
  • [ ] Privacy policy and support URLs load
  • [ ] Privacy answers match your SDKs
  • [ ] Account deletion works end to end
  • [ ] Demo login works from a fresh install

What tripped you up on your first submission? I'd love to hear the rejection reasons that aren't on this list.

來源:DEV Community · dev.to