Explorar o código

移除ios推送 "launch-image"

locky hai 1 mes
pai
achega
1106237436
Modificáronse 1 ficheiros con 2 adicións e 4 borrados
  1. 2 4
      Service/PushService.py

+ 2 - 4
Service/PushService.py

@@ -143,8 +143,7 @@ class PushObject:
                 "aps": {
                     "alert": {
                         "title": msg_title,
-                        "body": msg_text,
-                        "launch-image": launch_image
+                        "body": msg_text
                     },
                     "sound": sound,
                     "category": "myCategory",
@@ -241,8 +240,7 @@ class PushObject:
                     "aps": {
                         "alert": {
                             "title": msg_title,
-                            "body": msg_text,
-                            "launch-image": launch_image
+                            "body": msg_text
                         },
                         "sound": sound,
                         "category": "myCategory",