[PR #1652] [MERGED] feat: ios in-app purchase methods #2461

Closed
opened 2026-10-14 21:02:16 +00:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/amnezia-vpn/amnezia-client/pull/1652
Author: @yaroslavyaroslav
Created: 6/15/2025
Status: ✅ Merged
Merged: 12/18/2025
Merged by: @vkamn

Base: dev ← Head: feat/inapp-storekit


📝 Commits (10+)

  • 7fa75e0 Add in-app purchase methods
  • 2b7bb8c fix: init StoreKit controller on startup
  • 634a754 fix: Add transaction details to StoreKit callbacks
  • e293a69 nullpointer access fixed
  • da8fe15 feat: in app purchase for ios
  • 5a98e44 feat: add IAP product fetching and logging for iOS platform
  • df16632 feat: iOS Simulator building pipeline made
  • 57667b1 feat: add support for multiple IAP product IDs and attempt purchase of the first valid one
  • b6c09fe feat: add support for retrieving Base64-encoded app receipt after successful IAP purchase
  • 7bf592b refactor: inapp-purchase code cleanup

📊 Changes

22 files changed (+910 additions, -14 deletions)

View changed files

📝 client/cmake/ios.cmake (+2 -0)
📝 client/cmake/macos_ne.cmake (+2 -0)
📝 client/core/defs.h (+1 -0)
📝 client/core/errorstrings.cpp (+1 -0)
➕ client/platforms/ios/StoreKitController.h (+39 -0)
➕ client/platforms/ios/StoreKitController.mm (+264 -0)
📝 client/platforms/ios/ios_controller.h (+21 -0)
📝 client/platforms/ios/ios_controller.mm (+133 -0)
📝 client/translations/amneziavpn_ar_EG.ts (+5 -0)
📝 client/translations/amneziavpn_fa_IR.ts (+5 -0)
📝 client/translations/amneziavpn_hi_IN.ts (+5 -0)
📝 client/translations/amneziavpn_my_MM.ts (+5 -0)
📝 client/translations/amneziavpn_ru_RU.ts (+5 -0)
📝 client/translations/amneziavpn_uk_UA.ts (+5 -0)
📝 client/translations/amneziavpn_ur_PK.ts (+5 -0)
📝 client/translations/amneziavpn_zh_CN.ts (+5 -0)
📝 client/ui/controllers/api/apiConfigsController.cpp (+348 -4)
📝 client/ui/controllers/api/apiConfigsController.h (+3 -0)
📝 client/ui/models/servers_model.cpp (+26 -0)
📝 client/ui/models/servers_model.h (+1 -0)

...and 2 more files

📄 Description

No description provided


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/amnezia-vpn/amnezia-client/pull/1652 **Author:** [@yaroslavyaroslav](https://github.com/yaroslavyaroslav) **Created:** 6/15/2025 **Status:** ✅ Merged **Merged:** 12/18/2025 **Merged by:** [@vkamn](https://github.com/vkamn) **Base:** `dev` ← **Head:** `feat/inapp-storekit` --- ### 📝 Commits (10+) - [`7fa75e0`](https://github.com/amnezia-vpn/amnezia-client/commit/7fa75e0f57a5f1d4b994d8d2357da45b15ca14d7) Add in-app purchase methods - [`2b7bb8c`](https://github.com/amnezia-vpn/amnezia-client/commit/2b7bb8cd5340ebf296d028c20147b19421790473) fix: init StoreKit controller on startup - [`634a754`](https://github.com/amnezia-vpn/amnezia-client/commit/634a754fcb1615756dbf284b8f32df19d8804038) fix: Add transaction details to StoreKit callbacks - [`e293a69`](https://github.com/amnezia-vpn/amnezia-client/commit/e293a6980ea65977cffb941cb762cd9a6cdd2d69) nullpointer access fixed - [`da8fe15`](https://github.com/amnezia-vpn/amnezia-client/commit/da8fe15610cd6322f174dee5ab2842cc42adcd2b) feat: in app purchase for ios - [`5a98e44`](https://github.com/amnezia-vpn/amnezia-client/commit/5a98e441db3e3c42df5f4864efcd5eb5a9704117) feat: add IAP product fetching and logging for iOS platform - [`df16632`](https://github.com/amnezia-vpn/amnezia-client/commit/df1663232124caadeb03c8b2f9d28dc083022969) feat: iOS Simulator building pipeline made - [`57667b1`](https://github.com/amnezia-vpn/amnezia-client/commit/57667b18f382579917f96569366354d11a111421) feat: add support for multiple IAP product IDs and attempt purchase of the first valid one - [`b6c09fe`](https://github.com/amnezia-vpn/amnezia-client/commit/b6c09fea70de963b66d2c19889e04c79c772ba9a) feat: add support for retrieving Base64-encoded app receipt after successful IAP purchase - [`7bf592b`](https://github.com/amnezia-vpn/amnezia-client/commit/7bf592bc3c9ec9b2387c4d1b83d0e827d140f661) refactor: inapp-purchase code cleanup ### 📊 Changes **22 files changed** (+910 additions, -14 deletions) <details> <summary>View changed files</summary> 📝 `client/cmake/ios.cmake` (+2 -0) 📝 `client/cmake/macos_ne.cmake` (+2 -0) 📝 `client/core/defs.h` (+1 -0) 📝 `client/core/errorstrings.cpp` (+1 -0) ➕ `client/platforms/ios/StoreKitController.h` (+39 -0) ➕ `client/platforms/ios/StoreKitController.mm` (+264 -0) 📝 `client/platforms/ios/ios_controller.h` (+21 -0) 📝 `client/platforms/ios/ios_controller.mm` (+133 -0) 📝 `client/translations/amneziavpn_ar_EG.ts` (+5 -0) 📝 `client/translations/amneziavpn_fa_IR.ts` (+5 -0) 📝 `client/translations/amneziavpn_hi_IN.ts` (+5 -0) 📝 `client/translations/amneziavpn_my_MM.ts` (+5 -0) 📝 `client/translations/amneziavpn_ru_RU.ts` (+5 -0) 📝 `client/translations/amneziavpn_uk_UA.ts` (+5 -0) 📝 `client/translations/amneziavpn_ur_PK.ts` (+5 -0) 📝 `client/translations/amneziavpn_zh_CN.ts` (+5 -0) 📝 `client/ui/controllers/api/apiConfigsController.cpp` (+348 -4) 📝 `client/ui/controllers/api/apiConfigsController.h` (+3 -0) 📝 `client/ui/models/servers_model.cpp` (+26 -0) 📝 `client/ui/models/servers_model.h` (+1 -0) _...and 2 more files_ </details> ### 📄 Description _No description provided_ --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-14 21:02:16 +00:00
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
amnezia-vpn/amnezia-client#2461
No description provided.