Przeglądaj źródła

remove isRunningTestFlight

Marino Faggiana 8 lat temu
rodzic
commit
8726eadd5a
3 zmienionych plików z 0 dodań i 14 usunięć
  1. 0 3
      iOSClient/AppDelegate.h
  2. 0 5
      iOSClient/AppDelegate.m
  3. 0 6
      iOSClient/Main/CCMain.m

+ 0 - 3
iOSClient/AppDelegate.h

@@ -52,9 +52,6 @@
 @interface AppDelegate : UIResponder <UIApplicationDelegate, BKPasscodeLockScreenManagerDelegate, BKPasscodeViewControllerDelegate, LMMediaPlayerViewDelegate, TWMessageBarStyleSheet>
 #endif
 
-// For debug
-@property BOOL isRunningTestFlight;
-
 // Timer 5 sec.
 @property (nonatomic, strong) NSTimer *timerVerifyProcess;
 

+ 0 - 5
iOSClient/AppDelegate.m

@@ -88,11 +88,6 @@
     [MagicalRecord setLoggingLevel:MagicalRecordLoggingLevelOff];
 #endif
     
-    // Test Flight
-    NSURL *receiptURL = [[NSBundle mainBundle] appStoreReceiptURL];
-    NSString *receiptURLString = [receiptURL path];
-    _isRunningTestFlight =  ([receiptURLString rangeOfString:@"sandboxReceipt"].location != NSNotFound);
-    
     // Verify upgrade
     [self upgrade];
     

+ 0 - 6
iOSClient/Main/CCMain.m

@@ -319,12 +319,6 @@
         // Initializations
         [app applicationInitialized];
         
-        // message TestFlight
-        if (app.isRunningTestFlight) {
-            
-            [app messageNotification:@"_info_" description:@"This version is beta and only fot TestFlight, send report at ios@nextcloud.com" visible:YES delay:dismissAfterSecond type:TWMessageBarMessageTypeInfo];
-        }
-        
     } else {
         
         // reload datasource