Lesson 9 of 11
Mini Project: Shipped App - Full Production Pipeline
Set up the complete production pipeline for the Todo app from previous modules: EAS Build profiles, OTA updates, GitHub Actions CI (lint + test + EAS build trigger), Sentry error reporting, push notifications on todo assignment, and environment-specific configurations.
Production Checklist
- **App config**: `app.config.ts` with environment-specific config, Sentry plugin, notifications plugin, location plugin with usage descriptions, and EAS `runtimeVersion`
- **EAS profiles**: `development` (simulator + dev client + local env), `preview` (internal distribution + staging env + APK for team), `production` (AAB + IPA + production env)
- **Environment secrets**: Store `EXPO_PUBLIC_API_URL`, `EXPO_PUBLIC_SENTRY_DSN`, FCM credentials in EAS Secrets (not in committed .env files)
- **Push notification flow**: Register `fcmToken` on app launch → POST to `/users/me/push-token` → server sends FCM notification when todo is assigned → `addNotificationResponseReceivedListener` navigates to the relevant todo
- **GitHub Actions CI**: `ci.yml` on PRs (lint + tsc + test + coverage to Codecov), `deploy.yml` on main merge (EAS build production), `ota-update.yml` on JS-only changes (EAS update)
- **Sentry**: Wrap App in `Sentry.wrap()`, set `release` to `nativeApplicationVersion+buildVersion`, capture payment and auth errors with user context
- **OTA channel strategy**: `production` channel → production users. `staging` channel → QA team via Expo Go or dev client. Never push untested updates to `production`
- **Play Store rollout**: Upload AAB → Internal testing (dev team) → Closed testing (100 users) → Open testing (1,000 users) → 10% production rollout → 100% rollout over 7 days
Tip
Tip
Practice Mini Project Shipped App Full Production Pipeline in small, isolated examples before integrating into larger projects. Breaking concepts into small experiments builds genuine understanding faster than reading alone.
Comprehensive review of the completed enterprise mobile application architecture
Practice Task
Note
Practice Task - (1) Write a working example of Mini Project Shipped App Full Production Pipeline from scratch without looking at notes. (2) Modify it to handle an edge case (empty input, null value, or error state). (3) Share your solution in the Priygop community for feedback.
Quick Quiz
Common Mistake
Warning
A common mistake with Mini Project Shipped App Full Production Pipeline is skipping edge case testing - empty inputs, null values, and unexpected data types. Always validate boundary conditions to write robust, production-ready react native code.
Key Takeaways
- Set up the complete production pipeline for the Todo app from previous modules: EAS Build profiles, OTA updates, GitHub Actions CI (lint + test + EAS build trigger), Sentry error reporting, push notifications on todo assignment, and environment-specific configurations.
- *App config**: `app.config.ts` with environment-specific config, Sentry plugin, notifications plugin, location plugin with usage descriptions, and EAS `runtimeVersion`
- *EAS profiles**: `development` (simulator + dev client + local env), `preview` (internal distribution + staging env + APK for team), `production` (AAB + IPA + production env)
- *Environment secrets**: Store `EXPO_PUBLIC_API_URL`, `EXPO_PUBLIC_SENTRY_DSN`, FCM credentials in EAS Secrets (not in committed .env files)
Finished this lesson?