Skip to content

Add native iOS tip jar and independent donation tabs - #819

Merged
ShiftHackZ merged 7 commits into
developfrom
feature/ios-tip-jar
Dec 1, 2026
Merged

ShiftHackZ merged 7 commits into
developfrom
feature/ios-tip-jar

Conversation

@ShiftHackZ

@ShiftHackZ ShiftHackZ commented Dec 1, 2026 •

Copy link
Copy Markdown
Owner

Description

iOS support payments now use three optional, repeatable StoreKit tips. Each tip uses Apple's localized product metadata and price, acknowledges verified payments, and unlocks no app features. Android retains external donation options.

  • Add a public KMP IAP gateway, donation use cases, an iOS StoreKit runtime and an unsupported Android implementation. Handle pending approval, cancellation, repeated tips and unfinished transaction recovery.
  • Split Donate into independently owned tabs, retain tab/scroll state, and add illustrated tier and thank-you cards with shared loading and recovery UI.
  • Add Kotlin unit coverage across the domain, IAP callback adapter and Donate presentation. Keep MNN and IAP CI limited to module tests and their native dependencies, with independent change detection and no full-app builds.
  • Retain version 1.4.0 and increment Android/iOS build numbers to 224, including the iOS extension.

Checklist

  • I have ensured this PR does not contain any breaking changes for existing functionality
  • I have added automated tests that cover the new behavior and removed obsolete tests and code
  • I have added documentation for any new public APIs and updated existing documentation for changes to public APIs

Tested On

  • Android: Emulator
  • Android: Real device
  • iOS: Simulator
  • iOS: Real iPhone device

Physical iPhone sandbox testing covered all three tiers, repeat purchases, cancellation and relaunch. Local scoped Kotlin/JVM and Kotlin/Native suites passed, along with CI selector regression tests, Kotlin lint and presentation architecture checks. Unit line coverage is 100% for donation use cases and ViewModels, 96.7% for the complete Donate module. Android compilation passed. Hosted CI validation is pending.

Suggested Review Order

  1. Domain IAP contracts and donation use cases, followed by feature/iap platform implementations and the native runtime.
  2. Donate tab ownership, UI states and previews, followed by tests, CI gates and build metadata.

@ShiftHackZ
ShiftHackZ merged commit ff886c4 into develop Dec 1, 2026
15 checks passed
@ShiftHackZ
ShiftHackZ deleted the feature/ios-tip-jar branch December 1, 2026 14:50
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