feat(pos): Capacitor mobile app setup — Android + iOS wrapper

Set up Capacitor to wrap the Nexus POS web app as a native mobile app.
The app loads from the remote server URL so no bundling is needed.
Includes native-bridge.js for camera, push notifications, haptics,
and status bar integration when running inside the native shell.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-04-04 02:51:07 +00:00
parent db5bbf6718
commit 2463c2fbcf
10 changed files with 1321 additions and 0 deletions

17
pos/www/index.html Normal file
View File

@@ -0,0 +1,17 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Nexus POS</title>
<style>
body { background: #0d0d0d; color: #F5A623; font-family: sans-serif;
display: flex; align-items: center; justify-content: center;
height: 100vh; margin: 0; }
p { text-align: center; }
</style>
</head>
<body>
<p>Cargando Nexus POS&hellip;<br><small>Conectando al servidor</small></p>
</body>
</html>