feat(android): Capacitor APK build + native save/share bridge

- android/ — Capacitor project (build/, local.properties ignored)
- app/js/native.js — bridge สำหรับ APK: savePhoto/saveZip/shareItems ผ่าน Filesystem+Share
- app/js/csv.js — นำเข้าโฟลเดอร์หลายรายการจาก CSV (site,letter,datetime,name)
- app/js/orient.js — จัดการ orientation ของ preview/กล้อง
- app/manual.html + APK.md — คู่มือใช้งานและวิธี build APK
- app/templates/folders-template.csv — เทมเพลต CSV
- package.json / package-lock.json / capacitor.config.json / scripts/build-apk.sh
- ปรับ ui, camera, exif, archive, db, naming, main, sw + css/README ตามงานข้างบน
This commit is contained in:
Bkk1234 committed 2026-11-20 08:50:42 +07:00
1 parent a0bccc2316
commit 6f146aef59
75 files changed
+4637 -151

No files matched your search

+6 -1
View File
@@ -1,10 +1,11 @@
// Service Worker — CamCat 2.0
// กลยุทธ์: navigation = network-first (ได้เวอร์ชันใหม่ก่อน) · asset = stale-while-revalidate
const CACHE = "camcat-v2.1.1";
const CACHE = "camcat-v2.6.0";
const ASSETS = [
"./",
"./index.html",
"./manual.html",
"./manifest.json",
"./css/app.css",
"./js/config.js",
@@ -14,11 +15,15 @@ const ASSETS = [
"./js/device.js",
"./js/camera.js",
"./js/archive.js",
"./js/csv.js",
"./js/native.js",
"./js/orient.js",
"./js/ui.js",
"./js/main.js",
"./vendor/jszip.min.js",
"./vendor/piexif.js",
"./vendor/qrcode.min.js",
"./templates/folders-template.csv",
"./icon-192.png",
"./icon-512.png",
];