소스 검색

use regular heartbeat server also in DEBUG mode (#1773)

using the sandbox on a few developer devices does not make sense
as that way devs do not get aware of issues
if the regular heatbeat server is down - or up again.

also, getting rid of the sandbox saves us some maintainance effort.
bjoern 2 년 전
부모
커밋
25bdabe4fe
1개의 변경된 파일0개의 추가작업 그리고 4개의 파일을 삭제
  1. 0 4
      deltachat-ios/AppDelegate.swift

+ 0 - 4
deltachat-ios/AppDelegate.swift

@@ -371,11 +371,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate, UNUserNotificationCenterD
         let tokenParts = deviceToken.map { data in String(format: "%02.2hhx", data) }
         let tokenString = tokenParts.joined()
 
-        #if DEBUG
-        let endpoint = "https://sandbox.notifications.delta.chat/register"
-        #else
         let endpoint = "https://notifications.delta.chat/register"
-        #endif
 
         logger.info("Notifications: POST token: \(tokenString) to \(endpoint)")