From b8aad1051a33d0121f9c6b1373966c8253b50746 Mon Sep 17 00:00:00 2001 From: Poren Chiang Date: Tue, 12 Oct 2021 12:53:03 +0800 Subject: [PATCH] Include mandatory location usage desc on macOS Starting from macOS Big Sur, location usage description has been enforced on new apps. On macOS, however, the `Info.plist` property key the system resorts to is `NSLocationUsageDescription` instead of `NSLocationWhenInUseUsageDescription`. This commit fixes that. --- Telegram-Mac/Info.plist | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Telegram-Mac/Info.plist b/Telegram-Mac/Info.plist index 547065a98..ed667fe87 100644 --- a/Telegram-Mac/Info.plist +++ b/Telegram-Mac/Info.plist @@ -52,6 +52,8 @@ We need access to your camera so that you can record video messages. NSHumanReadableCopyright Copyright © 2016 Telegram. All rights reserved. + NSLocationUsageDescription + We need access to your location so that you can send your current locations. NSLocationAlwaysUsageDescription We need access to your location so that you can send your current locations and setup Auto-Night theme NSLocationWhenInUseUsageDescription