Publishing ke App Store & Play Store
Proses submit app ke store lebih kompleks dari deploy web. Ada signing, review process, guidelines yang harus dipatuhi, dan metadata yang perlu disiapkan.
Persiapan Sebelum Submit
- App Icon — 1024x1024px, tanpa alpha/transparansi (iOS), adaptive icon (Android)
- Screenshots — Minimal 3 screenshots per device size (iPhone 6.7", 6.5", iPad)
- App Description — Short description (80 char), full description, keywords
- Privacy Policy URL — Wajib untuk kedua platform
- Age Rating — Isi questionnaire tentang konten app
Build dengan EAS
# Install EAS CLI
npm install -g eas-cli
eas login
# Konfigurasi build
eas build:configure
# Build production
eas build --platform ios --profile production
eas build --platform android --profile production
# Build menghasilkan:
# iOS: .ipa file
# Android: .aab file (Android App Bundle)
App Signing
// iOS Signing (EAS handles automatically):
// - Distribution Certificate
// - Provisioning Profile
// EAS bisa manage semua ini di cloud
// Android Signing:
// - Upload Key (managed by Google Play setelah opt-in App Signing)
// - Signing Key (lokal atau di EAS)
// eas.json
{
"build": {
"production": {
"ios": {
"autoIncrement": true
},
"android": {
"buildType": "app-bundle",
"autoIncrement": true
}
}
}
}
Submit ke Store
# Submit via EAS
eas submit --platform ios
eas submit --platform android
# Atau upload manual:
# iOS: Upload .ipa via Transporter app atau Xcode
# Android: Upload .aab via Google Play Console
Review Process
- Apple App Review — Biasanya 24-48 jam. Ketat soal guidelines (UI, privacy, payments). Rejection umum: in-app purchase harus pakai Apple IAP, crash saat review.
- Google Play Review — Biasanya beberapa jam sampai 1-2 hari. Lebih lenient tapi strict soal permission usage.
OTA Update (Over-The-Air)
# Update JS bundle tanpa submit ke store lagi!
eas update --branch production --message "Fix bug checkout"
# User otomatis dapat update saat buka app
# Limitasi: hanya JS/asset changes, bukan native code changes
Biaya
- Apple Developer Program — $99/tahun (wajib untuk App Store)
- Google Play Console — $25 one-time fee
- EAS Build — Free tier: 30 builds/bulan, Production tier: $99/bulan