Skip to content

Store support - #143

Merged
G-Stas merged 10 commits into
mainfrom
feature/store-support
Nov 10, 2026
Merged

G-Stas merged 10 commits into
mainfrom
feature/store-support

Conversation

@G-Stas

@G-Stas G-Stas commented Nov 10, 2026

Copy link
Copy Markdown
Owner

No description provided.

G-Stas and others added 10 commits November 10, 2026 14:56
The Store build reads the app's Store-managed consumable add-ons whose
product ID starts with "Donation" (at most five, cheapest first, title
and price from the Store in the user's language and currency). While
there are any, a heart button in the mixer footer and a tray menu item
open a support dialog: the heart and title, one sentence, the tiers with
the middle one as the accent button. A tier opens the Store's purchase
window; a purchase is reported as used up right away, and leftovers at
startup, so a tier can be bought again. After a purchase the dialog
turns into a thank-you.

The add-ons are read in parallel with the startup and retried while the
Store can't be reached. The popup stays open while the Store's window
has the focus. Nothing shows in other builds or in markets where the
Store offers no add-ons. Strings in all 12 languages.

Debug runs show fake tiers with VOLUMEY_FAKE_SUPPORT=1 (or "long").
Unit tests for the view model, the filter and the price reading; UI
tests for the heart, the tray item, the dialog and the thank-you.
The Store build offers its own donation add-ons, so the About page lists
none of the links from links.json there, and links.json isn't downloaded.
The GitHub build keeps them.
The title order depended on the language.
…s report

A failed report after the payment showed "The purchase didn't go through". An "already purchased" answer is an earlier payment that was never reported: it's reported now and counts as the purchase. A report that fails is retried at the next launch.
Not now is disabled and closing is ignored until the purchase ends.
@G-Stas
G-Stas merged commit 64c3842 into main Nov 10, 2026
@G-Stas
G-Stas deleted the feature/store-support branch November 12, 2026 17:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant