[PR #2242] [CLOSED] feature: add purchase android #2719

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

📋 Pull Request Information

Original PR: https://github.com/amnezia-vpn/amnezia-client/pull/2242
Author: @NickVs2015
Created: 2/19/2026
Status: ❌ Closed

Base: dev ← Head: feature/add-purchase-android


📝 Commits (10+)

  • 58acf71 Add Google Play Billing Library
  • 012135a Bump Android version code to 59
  • 5e23eed Disable Qt debugger sleep
  • daa44a2 Add billing module, provide a separate build for Google Play
  • 4b6ec29 Add a method to detect Google Play build
  • 494e93d Build script refactor to support AAB build for Google Play
  • 545c766 Add method to get the list of offers
  • d4f6add Add methods to verify and purchase subscriptions
  • 4c03463 refactor: modify response json
  • fe99cde feat: add purchase to UI

📊 Changes

26 files changed (+1339 additions, -285 deletions)

View changed files

📝 .github/workflows/deploy.yml (+57 -7)
📝 CMakeLists.txt (+2 -0)
➕ client/android/billing/build.gradle.kts (+19 -0)
➕ client/android/billing/src/main/kotlin/BillingException.kt (+65 -0)
➕ client/android/billing/src/main/kotlin/BillingProvider.kt (+320 -0)
📝 client/android/build.gradle.kts (+36 -11)
📝 client/android/gradle/libs.versions.toml (+2 -0)
➕ client/android/oss/org/amnezia/vpn/BillingPaymentRepository.kt (+13 -0)
➕ client/android/play/org/amnezia/vpn/BillingPaymentRepository.kt (+34 -0)
📝 client/android/settings.gradle.kts (+1 -0)
📝 client/android/src/org/amnezia/vpn/AmneziaActivity.kt (+53 -10)
📝 client/android/src/org/amnezia/vpn/AmneziaApplication.kt (+4 -0)
➕ client/android/src/org/amnezia/vpn/BillingRepository.kt (+12 -0)
➕ client/android/utils/src/main/kotlin/ErrorCode.kt (+14 -0)
📝 client/cmake/android.cmake (+23 -0)
📝 client/core/defs.h (+11 -1)
📝 client/core/errorstrings.cpp (+18 -0)
📝 client/core/serialization/vmess.cpp (+1 -1)
📝 client/platforms/android/android_controller.cpp (+51 -0)
📝 client/platforms/android/android_controller.h (+7 -0)

...and 6 more files

📄 Description

add purchase to Android


🔄 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/2242 **Author:** [@NickVs2015](https://github.com/NickVs2015) **Created:** 2/19/2026 **Status:** ❌ Closed **Base:** `dev` ← **Head:** `feature/add-purchase-android` --- ### 📝 Commits (10+) - [`58acf71`](https://github.com/amnezia-vpn/amnezia-client/commit/58acf718581e3c37093c29d20057ebb609f9b430) Add Google Play Billing Library - [`012135a`](https://github.com/amnezia-vpn/amnezia-client/commit/012135aea69d747daf63af6a1bfa8e8e8468fe3c) Bump Android version code to 59 - [`5e23eed`](https://github.com/amnezia-vpn/amnezia-client/commit/5e23eed2bc7e4bffa05a31bb1c81e79064694260) Disable Qt debugger sleep - [`daa44a2`](https://github.com/amnezia-vpn/amnezia-client/commit/daa44a26721bbcc931c90b55d432f55e996cb186) Add billing module, provide a separate build for Google Play - [`4b6ec29`](https://github.com/amnezia-vpn/amnezia-client/commit/4b6ec297611837f4ab4450d05fffd923ba5b8fd9) Add a method to detect Google Play build - [`494e93d`](https://github.com/amnezia-vpn/amnezia-client/commit/494e93d4ab3695bf4d3ef717b17d6f3a7008f2cc) Build script refactor to support AAB build for Google Play - [`545c766`](https://github.com/amnezia-vpn/amnezia-client/commit/545c7667325c704f62f60281d508134a8eb4ac2d) Add method to get the list of offers - [`d4f6add`](https://github.com/amnezia-vpn/amnezia-client/commit/d4f6add807193d234c025f7c34d0e428b1c97628) Add methods to verify and purchase subscriptions - [`4c03463`](https://github.com/amnezia-vpn/amnezia-client/commit/4c03463344430c289153ef090932f0eadee3d8a5) refactor: modify response json - [`fe99cde`](https://github.com/amnezia-vpn/amnezia-client/commit/fe99cdeb85e24d3569c7861aebd008a8281b1a78) feat: add purchase to UI ### 📊 Changes **26 files changed** (+1339 additions, -285 deletions) <details> <summary>View changed files</summary> 📝 `.github/workflows/deploy.yml` (+57 -7) 📝 `CMakeLists.txt` (+2 -0) ➕ `client/android/billing/build.gradle.kts` (+19 -0) ➕ `client/android/billing/src/main/kotlin/BillingException.kt` (+65 -0) ➕ `client/android/billing/src/main/kotlin/BillingProvider.kt` (+320 -0) 📝 `client/android/build.gradle.kts` (+36 -11) 📝 `client/android/gradle/libs.versions.toml` (+2 -0) ➕ `client/android/oss/org/amnezia/vpn/BillingPaymentRepository.kt` (+13 -0) ➕ `client/android/play/org/amnezia/vpn/BillingPaymentRepository.kt` (+34 -0) 📝 `client/android/settings.gradle.kts` (+1 -0) 📝 `client/android/src/org/amnezia/vpn/AmneziaActivity.kt` (+53 -10) 📝 `client/android/src/org/amnezia/vpn/AmneziaApplication.kt` (+4 -0) ➕ `client/android/src/org/amnezia/vpn/BillingRepository.kt` (+12 -0) ➕ `client/android/utils/src/main/kotlin/ErrorCode.kt` (+14 -0) 📝 `client/cmake/android.cmake` (+23 -0) 📝 `client/core/defs.h` (+11 -1) 📝 `client/core/errorstrings.cpp` (+18 -0) 📝 `client/core/serialization/vmess.cpp` (+1 -1) 📝 `client/platforms/android/android_controller.cpp` (+51 -0) 📝 `client/platforms/android/android_controller.h` (+7 -0) _...and 6 more files_ </details> ### 📄 Description add purchase to Android --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-14 21:04: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#2719
No description provided.