Browse Source

移除ios推送 "launch-image"

locky 1 month ago
parent
commit
b662322403
1 changed files with 2 additions and 4 deletions
  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",