EPISODE #7, 03 Apr 10:00
"L'application a quitté, je ne sais pas pourquoi..." Oubliez ce genre de phrases grâce à Airbrake, un gestionnaire de rapport d'erreurs.
Duration : 450
Code source : https://github.com/ioslibraries/007-Airbrake
Site Web : http://airbrake.io
GitHub : https://github.com/guicocoa/hoptoad-ios
ILAppDelegate.h
#import "ABNotifier.h"
@interface ILAppDelegate : UIResponder <UIApplicationDelegate, ABNotifierDelegate>
ILAppDelegate.m
[ABNotifier startNotifierWithAPIKey:@"cd487dd09336ca6a49205af354228849"
environmentName:ABNotifierAutomaticEnvironment
useSSL:NO delegate:self];
- (void)notifierWillDisplayAlert {
// in a game, pause
}
- (void)notifierDidDismissAlert { }
- (NSString *)titleForNoticeAlert {
return @"iOSLibraries alert !!";
}
- (NSString *)bodyForNoticeAlert {
return @"Oups, une erreur, il faut vite la regler.";
}
