HomePhabricator
Diffusion Comm f71495b1458b

[Tunnelbroker] implement sending APNs notif

Description

[Tunnelbroker] implement sending APNs notif

Summary:
Sending notif according APNs docs.

Depends on D12613

Test Plan:
Implement a couple tests and ran locally to call this function (using device token of my personal iOS device) and this notif:

let payload = json!({
    "aps" : {
        "alert" : {
            "title" : "your_title_here",
            "body" : "your_body_here"
        },
    "mutable-content": 1
    }
});

Tested both successful notifications (verifying on my device) and different error codes.

Reviewers: bartek, marcin

Reviewed By: bartek

Subscribers: ashoat, tomek

Differential Revision: https://phab.comm.dev/D12614

Details

Provenance
kamilAuthored on Jun 28 2024, 5:36 AM
Reviewer
bartek
Differential Revision
D12614: [Tunnelbroker] implement sending APNs notif
Parents
rCOMMd669bb766e26: [Tunnelbroker] implement APNs response types
Branches
Unknown
Tags
Unknown