Thuta Learning
ရှာဖွေရန်
AdvancedMobile Developmentintermediate

Building & Publishing (EAS Build)

စိတ်လျှော့ပါ။ ဒီခန်းကို စာအုပ်လိုမဟုတ်ဘဲ စကားပြောသလိုပဲ၊ နားလည်လွယ်အောင် ရှင်းပါမယ်။

ဒီခန်းပြီးရင် ဘာတတ်သွားမလဲ

  • Building & Publishing (EAS Build) ကို ကြောက်စရာမလိုအောင် နားလည်မယ်
  • ကိုယ်တိုင် code ရေးပြီး Expo Go ပေါ်မှာ run ကြည့်တတ်မယ်
  • Real app project ထဲမှာ ဒီ concept ကို ချက်ချင်း အသုံးချတတ်မယ်

ခဏလေး ဒီလိုပဲ စဉ်းစားကြည့်

EAS (Expo Application Services) Build က cloud-based build service ဖြစ်ပြီး, developer local machine ပေါ်မှာ Xcode/Android Studio setup မလိုဘဲ standalone app file (.apk/.aab for Android, .ipa for iOS) ကို build ပေးပါတယ်။ App.json ထဲမှာ app name, icon, version, bundle identifier ကို configure ရပြီး, eas build --platform android (သို့) --platform ios command ဖြင့် build process ကို start လုပ်ပါတယ် — build ပြီးရင် download link ရရှိပါတယ်။

လက်တွေ့ scenario နဲ့ ချိတ်ကြည့်မယ်

Play Store (Android) ဆီ တင်ချင်ရင် Google Play Console account ($25 one-time fee), App Store (iOS) ဆီ တင်ချင်ရင် Apple Developer Program account (နှစ်စဉ် $99) လိုအပ်ပါတယ် — ဒါက app-store-specific requirement ဖြစ်ပြီး, code writing skill ကနေ လွတ်ကင်းတဲ့ business/administrative step ပါ။ App icon, splash screen, privacy policy URL, screenshot များကို app.json/store listing ထဲ ပြင်ဆင်ထားရပါတယ်။

Code နမူနာ

bash
# Install EAS CLI
npm install -g eas-cli

# Login and configure
eas login
eas build:configure

# Build for Android (.aab for Play Store)
eas build --platform android

# Build for iOS (.ipa for App Store)
eas build --platform ios
You should see
Build process ပြီးရင် download link (သို့) app store submission-ready file တစ်ခု ရရှိမည်။

၅ မိနစ် စမ်းကြည့်

app.json ထဲက name, slug, icon, version field များကို ဖတ်ကြည့်ပြီး ကိုယ်ပိုင် project အတွက် ဘယ်လို ပြင်ဆင်မလဲ list ချကြည့်ပါ (build ကို တကယ် run စရာမလို)။

သတိလေးတစ်ချက်

App Store/Play Store review process က ရက်အနည်းငယ် ကြာနိုင်ပြီး, privacy policy, permission justification (ဘာကြောင့် camera/location လိုအပ်တာလဲ) ကို တိကျစွာ ဖော်ပြထားရပါမယ် — မပြည့်စုံရင် reject ခံနိုင်ပါတယ်။

ဒီနေရာမှာ လူအများမှားတတ်တယ်

  • App icon/splash screen ကို default Expo placeholder အတိုင်း ချန်ထားပြီး submit ကြိုးစားခြင်း — store review reject ခံရနိုင်
  • Bundle identifier (com.company.appname) ကို app store account setup မတိုင်ခင် ဆုံးမဖြတ်ဘဲ ထားခြင်း — publish ချိန် conflict ဖြစ်နိုင်

အခု ကိုယ်တိုင် စမ်းကြည့်

app.json ထဲက name, slug, icon, version field များကို ဖတ်ကြည့်ပြီး ကိုယ်ပိုင် project အတွက် ဘယ်လို ပြင်ဆင်မလဲ list ချကြည့်ပါ (build ကို တကယ် run စရာမလို)။

You'll know it worked when: Build process ပြီးရင် download link (သို့) app store submission-ready file တစ်ခု ရရှိမည်။

Building & Publishing (EAS Build) | Thuta Learning