Add tips on iOS !395

merged merged by cmc on 2026-11-20 00:52 UTC · krz/orgstar:tips into main

Discussion

cmc

Consumable tips in Settings ▸ About orgstar ▸ Support Development, shown to everyone including grandfathered users and orgstar+ owners. They unlock nothing.

  • Product ids sh.krz.orgstar.tip.small|medium|large at 0.99, 2.99 and 4.99, the same ids scheme and tiers as hutch and gitbay-ios.
  • Tip (OrgApp) holds the ids, tested in TipTests; TipStore/TipSection (OrgstarMobile) load and buy them and show a thank-you alert. ProStore's Transaction.updates listener finishes tips that arrive later.
  • ios/Orgstar.storekit gains the three consumables with de, fr, ja, es and pt-BR names.
  • 10 new strings with de, fr, ja, es and pt-BR translations.
  • No Mac tips: the Mac app is sold as a Paddle license key outside the App Store and has no StoreKit.
  • CONTRIBUTING: App Store Connect setup for the tips. README: mentions tips.

Tested: swift test passes; Mac and iOS targets build (scripts/sync-strings.sh); against Orgstar.storekit with SKTestSession, tips load in order with prices, each purchase thanks, a tip can be bought twice, no entitlement results, and a failed purchase shows a message.

Before release: create the three consumables in App Store Connect and submit them with the version.