mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-08-02 00:17:02 +00:00
Improve identifier cheek error logging in case live identifier is provided
This commit is contained in:
parent
cd9989bb09
commit
3c168bc270
@ -71,7 +71,11 @@
|
||||
|
||||
- (void)logInvalidIdentifier:(NSString *)environment {
|
||||
if (!_appStoreEnvironment) {
|
||||
NSLog(@"[HockeySDK] ERROR: The %@ is invalid! Please use the HockeyApp app identifier you find on the apps website on HockeyApp! The SDK is disabled!", environment);
|
||||
if ([environment isEqualToString:@"liveIdentifier"]) {
|
||||
NSLog(@"[HockeySDK] WARNING: The liveIdentifier is invalid! The SDK will be disabled when deployed to the App Store without setting a valid app identifier!");
|
||||
} else {
|
||||
NSLog(@"[HockeySDK] ERROR: The %@ is invalid! Please use the HockeyApp app identifier you find on the apps website on HockeyApp! The SDK is disabled!", environment);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user