Przeglądaj źródła

No return info for LRC

Jonas Björkert 11 miesięcy temu
rodzic
commit
8d15b98eb0
1 zmienionych plików z 2 dodań i 0 usunięć
  1. 2 0
      LoopFollow/Remote/LoopAPNS/LoopAPNSService.swift

+ 2 - 0
LoopFollow/Remote/LoopAPNS/LoopAPNSService.swift

@@ -146,9 +146,11 @@ class LoopAPNSService {
             "alert": "Remote Carbs Entry: \(String(format: "%.1f", carbsAmount)) grams\nAbsorption Time: \(String(format: "%.1f", absorptionTime)) hours",
         ] as [String: Any]
 
+        /* Let's wait with this until we have an encryption solution for LRC
         if let returnInfo = createReturnNotificationInfo() {
             finalPayload["return_notification"] = returnInfo
         }
+        */
 
         // Log the exact carbs amount for debugging precision issues
         LogManager.shared.log(category: .apns, message: "Carbs amount - Raw: \(payload.carbsAmount ?? 0.0), Formatted: \(String(format: "%.1f", carbsAmount)), JSON: \(carbsAmount)")