[object Object]

← back to Beverlyhillsvideos App

app: add iPad Pro 12.9 screenshot generator + 5 captures (2048x2732) for App Store universal-binary requirement

769a3968cf24474185b2b574ea42cb9398697234 · 2026-08-06 12:03:19 -0700 · Steve Abrams

Files touched

Diff

commit 769a3968cf24474185b2b574ea42cb9398697234
Author: Steve Abrams <steve@designerwallcoverings.com>
Date:   Thu Aug 6 12:03:19 2026 -0700

    app: add iPad Pro 12.9 screenshot generator + 5 captures (2048x2732) for App Store universal-binary requirement
---
 store/capture-ipad.mjs   |  19 +++++++++++++++++++
 store/ipad/01-home.png   | Bin 0 -> 2253299 bytes
 store/ipad/02-videos.png | Bin 0 -> 3965349 bytes
 store/ipad/03-map.png    | Bin 0 -> 4340435 bytes
 store/ipad/04-spago.png  | Bin 0 -> 1251589 bytes
 store/ipad/05-list.png   | Bin 0 -> 4602271 bytes
 6 files changed, 19 insertions(+)

diff --git a/store/capture-ipad.mjs b/store/capture-ipad.mjs
new file mode 100644
index 0000000..2ce916e
--- /dev/null
+++ b/store/capture-ipad.mjs
@@ -0,0 +1,19 @@
+import pkg from '/Users/macstudio3/.npm-global/lib/node_modules/playwright/index.js'; const { chromium } = pkg;
+const shots = [
+  {url:'https://beverlyhillsvideos.com/', file:'01-home.png', wait:2500},
+  {url:'https://beverlyhillsvideos.com/videos.html', file:'02-videos.png', wait:3500},
+  {url:'https://beverlyhillsvideos.com/map.html', file:'03-map.png', wait:4000},
+  {url:'https://beverlyhillsvideos.com/restaurants/spago.html', file:'04-spago.png', wait:2500},
+  {url:'https://beverlyhillsvideos.com/restaurants.html', file:'05-list.png', wait:2000},
+];
+// iPad Pro 12.9" portrait: 1024x1366 CSS @2x = 2048x2732 device px (Apple's required size)
+const b = await chromium.launch();
+const ctx = await b.newContext({ viewport:{width:1024,height:1366}, deviceScaleFactor:2, isMobile:true, hasTouch:true });
+const page = await ctx.newPage();
+for (const s of shots) {
+  try { await page.goto(s.url, {waitUntil:'networkidle', timeout:30000}); } catch { await page.goto(s.url, {waitUntil:'domcontentloaded'}); }
+  await page.waitForTimeout(s.wait);
+  await page.screenshot({ path:'store/ipad/'+s.file });
+  console.log('captured', s.file);
+}
+await b.close();
diff --git a/store/ipad/01-home.png b/store/ipad/01-home.png
new file mode 100644
index 0000000..f9f6b73
Binary files /dev/null and b/store/ipad/01-home.png differ
diff --git a/store/ipad/02-videos.png b/store/ipad/02-videos.png
new file mode 100644
index 0000000..536c610
Binary files /dev/null and b/store/ipad/02-videos.png differ
diff --git a/store/ipad/03-map.png b/store/ipad/03-map.png
new file mode 100644
index 0000000..55a2e0f
Binary files /dev/null and b/store/ipad/03-map.png differ
diff --git a/store/ipad/04-spago.png b/store/ipad/04-spago.png
new file mode 100644
index 0000000..1c399a2
Binary files /dev/null and b/store/ipad/04-spago.png differ
diff --git a/store/ipad/05-list.png b/store/ipad/05-list.png
new file mode 100644
index 0000000..7d4dac7
Binary files /dev/null and b/store/ipad/05-list.png differ

← 497c0b3 auto-save: 2026-08-06T09:51:16 (1 files) — .gitignore  ·  back to Beverlyhillsvideos App  ·  BHV: add App Tracking Transparency before tracking WebView ( a507e3e →