[PR #3044] [MERGED] feat: play store iap #3062

Closed
opened 2026-10-15 04:07:14 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/amnezia-vpn/amnezia-client/pull/3044
Author: @vkamn
Created: 8/25/2026
Status: ✅ Merged
Merged: 8/27/2026
Merged by: @vkamn

Base: feature/rebased-purchase-android ← Head: feat/play-store-iap


📝 Commits (10+)

  • a60ebe5 chore: add acknowledgePlayPurchase
  • 575c663 refactor: add store purchase controller
  • 8893266 feat: use same acknowledge method as appstore
  • 2f97bdc fix: IOS add upgrade
  • 1f33281 fix: change QML warn message
  • d76ca7e refactor: dedupe Play purchase validation and startup billing query
  • 5811f5c chore: log purchaseToken through the Android purchase flow
  • b31e57e fix: resolve Android active plan by base plan id
  • ee407a8 fix: remove comment
  • e711449 fix: subscribe to Transaction.updates before Transaction.unfinished

📊 Changes

33 files changed (+1328 additions, -1149 deletions)

View changed files

📝 CMakeLists.txt (+1 -1)
📝 client/android/billing/src/main/kotlin/BillingException.kt (+3 -3)
📝 client/android/billing/src/main/kotlin/BillingProvider.kt (+14 -13)
📝 client/android/build.gradle.kts (+3 -2)
📝 client/android/src/org/amnezia/vpn/AmneziaActivity.kt (+0 -7)
📝 client/android/utils/src/main/kotlin/ErrorCode.kt (+1 -1)
📝 client/cmake/ios.cmake (+0 -2)
📝 client/cmake/macos_ne.cmake (+0 -2)
📝 client/cmake/sources.cmake (+2 -0)
📝 client/core/controllers/api/servicesCatalogController.cpp (+4 -15)
➕ client/core/controllers/api/storePurchaseController.cpp (+760 -0)
➕ client/core/controllers/api/storePurchaseController.h (+88 -0)
📝 client/core/controllers/api/subscriptionController.cpp (+26 -618)
📝 client/core/controllers/api/subscriptionController.h (+6 -48)
📝 client/core/controllers/coreController.cpp (+2 -0)
📝 client/core/controllers/coreController.h (+2 -0)
📝 client/core/utils/api/apiUtils.cpp (+5 -1)
📝 client/core/utils/errorStrings.cpp (+9 -1)
📝 client/platforms/android/android_controller.cpp (+0 -5)
📝 client/platforms/android/android_controller.h (+0 -1)

...and 13 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/3044 **Author:** [@vkamn](https://github.com/vkamn) **Created:** 8/25/2026 **Status:** ✅ Merged **Merged:** 8/27/2026 **Merged by:** [@vkamn](https://github.com/vkamn) **Base:** `feature/rebased-purchase-android` ← **Head:** `feat/play-store-iap` --- ### 📝 Commits (10+) - [`a60ebe5`](https://github.com/amnezia-vpn/amnezia-client/commit/a60ebe5fbace9fb9a658bdb6a41926e251c05ce7) chore: add acknowledgePlayPurchase - [`575c663`](https://github.com/amnezia-vpn/amnezia-client/commit/575c663b16ac01098bd3955211748f431129acbf) refactor: add store purchase controller - [`8893266`](https://github.com/amnezia-vpn/amnezia-client/commit/8893266a06d1aa768b703d6abfe1f59d7b2a3fcc) feat: use same acknowledge method as appstore - [`2f97bdc`](https://github.com/amnezia-vpn/amnezia-client/commit/2f97bdc3790dee40128bf94732da476ea33194ae) fix: IOS add upgrade - [`1f33281`](https://github.com/amnezia-vpn/amnezia-client/commit/1f33281fbbde4ffb4730d572f053b2c746488d24) fix: change QML warn message - [`d76ca7e`](https://github.com/amnezia-vpn/amnezia-client/commit/d76ca7ed7d98ebd483128296811748833b4e4ba9) refactor: dedupe Play purchase validation and startup billing query - [`5811f5c`](https://github.com/amnezia-vpn/amnezia-client/commit/5811f5c9b2d35a4d8fbfdb7e7579e0ec07f8f4ff) chore: log purchaseToken through the Android purchase flow - [`b31e57e`](https://github.com/amnezia-vpn/amnezia-client/commit/b31e57e14a558e03671ff085fd3c425fa5067ae2) fix: resolve Android active plan by base plan id - [`ee407a8`](https://github.com/amnezia-vpn/amnezia-client/commit/ee407a8e39775e3603f382f4b204ebb519ccbd2b) fix: remove comment - [`e711449`](https://github.com/amnezia-vpn/amnezia-client/commit/e71144945173ddeaad543c577008599c1acc5a7d) fix: subscribe to Transaction.updates before Transaction.unfinished ### 📊 Changes **33 files changed** (+1328 additions, -1149 deletions) <details> <summary>View changed files</summary> 📝 `CMakeLists.txt` (+1 -1) 📝 `client/android/billing/src/main/kotlin/BillingException.kt` (+3 -3) 📝 `client/android/billing/src/main/kotlin/BillingProvider.kt` (+14 -13) 📝 `client/android/build.gradle.kts` (+3 -2) 📝 `client/android/src/org/amnezia/vpn/AmneziaActivity.kt` (+0 -7) 📝 `client/android/utils/src/main/kotlin/ErrorCode.kt` (+1 -1) 📝 `client/cmake/ios.cmake` (+0 -2) 📝 `client/cmake/macos_ne.cmake` (+0 -2) 📝 `client/cmake/sources.cmake` (+2 -0) 📝 `client/core/controllers/api/servicesCatalogController.cpp` (+4 -15) ➕ `client/core/controllers/api/storePurchaseController.cpp` (+760 -0) ➕ `client/core/controllers/api/storePurchaseController.h` (+88 -0) 📝 `client/core/controllers/api/subscriptionController.cpp` (+26 -618) 📝 `client/core/controllers/api/subscriptionController.h` (+6 -48) 📝 `client/core/controllers/coreController.cpp` (+2 -0) 📝 `client/core/controllers/coreController.h` (+2 -0) 📝 `client/core/utils/api/apiUtils.cpp` (+5 -1) 📝 `client/core/utils/errorStrings.cpp` (+9 -1) 📝 `client/platforms/android/android_controller.cpp` (+0 -5) 📝 `client/platforms/android/android_controller.h` (+0 -1) _...and 13 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-15 04:07:14 +07: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#3062
No description provided.