Don't link HockeyApp

This commit is contained in:
Ali 2020-01-28 16:27:54 +04:00
parent 0fe641ec1c
commit bdc0bb21e7
2 changed files with 4 additions and 5 deletions

View File

@ -47,7 +47,6 @@ framework(
"//submodules/DeviceAccess:DeviceAccess",
"//submodules/WatchCommon/Host:WatchCommon",
"//submodules/LightweightAccountData:LightweightAccountData",
"//submodules/HockeySDK-iOS:HockeySDK",
"//submodules/BuildConfig:BuildConfig",
"//submodules/BuildConfigExtra:BuildConfigExtra",
"//submodules/rlottie:RLottieBinding",

View File

@ -5,7 +5,7 @@ import TelegramCore
import SyncCore
import UserNotifications
import Intents
import HockeySDK
//import HockeySDK
import Postbox
import PushKit
import AsyncDisplayKit
@ -157,7 +157,7 @@ final class SharedApplicationContext {
}
}
@objc(AppDelegate) class AppDelegate: UIResponder, UIApplicationDelegate, PKPushRegistryDelegate, BITHockeyManagerDelegate, UNUserNotificationCenterDelegate, UIAlertViewDelegate {
@objc(AppDelegate) class AppDelegate: UIResponder, UIApplicationDelegate, PKPushRegistryDelegate/*, BITHockeyManagerDelegate*/, UNUserNotificationCenterDelegate, UIAlertViewDelegate {
@objc var window: UIWindow?
var nativeWindow: (UIWindow & WindowHost)?
var mainWindow: Window1!
@ -1338,7 +1338,7 @@ final class SharedApplicationContext {
self.isActivePromise.set(true)
}
BITHockeyBaseManager.setPresentAlert({ [weak self] alert in
/*BITHockeyBaseManager.setPresentAlert({ [weak self] alert in
if let strongSelf = self, let alert = alert {
var actions: [TextAlertAction] = []
for action in alert.actions {
@ -1376,7 +1376,7 @@ final class SharedApplicationContext {
#else
BITHockeyManager.shared().authenticator.authenticateInstallation()
#endif
}
}*/
if UIApplication.shared.isStatusBarHidden {
UIApplication.shared.setStatusBarHidden(false, with: .none)