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:
17
pos/www/index.html
Normal file
17
pos/www/index.html
Normal 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…<br><small>Conectando al servidor</small></p>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user