Files
Autoparts-DB/pos/mobile
consultoria-as e61063bdd7 feat(domain): separate POS to pos.nexusautoparts.com.mx subdomain
- nexusautoparts.com.mx -> Dashboard/Landing (port 5000)
- pos.nexusautoparts.com.mx -> POS (port 5001) with static assets proxy
- admin.nexusautoparts.com.mx -> Dashboard (port 5000)
- Update mobile app configs to point to pos.nexusautoparts.com.mx
- Update Caddy docs with new subdomain layout
2026-05-14 09:30:43 +00:00
..

Nexus POS — Mobile App Build Guide

Prerequisites

  • Node.js 18+
  • Android Studio (for Android)
  • Xcode 15+ (for iOS, macOS only)

Architecture

The Capacitor app loads the POS from the remote server at https://pos.nexusautoparts.com.mx/pos. This means:

  • The app requires internet on first load.
  • The PWA service worker handles offline caching after that.
  • No HTML/JS/CSS is bundled into the native binary.

Android Build

cd /home/Autopartes/pos
npx cap sync android
npx cap open android
# In Android Studio: Build > Generate Signed APK

iOS Build

cd /home/Autopartes/pos
npx cap sync ios
npx cap open ios
# In Xcode: Product > Archive

Development

npx cap run android --livereload --external
npx cap run ios --livereload --external

App Icons & Splash Screens

Place source images in mobile/resources/:

  • icon.png — 1024x1024 app icon
  • splash.png — 2732x2732 splash screen

Then generate platform assets:

npx @capacitor/assets generate