From b9f548b47b4f279baf18c4ac6aeb8e99fb698edd Mon Sep 17 00:00:00 2001 From: morizon Date: Sat, 4 Jan 2025 11:48:02 +0800 Subject: [PATCH] Fix/add android billing (#6443) * fix: add android billing permission * fix: add billing version --- apps/mobile/android/app/build.gradle | 4 ++++ apps/mobile/android/app/src/main/AndroidManifest.xml | 3 +++ 2 files changed, 7 insertions(+) diff --git a/apps/mobile/android/app/build.gradle b/apps/mobile/android/app/build.gradle index e3d584c8f5d..7bf082428c4 100644 --- a/apps/mobile/android/app/build.gradle +++ b/apps/mobile/android/app/build.gradle @@ -258,6 +258,10 @@ dependencies { // Add BouncyCastle OpenPGP dependency implementation("org.bouncycastle:bcpg-jdk18on:1.77") + + // add billing sdk, also update AndroidManifest.xml + def billingVersion = 7.0.0 + implementation("com.android.billingclient:billing:$billingVersion") } apply from: new File(["node", "--print", "require.resolve('@react-native-community/cli-platform-android/package.json')"].execute(null, rootDir).text.trim(), "../native_modules.gradle"); diff --git a/apps/mobile/android/app/src/main/AndroidManifest.xml b/apps/mobile/android/app/src/main/AndroidManifest.xml index 8c2ef79f3d7..e90c1e45a2f 100644 --- a/apps/mobile/android/app/src/main/AndroidManifest.xml +++ b/apps/mobile/android/app/src/main/AndroidManifest.xml @@ -36,6 +36,9 @@ +