Procházet zdrojové kódy

华为推送增加参数

peng před 2 roky
rodič
revize
071d2bd5bf
1 změnil soubory, kde provedl 2 přidání a 1 odebrání
  1. 2 1
      Service/HuaweiPushService/HuaweiPushService.py

+ 2 - 1
Service/HuaweiPushService/HuaweiPushService.py

@@ -91,7 +91,8 @@ class HuaweiPushObject:
             default_sound=True,
             click_action=messaging.AndroidClickAction(
                 action_type=1,
-                intent='intent://com.huawei.codelabpush/deeplink?#Intent;scheme=pushscheme;launchFlags=0x4000000;i.age=180;S.name=abc;end'),
+                intent='intent://com.huawei.codelabpush/deeplink?#Intent;scheme=pushscheme;launchFlags=0x4000000;i.age=180;S.name=abc;end',
+                action='android.intent.action.VIEW'),
             body_loc_key='M.String.body',
             body_loc_args=('boy', 'dog'),
             title_loc_key='M.String.title',