Prechádzať zdrojové kódy

华为推送增加参数

peng 2 rokov pred
rodič
commit
071d2bd5bf

+ 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',