From f919baf1e5f4b470dd45c46a98c9c95f7ac13297 Mon Sep 17 00:00:00 2001 From: Roman Tsisyk Date: Wed, 21 Dec 2022 16:46:32 +0200 Subject: [PATCH] Temporary disable donates for Huawei during review --- src/index.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/index.ts b/src/index.ts index 0d97f11..cee795d 100644 --- a/src/index.ts +++ b/src/index.ts @@ -141,6 +141,9 @@ export async function handleRequest(request: Request) { appVersion.code > lastApprovedAndReleasediOSAppVersionCode ) { donatesEnabled = false; + } else if (appVersion.flavor === 'huawei') { + // 2022-12-12: Temporary disable donates for Huawei while the build is on review + donatesEnabled = false; } if (donatesEnabled) {