Details
Details
- Reviewers
bartek marcin - Commits
- rCOMMf71495b1458b: [Tunnelbroker] implement sending APNs notif
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.
Diff Detail
Diff Detail
- Repository
- rCOMM Comm
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
| services/tunnelbroker/src/notifs/apns/mod.rs | ||
|---|---|---|
| 122 ↗ | (On Diff #41792) | Is this to check if the payload is a valid JSON? |
| 135–136 ↗ | (On Diff #41792) | This should be possible |