瀏覽代碼

remove isRunningTestFlight

Marino Faggiana 8 年之前
父節點
當前提交
8726eadd5a
共有 3 個文件被更改,包括 0 次插入14 次删除
  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>
 @interface AppDelegate : UIResponder <UIApplicationDelegate, BKPasscodeLockScreenManagerDelegate, BKPasscodeViewControllerDelegate, LMMediaPlayerViewDelegate, TWMessageBarStyleSheet>
 #endif
 #endif
 
 
-// For debug
-@property BOOL isRunningTestFlight;
-
 // Timer 5 sec.
 // Timer 5 sec.
 @property (nonatomic, strong) NSTimer *timerVerifyProcess;
 @property (nonatomic, strong) NSTimer *timerVerifyProcess;
 
 

+ 0 - 5
iOSClient/AppDelegate.m

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

+ 0 - 6
iOSClient/Main/CCMain.m

@@ -319,12 +319,6 @@
         // Initializations
         // Initializations
         [app applicationInitialized];
         [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 {
     } else {
         
         
         // reload datasource
         // reload datasource