瀏覽代碼

change option push

Marino Faggiana 8 年之前
父節點
當前提交
f1f4edf3cd
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      iOSClient/AppDelegate.m

+ 1 - 1
iOSClient/AppDelegate.m

@@ -426,7 +426,7 @@
 
 - (void)application:(UIApplication *)application didRegisterForRemoteNotificationsWithDeviceToken:(NSData *)deviceToken
 {
-#if defined(OPTION_NOTIFICATION_PUSH_ENABLE) || defined(DEBUG)
+#if defined(OPTION_NOTIFICATION_PUSH_ENABLE)
     
     NSString *pushToken = [[[[deviceToken description] stringByReplacingOccurrencesOfString: @"<" withString: @""] stringByReplacingOccurrencesOfString: @">" withString: @""] stringByReplacingOccurrencesOfString: @" " withString: @""];
     NSString *pushTokenHash = [[CCCrypto sharedManager] createSHA512:pushToken];