Add Capacitor Android packaging (APK) for Cafe Bazaar / Myket

- Next static export (output: export) wrapped by Capacitor; appId
  com.bargevasat.app, appName «برگ وسط»
- android/ native project + @capacitor/app; hardware back handled by
  CapacitorBack (back a screen, exit at home)
- npm scripts (cap:sync, android:open, android:apk), ANDROID.md
- Gradle Maven-mirror init-script template (dl.google.com/Maven Central are
  blocked in Iran — same reason NuGet is mirrored)

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
soroush.asadi
2026-06-04 14:31:14 +03:30
parent d04605d118
commit 38691154c8
62 changed files with 2149 additions and 4 deletions
+4 -1
View File
@@ -1,7 +1,10 @@
import type { NextConfig } from "next";
// Static export so the app can be wrapped by Capacitor (Android/Cafe Bazaar)
// and hosted on any static host. The app is fully client-side (no SSR/runtime).
const nextConfig: NextConfig = {
/* config options here */
output: "export",
images: { unoptimized: true },
};
export default nextConfig;