ソースを参照

华为推送增加参数

peng 2 年 前
コミット
071d2bd5bf
1 ファイル変更2 行追加1 行削除
  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',