Skip to content

[HMS] unable to process background notification #1498

@KKChong

Description

@KKChong

Description:

rawPayload='{"custom":"{"i":"a39d821c-19d9-47cf-9269-721975e8739e","a":{"foo":"bar"}}","alert":"English Message","title":"English Title","hms.sent_time":"0","hms.ttl":"0"}

the ttl value and sent_time value are 0, The default value should be 259,200 seconds (3 days) instead of 0
but GMS is working as expected value = 259,200

below is my request json:
{
"app_id": "c4709073-4aca-4930-bd9a-1605e65c8531",
"include_player_ids": ["373d07ca-44d9-4b8b-8fa7-66b3920c462c"],
"huawei_msg_type": "data",
"data": {"foo": "bar"},
"headings": {"en": "English Title"},
"contents": {"en": "English Message"}
}

Environment
target SDK = 30
OneSignal SDK = 4.6.3
Huawei Push SDK = 6.1.0.300

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions