mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2026-03-11 02:38:58 +00:00
Add additional check for iOS 6 devices in helper method
This commit is contained in:
@@ -275,6 +275,9 @@ BOOL bit_isAppStoreReceiptSandbox(void) {
|
||||
#if TARGET_IPHONE_SIMULATOR
|
||||
return NO;
|
||||
#else
|
||||
if (floor(NSFoundationVersionNumber) <= NSFoundationVersionNumber_iOS_6_1) {
|
||||
return NO;
|
||||
}
|
||||
NSURL *appStoreReceiptURL = NSBundle.mainBundle.appStoreReceiptURL;
|
||||
NSString *appStoreReceiptLastComponent = appStoreReceiptURL.lastPathComponent;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user