mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2026-02-02 09:06:58 +00:00
Use NSLog instead of alertview with keychain issue
When the authentication mechanism couldn't save the auth token to the keychain, now only show a message in the console. The user will have to login on the next app start anyway until the developer fixes the keychain signing or entitlements issue.
This commit is contained in:
@@ -160,13 +160,7 @@ static unsigned char kBITPNGEndChunk[4] = {0x49, 0x45, 0x4e, 0x44};
|
||||
return;
|
||||
}
|
||||
|
||||
UIAlertView *alertView = [[UIAlertView alloc] initWithTitle:nil
|
||||
message:BITHockeyLocalizedString(@"HockeyAuthenticationViewControllerStorageError")
|
||||
delegate:self
|
||||
cancelButtonTitle:BITHockeyLocalizedString(@"HockeyOK")
|
||||
otherButtonTitles:nil];
|
||||
[alertView setTag:1];
|
||||
[alertView show];
|
||||
NSLog(@"[HockeySDK] ERROR: The authentication token could not be stored due to a keychain error. This is most likely a signing or keychain entitlement issue!");
|
||||
}
|
||||
|
||||
- (void) identifyWithCompletion:(void (^)(BOOL identified, NSError *))completion {
|
||||
|
||||
@@ -269,9 +269,6 @@
|
||||
/* Error presented to the user if authentication failed because of networking issues */
|
||||
"HockeyAuthenticationViewControllerNetworkError" = "Die Autorisierung ist fehlgeschlagen, da Ihr Gerät anscheinend nicht mit dem Internet verbunden ist. Bitte erneut versuchen.";
|
||||
|
||||
/* Error presented to the user if authentication could not be stored on the device */
|
||||
"HockeyAuthenticationViewControllerStorageError" = "Your authentication token could not be stored due to a keychain error. Please contact the developer of the app.";
|
||||
|
||||
"HockeyAuthenticationFailedAuthenticate" = "Autorisierung fehlgeschlagen. Bitte erneut versuchen oder an den Entwickler dieser App wenden.";
|
||||
"HockeyAuthenticationNotMember" = "Sie sind nicht berechtigt, diese App zu nutzen. Bitte wenden Sie sich an den Entwickler dieser App.";
|
||||
"HockeyAuthenticationContactDeveloper" = "Autorisierungsfehler. Bitte wenden Sie sich an den Entwickler dieser App.";
|
||||
|
||||
@@ -269,9 +269,6 @@
|
||||
/* Error presented to the user if authentication failed because of networking issues */
|
||||
"HockeyAuthenticationViewControllerNetworkError" = "Failed to authorize because your device appears to be disconnected from the Internet. Please try again.";
|
||||
|
||||
/* Error presented to the user if authentication could not be stored on the device */
|
||||
"HockeyAuthenticationViewControllerStorageError" = "Your authentication token could not be stored due to a keychain error. Please contact the developer of the app.";
|
||||
|
||||
"HockeyAuthenticationFailedAuthenticate" = "Failed to authorize. Please try again or contact the developer of this app.";
|
||||
"HockeyAuthenticationNotMember" = "You are not authorized to use this app. Please contact the developer of this app.";
|
||||
"HockeyAuthenticationContactDeveloper" = "Authorization error. Please contact the developer of this app.";
|
||||
|
||||
@@ -269,9 +269,6 @@
|
||||
/* Error presented to the user if authentication failed because of networking issues */
|
||||
"HockeyAuthenticationViewControllerNetworkError" = "No se ha podido realizar la autorización porque su dispositivo parece no estar conectado a Internet. Vuelva a intentarlo.";
|
||||
|
||||
/* Error presented to the user if authentication could not be stored on the device */
|
||||
"HockeyAuthenticationViewControllerStorageError" = "Your authentication token could not be stored due to a keychain error. Please contact the developer of the app.";
|
||||
|
||||
"HockeyAuthenticationFailedAuthenticate" = "Error de autorización. Vuelva a intentarlo o póngase en contacto con el desarrollador de la app.";
|
||||
"HockeyAuthenticationNotMember" = "No tiene autorización para usar esta app. Póngase en contacto con el desarrollador de la app.";
|
||||
"HockeyAuthenticationContactDeveloper" = "Error de autorización. Póngase en contacto con el desarrollador de la app.";
|
||||
|
||||
@@ -269,9 +269,6 @@
|
||||
/* Error presented to the user if authentication failed because of networking issues */
|
||||
"HockeyAuthenticationViewControllerNetworkError" = "Échec de l'autorisation. Votre appareil semble déconnecté d'Internet. Réessayez.";
|
||||
|
||||
/* Error presented to the user if authentication could not be stored on the device */
|
||||
"HockeyAuthenticationViewControllerStorageError" = "Your authentication token could not be stored due to a keychain error. Please contact the developer of the app.";
|
||||
|
||||
"HockeyAuthenticationFailedAuthenticate" = "Échec de l'autorisation. Réessayez ou contactez le développeur de l'application.";
|
||||
"HockeyAuthenticationNotMember" = "Vous n'êtes pas autorisé à utiliser cette application. Contactez le développeur de l'application.";
|
||||
"HockeyAuthenticationContactDeveloper" = "Erreur d'autorisation. Contactez le développeur de l'application.";
|
||||
|
||||
@@ -269,9 +269,6 @@
|
||||
/* Error presented to the user if authentication failed because of networking issues */
|
||||
"HockeyAuthenticationViewControllerNetworkError" = "Autorizacija nije uspjela. Vaš uređaj nema pristup internetu. Molimo Vas pokušajte iznova.";
|
||||
|
||||
/* Error presented to the user if authentication could not be stored on the device */
|
||||
"HockeyAuthenticationViewControllerStorageError" = "Your authentication token could not be stored due to a keychain error. Please contact the developer of the app.";
|
||||
|
||||
|
||||
"HockeyAuthenticationFailedAuthenticate" = "Autorizacija nije uspjela. Molimo Vas pokušajte iznova ili kontaktirajte razvojnog programera ove aplikacije.";
|
||||
"HockeyAuthenticationNotMember" = "Vi niste autorizirani za korištenje ove aplikacije. Molimo Vas kontaktirajte razvojnog programera ove aplikacije.";
|
||||
|
||||
@@ -269,9 +269,6 @@
|
||||
/* Error presented to the user if authentication failed because of networking issues */
|
||||
"HockeyAuthenticationViewControllerNetworkError" = "A hitelesítés sikertelen, mert készüléke nem csatlakozik az internethez. Kérjük, próbálja meg később újra.";
|
||||
|
||||
/* Error presented to the user if authentication could not be stored on the device */
|
||||
"HockeyAuthenticationViewControllerStorageError" = "Your authentication token could not be stored due to a keychain error. Please contact the developer of the app.";
|
||||
|
||||
"HockeyAuthenticationFailedAuthenticate" = "A hitelesítés sikertelen. Kérjük, próbálja meg később újra vagy lépjen kapcsolatba az alkalmazás fejlesztőjével.";
|
||||
"HockeyAuthenticationNotMember" = "Nem jogosult az alkalmazás használatára. Kérjük, lépjen kapcsolatba az alkalmazás fejlesztőjével.";
|
||||
"HockeyAuthenticationContactDeveloper" = "Hitelesítési hiba. Kérjük, lépjen kapcsolatba az alkalmazás fejlesztőjével.";
|
||||
|
||||
@@ -269,9 +269,6 @@
|
||||
/* Error presented to the user if authentication failed because of networking issues */
|
||||
"HockeyAuthenticationViewControllerNetworkError" = "Autorizzazione non riuscita. Pare che il dispositivo non sia connesso a Internet. Riprova.";
|
||||
|
||||
/* Error presented to the user if authentication could not be stored on the device */
|
||||
"HockeyAuthenticationViewControllerStorageError" = "Your authentication token could not be stored due to a keychain error. Please contact the developer of the app.";
|
||||
|
||||
"HockeyAuthenticationFailedAuthenticate" = "Autorizzazione non riuscita. Riprova o contatta lo sviluppatore di questa app.";
|
||||
"HockeyAuthenticationNotMember" = "Non sei autorizzato a usare questa app. Contatta lo sviluppatore di questa app.";
|
||||
"HockeyAuthenticationContactDeveloper" = "Errore di autorizzazione. Contatta lo sviluppatore di questa app.";
|
||||
|
||||
@@ -269,9 +269,6 @@
|
||||
/* Error presented to the user if authentication failed because of networking issues */
|
||||
"HockeyAuthenticationViewControllerNetworkError" = "デバイスがインターネットに接続されていないため、認証できません。やり直してください。";
|
||||
|
||||
/* Error presented to the user if authentication could not be stored on the device */
|
||||
"HockeyAuthenticationViewControllerStorageError" = "Your authentication token could not be stored due to a keychain error. Please contact the developer of the app.";
|
||||
|
||||
"HockeyAuthenticationFailedAuthenticate" = "認証できませんでした。やり直すか、このAppのデベロッパに連絡してください。";
|
||||
"HockeyAuthenticationNotMember" = "このAppの使用を認証されていません。このAppのデベロッパに連絡してください。";
|
||||
"HockeyAuthenticationContactDeveloper" = "認証エラー。このAppのデベロッパに連絡してください。";
|
||||
|
||||
@@ -269,9 +269,6 @@
|
||||
/* Error presented to the user if authentication failed because of networking issues */
|
||||
"HockeyAuthenticationViewControllerNetworkError" = "Identiteitscontrole mislukt omdat uw apparaat niet is verbonden met het internet. Probeer opnieuw.";
|
||||
|
||||
/* Error presented to the user if authentication could not be stored on the device */
|
||||
"HockeyAuthenticationViewControllerStorageError" = "Your authentication token could not be stored due to a keychain error. Please contact the developer of the app.";
|
||||
|
||||
"HockeyAuthenticationFailedAuthenticate" = "Identiteitscontrole mislukt. Probeer opnieuw of neem contact op met de ontwikkelaar van deze app.";
|
||||
"HockeyAuthenticationNotMember" = "U bent niet gemachtigd om deze app te gebruiken. Neem contact op met de ontwikkelaar van deze app.";
|
||||
"HockeyAuthenticationContactDeveloper" = "Fout bij identiteitscontrole. Neem contact op met de ontwikkelaar van deze app.";
|
||||
|
||||
@@ -269,9 +269,6 @@
|
||||
/* Error presented to the user if authentication failed because of networking issues */
|
||||
"HockeyAuthenticationViewControllerNetworkError" = "Falha ao autorizar porque provavelmente o dispositivo não tem ligação à Internet. Tente novamente.";
|
||||
|
||||
/* Error presented to the user if authentication could not be stored on the device */
|
||||
"HockeyAuthenticationViewControllerStorageError" = "Your authentication token could not be stored due to a keychain error. Please contact the developer of the app.";
|
||||
|
||||
"HockeyAuthenticationFailedAuthenticate" = "Falha ao autorizar. Tente novamente ou contacte o programador desta aplicação.";
|
||||
"HockeyAuthenticationNotMember" = "Não está autorizado a utilizar esta aplicação. Contacte o programador desta aplicação.";
|
||||
"HockeyAuthenticationContactDeveloper" = "Erro de autorização. Contacte o programador desta aplicação.";
|
||||
|
||||
@@ -269,9 +269,6 @@
|
||||
/* Error presented to the user if authentication failed because of networking issues */
|
||||
"HockeyAuthenticationViewControllerNetworkError" = "Não foi possível autorizar porque seu dispositivo parece estar desconectado da Internet. Tente novamente.";
|
||||
|
||||
/* Error presented to the user if authentication could not be stored on the device */
|
||||
"HockeyAuthenticationViewControllerStorageError" = "Your authentication token could not be stored due to a keychain error. Please contact the developer of the app.";
|
||||
|
||||
"HockeyAuthenticationFailedAuthenticate" = "Falha ao autorizar. Tente novamente ou contate o desenvolvedor deste aplicativo.";
|
||||
"HockeyAuthenticationNotMember" = "Você não tem autorização para usar este aplicativo. Contate o desenvolvedor deste aplicativo.";
|
||||
"HockeyAuthenticationContactDeveloper" = "Erro de autorização. Contate o desenvolvedor deste aplicativo.";
|
||||
|
||||
@@ -269,9 +269,6 @@
|
||||
/* Error presented to the user if authentication failed because of networking issues */
|
||||
"HockeyAuthenticationViewControllerNetworkError" = "Не удалось авторизоваться, так как ваше устройство не подключено к интернету. Попробуйте еще раз ";
|
||||
|
||||
/* Error presented to the user if authentication could not be stored on the device */
|
||||
"HockeyAuthenticationViewControllerStorageError" = "Your authentication token could not be stored due to a keychain error. Please contact the developer of the app.";
|
||||
|
||||
"HockeyAuthenticationFailedAuthenticate" = "Авторизация не удалась. Попробуйте еще раз или свяжитесь с разработчиком приложения.";
|
||||
"HockeyAuthenticationNotMember" = "У вас нет разрешения использовать это приложение. Обратитесь к разработчику приложения.";
|
||||
"HockeyAuthenticationContactDeveloper" = "Ошибка авторизации. Свяжитесь с разработчиком приложения.";
|
||||
|
||||
@@ -269,9 +269,6 @@
|
||||
/* Error presented to the user if authentication failed because of networking issues */
|
||||
"HockeyAuthenticationViewControllerNetworkError" = "你设备的 Internet 连接似乎已断开,导致授权失败。请再试一次。";
|
||||
|
||||
/* Error presented to the user if authentication could not be stored on the device */
|
||||
"HockeyAuthenticationViewControllerStorageError" = "Your authentication token could not be stored due to a keychain error. Please contact the developer of the app.";
|
||||
|
||||
"HockeyAuthenticationFailedAuthenticate" = "授权错误。请再试一次或联系这个 app 的开发人员。";
|
||||
"HockeyAuthenticationNotMember" = "你未获授权使用这个程序。请联系这个 app 的开发人员。";
|
||||
"HockeyAuthenticationContactDeveloper" = "授权错误。请联系这个 app 开发人员。";
|
||||
|
||||
Reference in New Issue
Block a user