From e30410fb35ea18a74270dabe3d802c312e74fca4 Mon Sep 17 00:00:00 2001 From: Ilya Laktyushin Date: Sat, 13 Aug 2022 14:18:24 +0300 Subject: [PATCH] Fix entitlements --- Telegram/BUILD | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Telegram/BUILD b/Telegram/BUILD index eb5b5aa3c1..496e95691c 100644 --- a/Telegram/BUILD +++ b/Telegram/BUILD @@ -417,6 +417,10 @@ official_bundle_ids = [ "org.telegram.Telegram-iOS", ] +store_bundle_ids = [ + "ph.telegra.Telegraph", +] + apple_pay_merchants = official_apple_pay_merchants if telegram_bundle_id == "ph.telegra.Telegraph" else [] apple_pay_merchants_fragment = "" if apple_pay_merchants == [] else """ @@ -492,12 +496,13 @@ communication_notifications_fragment = """ """ -signin_fragment = """ +store_signin_fragment = """ com.apple.developer.applesignin Default """ +signin_fragment = store_signin_fragment if telegram_bundle_id in store_bundle_ids else "" plist_fragment( name = "TelegramEntitlements",