|
@@ -73,7 +73,6 @@ class HuaweiPushObject:
|
|
|
color='#AACCDD',
|
|
|
sound='/raw/shake',
|
|
|
default_sound=True,
|
|
|
- tag='tagBoom',
|
|
|
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'),
|
|
@@ -84,12 +83,10 @@ class HuaweiPushObject:
|
|
|
channel_id='1',
|
|
|
notify_summary='',
|
|
|
multi_lang_key={'title_key': {'en': 'value1'}, 'body_key': {'en': 'value2'}},
|
|
|
- style=0,
|
|
|
+ style=1,
|
|
|
big_title=msg_title,
|
|
|
big_body=msg_text,
|
|
|
auto_clear=86400000,
|
|
|
- notify_id=4861,
|
|
|
- group='Group1',
|
|
|
importance=messaging.AndroidNotification.PRIORITY_HIGH,
|
|
|
light_settings=messaging.AndroidLightSettings(color=messaging.AndroidLightSettingsColor(
|
|
|
alpha=0, red=0, green=1, blue=1), light_on_duration='3.5', light_off_duration='5S'),
|