Running a Black Friday sale in a mobile game without shipping an update
Backpack Battle is 25% off this week, from Black Friday to the end of Cyber Monday. Players will see the discount in the shop, and anyone who has never bought anything gets one poster when they open the game. None of that needed an app update. I set it up with one command.
Why not use Google Play's own discounts?
Play has one-time offers, and they would be the obvious tool. But my purchases go through RevenueCat, which handles receipts, restores and entitlements across all my games, and RevenueCat can't buy Play's offers. So a sale needs its own product.
So a sale is a second product at the lower price. When I run:
`` launch sale add 25 --start 2026-11-26 --end 2026-12-03 ``
it creates remove_ads_sale25 (and the same for every other item) in Play and in RevenueCat, gives each one exactly the same entitlements as the full-price product, and publishes the sale dates to a small file on uyllii.com. Every shop checks that file and swaps in the sale product while the dates say so. Shops pick it up within five minutes.
That entitlement copy matters. In Sovereign, unlocks are separate entitlements. If a sale product unlocked only "remove ads", a buyer would have lost things the full product gives. The tool copies the full list now.
The clock problem
If the sale dates come from the phone, anyone can set their phone's clock to Black Friday and buy at 25% off in March. So the game takes the date from the server's response header, not the device. Changing the phone's clock does nothing.
That made testing awkward. To see the sale before it started, I had to feed the game a file without the server date, in a browser build with a fake clock. Once that worked I checked three dates: 20 November (nothing), 27 November (posters in each language, 25% off in the shop) and 3 December (gone again).
No badges on the play screen
The first version put a big "−50%" flag on the shop button. It was gone the same day. A flag on the main screen is noise every time you play, and most players will never buy anything. Now:
- the sale shows only in the shop, as the struck-out price next to the sale price, with a countdown;
- one startup poster, once per sale, only to players who have never bought anything, never in their first session and never mid-game.
The poster is in twelve languages. The big word on it is translated; "Black Friday" and "Cyber Monday" stay in English, because that's how shops in most of those countries say them too.
The near miss
Everything was scheduled, the products existed, the file was live, and it still wouldn't have worked.
The shared purchase code that reads the sale file went into all my games on 2 November. Backpack Battle's live version was from 1 November. The shop players actually had didn't know sales existed: it would have kept selling at full price, with no poster.
I only caught it because I tested the sale against the live version number, not just in a fresh build. A new release went out in time. Next on my list: the sale tool should refuse to schedule a sale for a game whose live build is older than the sale code, so the next one can't quietly fail like that.
Will it sell?
I don't know yet. My games are small, and most purchases are "remove ads". A sale that only moves the people who would have bought anyway is a discount, not a win. I'll compare the sale week with the weeks before it and write it up either way.