matrix-org / matrix-org/matrix-ios-sdk

Push Notification payload not contain sound Key

Open
#782 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Objective-C
Stars
484
Forks
225
PR merge metrics
No merged PRs in 30d

Description

When the app is in the background and other user send a message then there are no sound is play on notification only banner is shown
When i was inspect the apns Payload then found that there are no sound key on APNS payload

[AnyHashable("room_id"): !rhgiznzzehBqpLPiKl:dev.ravenglobal.app, AnyHashable("aps"): {
    alert =     {
        "loc-args" =         (
            nick,
            Zxcxzc
        );
        "loc-key" = "MSG_FROM_USER_WITH_CONTENT";
    };
    badge = 3;
    "content-available" = 1;
}]

There are any way to add sound key in apns payload.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing where the APNS payload shown in the issue is assembled. Done means the payload includes a sound key for background message notifications and the notification plays a sound instead of showing only a banner.

Written by the indexing model from the issue text.

Assessment

Tech stack
ios
Domain
mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.