Skip to content

vtrc-application-front

vtrc-application-front (branch: master, 18 ไฟล์ที่ track) เป็นหน้าเว็บ static เดี่ยว (index.html + CSS + รูป + PDF) ที่ทำหน้าที่เป็น download center สำหรับแจกไฟล์ติดตั้งแอป VTRC — ไม่ใช่ Cordova app

ข้อคลาดเคลื่อนจาก workspace rule เดิม: เอกสารโครงสร้าง workspace เคยระบุว่า repo นี้เป็น Cordova — ตรวจแล้วไม่พบ config.xml, www/, platforms/, หรือ package.json ที่อ้าง cordova-*


ไฟล์ทั้งหมด (git ls-files)

.gitignore
VTRC.ipa                 — iOS binary ที่ commit ตรงเข้า git
VTRC.plist               — OTA manifest (itms-services)
css/main.css
css/main.min.css
image/*.png, image/*.jpg — พื้นหลัง / QR / ไอคอน
index.html               — หน้าเดียว + inline UA sniff
storage/pdf/manual.pdf   — คู่มือติดตั้ง

ไม่มี package.json, ไม่มี bundler, ไม่มี CI ใน repo


หน้าที่จริง — routing ตาม user-agent

getUrl() (index.html:97-112):

กรณีปลายทางCitation
iOS (isiOS())itms-services://?action=download-manifest&url=https://vtrc.redcross.or.th/adn/VTRC.plistindex.html:100-102
AndroidPlay Store id=com.redcross.vtrcindex.html:104-106
อื่น (desktop)https://vtrc.redcross.or.th/loginindex.html:108-109

isiOS() ตรวจ navigator.platform + iPad-on-iOS13 touch heuristic (index.html:21-32)

VTRC.plist ชี้ IPA ที่ https://vtrc.redcross.or.th/adn/VTRC.ipa, bundle id com.redcross.vtrcapp, title VTRC (VTRC.plist:14,20-26)

เวอร์ชันบนหน้า hardcode เวอร์ชัน 1.9.12 (index.html:51)

Analytics: Google tag G-TY5XYT3NY2 (index.html:12-18)

ลิงก์คู่มือ PDF แสดงเฉพาะ iOS path (Android/desktop ลบ #button-manual ใน IIFE) — index.html:64-68,86-87

CSS โหลดแบบ cache-bust query ?_=20210529 (index.html:9) — วันที่ใน query ไม่ได้ regenerate อัตโนมัติเมื่อแก้ CSS


สารบัญ

บทหัวข้อ
01Repository map — ไฟล์ครบ + image inventory
02Distribution flow — itms / Play / web + IPA sizes
03Scorecard — committed .ipa, version drift

Binary ที่ต้องระวัง: VTRC.ipa ~12.3 MB ใน git (LEG-FRONT-01)

ดูภาพรวมกลุ่ม Mobile ที่ Volume 8 index