mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-11-12 15:21:08 +00:00
c6f91716a4
The relay hands APNs the encrypted record with a placeholder text and mutable-content set; the new Notification Service Extension opens it with the device's Web Push keys from the shared keychain group (RFC 8291 on CryptoKit) and shows the real title, text and link. Without the keys the placeholder stays, so a notification arrives either way and nothing on the way reads it. The target came in through ios/scripts/add-extension.rb (kept, idempotent), its App ID is registered, and the release lane signs every target with its own App Store profile. Web Push payloads now stop at 2800 bytes so the encrypted, base64-encoded record still fits Apple's 4 KB.
11 lines
308 B
XML
11 lines
308 B
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
|
<plist version="1.0">
|
|
<dict>
|
|
<key>keychain-access-groups</key>
|
|
<array>
|
|
<string>$(AppIdentifierPrefix)com.liketrek.trek.shared</string>
|
|
</array>
|
|
</dict>
|
|
</plist>
|