refactor: Remove unused method to validate app receipt
This commit is contained in:
@@ -34,17 +34,6 @@ static NSString * const SegueIdentifierLogs = @"ShowLogs";
|
||||
appDelegate.mainTabBarController = self;
|
||||
|
||||
[self sincronizza];
|
||||
|
||||
// check for an AppStore receipt
|
||||
NSURL *receiptURL = [[NSBundle mainBundle] appStoreReceiptURL];
|
||||
NSData *receipt = [NSData dataWithContentsOfURL:receiptURL];
|
||||
if (receipt) {
|
||||
[[ServerRequest defaultServerConnectionSingleton] inviaRicevuta:receipt success:^(id result) {
|
||||
// nope
|
||||
} failure:^(NSError *error) {
|
||||
// nope
|
||||
}];
|
||||
}
|
||||
}
|
||||
|
||||
#pragma mark - Public
|
||||
|
||||
@@ -23,6 +23,8 @@ typedef void (^errorCompletionHandler)(NSError * _Nullable error);
|
||||
|
||||
- (void)inviaInformazioniAlServerWithURL:(NSURL *)url richiesta:(EQNTipoChiamata)chiamata success:(successCompletionHandler)onSuccess failure:(errorCompletionHandler)onFailure;
|
||||
|
||||
/// NOTA: questo metodo è implementato ma non contiene un URL valido per l'invio della ricevuta
|
||||
/// Al momento non viene utilizzato dall'app perchè è inutile
|
||||
- (void)inviaRicevuta:(NSData *)ricevuta success:(successCompletionHandler)onSuccess failure:(errorCompletionHandler)onFailure;
|
||||
|
||||
@end
|
||||
|
||||
Reference in New Issue
Block a user