Mobile App Development on Emergent
Emergent supports cross-platform mobile app development using Expo (React Native framework). Build apps for both iOS and Android from a single codebase! What you can build:- iOS apps
- Android apps
- Cross-platform apps
- Production-ready mobile applications
Requirements
Paid Subscription
Required!Mobile Agent only available on paid plans ($20+/month)Not available on Free Tier
Tech Stack
Fixed Stack:
- Frontend: Expo (React Native)
- Backend: FastAPI
- Database: MongoDB
Supported: Expo/React Native onlyNot Supported: Flutter, native Kotlin, native Swift
How to Access Mobile Agent
What is Expo?
Expo is a framework built on top of React Native that makes mobile development easier. Key Benefits:- Write once, run on iOS and Android
- Hot reload during development
- Access to native device features
- Easy deployment with EAS
- Over-the-air updates
- Camera and photos
- Location services
- Push notifications
- File system
- Sensors (accelerometer, gyroscope)
- And much more!
Development Workflow
1. Build with Mobile Agent
Tell the agent what you need:- Create Expo project structure
- Set up React Native components
- Build FastAPI backend
- Configure MongoDB
- Implement all features
2. Test in Preview
During development:- Preview functionality available
- Test on development build
- Frontend testing subagent for UI tests
- Debug and iterate
3. Download Your Code
When ready to deploy:- Use Emergent’s file management tools
- Download your complete project
- Get all mobile app files locally
- Expo app code
- FastAPI backend
- Configuration files
- Assets and resources
Deploying to App Stores
Overview: Using Expo EAS
EAS (Expo Application Services) handles building and submitting your app to stores. What EAS does:- Builds native app binaries (APK/AAB for Android, IPA for iOS)
- Submits apps to Google Play Store and Apple App Store
- Provides over-the-air updates
- All builds happen in the cloud (no Xcode or Android Studio needed!)
Step-by-Step Deployment Guide
Prerequisites
What you’ll need:Expo Account
Developer Accounts
Google Play: $25 one-timeApple App Store: $99/year(Only need the stores you’re targeting)
Step 1: Set Up EAS Locally
After downloading your code from Emergent:This creates eas.json:
Step 2: Build for Android
Build APK/AAB file:- Code uploaded to Expo servers
- Native Android app compiled
- Signed with your keystore
- AAB file generated
- Download link for AAB file
- Build available in Expo dashboard
Step 3: Build for iOS
Build IPA file:- Apple Developer account
- Agree to terms in App Store Connect
- Download link for IPA file
- Build available in Expo dashboard
No Mac needed - EAS builds iOS apps in the cloud. You don’t need a Mac or Xcode.
Step 4: Submit to Google Play Store
Create App in Google Play Console
- Go to play.google.com/console
- Click Create app
- Fill in details:
- App name
- Default language
- App type (app or game)
- Free or paid
Prepare Store Listing
Required information:- App description (short and full)
- Screenshots (phone, tablet)
- Feature graphic
- App icon
- Privacy policy URL
- Content rating questionnaire
Submit with EAS
- Google Cloud Console → IAM & Admin → Service Accounts
- Create service account
- Grant “Service Account User” role
- Download JSON key file
- Usually 1-7 days
- May require changes
- Check Play Console for status
Step 5: Submit to Apple App Store
Create App in App Store Connect
- Go to appstoreconnect.apple.com
- Click My Apps → + → New App
- Fill in details:
- Platform (iOS)
- App name
- Primary language
- Bundle ID
- SKU (unique identifier)
Prepare App Store Listing
Required information:- App description
- Keywords
- Screenshots (various iPhone sizes)
- App preview videos (optional)
- Privacy policy URL
- Age rating
Submit with EAS
- App Store Connect → Users and Access → Keys
- Generate new key with “App Manager” access
- Download key file
- Usually 1-3 days
- May be rejected (follow guidelines)
- Check App Store Connect for status
App Store Requirements
Google Play Store
Required Information
Required Information
- App name and description
- Screenshots (at least 2)
- Feature graphic (1024x500)
- High-res icon (512x512)
- Privacy policy URL
- Content rating
- Target age group
Technical Requirements
Technical Requirements
- Target API level 33+ (Android 13)
- AAB format (not APK for production)
- 64-bit support
- Proper permissions declared
- Size limits (varies, generally under 150MB)
Privacy & Safety
Privacy & Safety
- Data safety form completed
- Privacy policy posted
- Permissions justified
- COPPA compliance (if targeting children)
Apple App Store
Required Information
Required Information
- App name and subtitle
- Description (up to 4000 characters)
- Keywords
- Screenshots for all device sizes
- App icon (1024x1024)
- Privacy policy URL
- Age rating
- Copyright info
Technical Requirements
Technical Requirements
- iOS 13.0+ minimum
- Valid provisioning profile
- Proper app signing
- Size limits (4GB max)
- No crashes or bugs
App Review Guidelines
App Review Guidelines
- Follow Apple’s guidelines
- No private APIs
- Proper content rating
- Clear app purpose
- Functional app (no placeholders)
Over-the-Air (OTA) Updates
Update your app without resubmitting to stores!What Can Be Updated
Can Update:- JavaScript code
- React components
- Assets (images, fonts)
- App logic and UI
- Native modules
- app.json configuration
- Permissions
- Native code (Java/Kotlin/Swift)
How to Push Updates
After making changes:- Next time they open the app
- Automatically in the background
- No app store download needed
- Bug fixes
- UI tweaks
- Feature updates
- Content changes
Testing Your Mobile App
During Development (On Emergent)
Use preview and testing tools:After Download (Local Testing)
Expo Go App (Quick Testing):- Instant testing on real device
- No build needed
- Fast iteration
- Some native modules won’t work
- Not identical to production
- Full native module support
- Identical to production
- Test everything
Common Scenarios
Scenario 1: Building First Mobile App
Scenario 2: App with Camera Access
Scenario 3: Location-Based App
Troubleshooting
Build Failures
Issue: EAS build fails Solutions:Submission Rejected
Google Play:- Follow rejection reasons exactly
- Update app accordingly
- Resubmit
- Review rejection details
- Fix issues mentioned
- Reply to reviewer if needed
- Resubmit
Updates Not Appearing
Check:EAS Pricing
Free Tier
- 30 builds per month
- Unlimited EAS Updates
- Community support
- Development and testing
- Small projects
- Learning
Production Plan
- $29/month
- More builds
- Priority build queue
- Better for active development
- Professional apps
- Multiple apps
- Frequent updates
Enterprise
- Custom pricing
- Unlimited builds
- Dedicated support
- SLA guarantees
- Large teams
- Mission-critical apps
- Many apps
Best Practices
Development
Start simple:Deployment
Before submitting:- Tested all features thoroughly
- No console errors or warnings
- Proper app icons and splash screens
- Privacy policy in place
- Store listing prepared
- Screenshots captured
- Tested on multiple devices
Maintenance
Monitor your app:- Check crash reports
- Review user feedback
- Monitor performance
- Track analytics
Resources
Expo Documentation
App Store Guidelines
Emergent Support
- Discord: discord.gg/VzKfwCXC4A
- Email: support@emergent.sh
Getting Help
From Emergent
For Mobile Agent issues:From Expo
For EAS issues:- Check Expo Status
- Review Expo Forums
- Join Expo Discord
- Review build logs carefully
- Check Expo documentation
- Search existing issues
- Ask in Expo community
Quick Reference
Essential Commands
Development Workflow
Remember
Mobile Agent requires paid subscription Only Expo/React Native supported EAS handles building and deployment No Mac needed for iOS builds OTA updates for JavaScript changes Test thoroughly before submitting Both stores require developer accounts Review processes take 1-7 daysGetting started: Build your app with Mobile Agent, download the code, then use EAS to deploy to app stores. The Mobile Agent handles the complex Expo setup for you!
Next Steps
Have questions? Contact Emergent support for help with mobile development!