scrobble.life
HiveSuite Community

A $50 surprise at a Diwali firecracker stall, and store screenshots framed for every phone

These photographs are from just before Diwali, when people were setting up firecracker stalls.

A crowded firecracker stall on a night street

Shelves packed with boxes of firecrackers

At first the stalls were crowded. Then, as Diwali got closer, everything started selling out. I had to visit at least three or four different stalls to get the things I wanted.

And then came an awkward experience, at one of the stalls I visited. After I had picked a number of things, I asked for the total, and he immediately quoted me a bigger number. I got suspicious. I asked him to jot down each item with its price in front of it, and then add it up. There was a massive difference between the amount he said earlier and the total we did after that. There was at least $50 of difference. That's a huge number in India.

During this peak time of Diwali, people are in a rush, and in my experience some of these temporary businesses take advantage of that rush. People get scammed that way.

Have you ever experienced such a scam recently? Share it with the HiveSuite application at https://hivesuite.app.


HiveSuite

1. Automated Store Screenshot Generation

Playwright-Based Screenshot Pipeline

Added scripts/generate-store-screenshots.ts, a Playwright-based script that captures marketing screenshots directly from the running HiveSuite web application.

The script can be executed using:

npm run screenshots

It generates screenshots for eight key application sections:

  1. Snaps Feed
  2. Blogs Feed
  3. Communities
  4. Maps
  5. Games
  6. Governance
  7. Explorer
  8. New Joiners

The workflow uses the real application and public Hive blockchain data rather than manually created or static mock screens. This helps ensure that the screenshots represent the actual interface and content users can explore.

Target Device Sizes

The screenshot pipeline uses the store dimensions and device profiles selected for the September 2026 requirements.

Platform Target Screenshot dimensions
iPhone 6.9-inch display 1320 × 2868 portrait
iPad 13-inch display 2752 × 2064 landscape
Android Pixel 10 Pro XL profile 1344 × 2763

The iPhone output uses the selected 6.9-inch resolution, with smaller iPhone displays handled through App Store Connect scaling. The iPad screenshots are generated in landscape orientation, with portrait dimensions also documented for reference. Android uses Playwright's built-in Pixel 10 Pro XL profile and dimensions within Google Play's stated image bounds.

Standardized Output Locations

Generated images are placed in conventional fastlane directories, making them easier to incorporate into future store-submission workflows:

  • iOS: fastlane/screenshots/en-US/
  • Android: fastlane/metadata/android/en-US/images/phoneScreenshots/

Generated screenshots, background assets, and locally copied system fonts are excluded through Git ignore rules because they can be regenerated. Only the reusable generation script and configuration files are tracked.

Store Screenshot Generation

HiveSuite Automated Store Screenshots

Image


2. iOS Screenshot Framing & Marketing Titles

Fastlane Frameit Integration

Added fastlane/screenshots/Framefile.json and an npm command to apply device frames and marketing titles to generated iOS screenshots.

Run the iOS framing workflow using:

npm run frame:ios

The process uses fastlane frameit to compose device-bezel artwork around the screenshots and add a per-screen marketing title. This creates a more polished presentation of HiveSuite features for store listings.

Device Frame Compatibility

Fastlane's bundled frameit-frames catalog does not yet contain exact artwork for the current 6.9-inch iPhone and 13-inch iPad dimensions. The configuration therefore uses the closest available older assets:

  • iPhone 11 Pro Max
  • iPad Pro 12.9-inch, 4th generation

The force_device_type setting selects these available frame assets. Although the bezel artwork comes from older device models, the composed screenshots retain the required output dimensions of 1320 × 2868 for iPhone and 2752 × 2064 for iPad.

This limitation affects the selected frame artwork rather than the final image dimensions. The exact resolutions have been verified.

iOS Framed Screenshots

HiveSuite iOS Device-Framed Screenshots

Image

Image

Image

Image

Image

iPad Framed Screenshots

Image

Image

Image

Image

Image

Image


3. Android Screenshot Framing

Extending the Workflow Beyond iOS

The initial framing workflow covered iOS screenshots, leaving Android captures as raw phone screenshots without device bezels or marketing titles. This update extends the same treatment to Android, following fastlane's documented screenshot-framing approach.

Reference documentation: Fastlane — Put your screenshots into device frames

Android Frame Configuration

Added a dedicated configuration file:

fastlane/metadata/android/en-US/images/phoneScreenshots/Framefile.json

The configuration pins force_device_type to google-pixel-5, because fastlane's bundled Android frame catalog currently tops out at the older Pixel 5 generation rather than the modern Pixel 10 Pro XL profile used for capture.

The setting show_complete_frame:false allows the composed image to be rescaled back to the original screenshot resolution, preserving the expected output dimensions even when older frame artwork is used.

Shared Configuration Improvements

The screenshot-generation script was also refactored to avoid maintaining separate, duplicated configuration-writing logic for each platform.

  • Extracted the Framefile.json and title.strings writer into a shared helper.
  • Added relative font and background path calculations using path.relative().
  • Accounted for the different directory structures used by iOS and Android.
  • Kept platform-specific placement configurable instead of relying on a single hardcoded path.

This shared approach makes the implementation easier to maintain while accommodating the different fastlane directory layouts.

New npm Commands

The following commands are now available:

npm run frame:ios
npm run frame:android
npm run frame
  • frame:ios applies framing to iOS screenshots.
  • frame:android applies framing to Android screenshots.
  • frame runs both platform workflows.

Android Framed Screenshots

HiveSuite Android Device-Framed Screenshots

Image

Image

Image

Image

That $50 surprise at the stall is a story I'll be telling for a while. The store screenshots are framed for every phone now, and you can browse them in HiveSuite at https://hivesuite.app.

Comments · 1