Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3362512
D4113.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
707 B
Referenced Files
None
Subscribers
None
D4113.diff
View Options
diff --git a/keyserver/src/push/send.js b/keyserver/src/push/send.js
--- a/keyserver/src/push/send.js
+++ b/keyserver/src/push/send.js
@@ -467,7 +467,7 @@
collapseKey: ?string,
badgeOnly: boolean,
unreadCount: number,
- codeVersion: ?number,
+ codeVersion: number,
): apn.Notification {
const uniqueID = uuidv4();
const notification = new apn.Notification();
@@ -493,6 +493,9 @@
notification.payload.id = uniqueID;
notification.payload.threadID = threadInfo.id;
notification.payload.messageInfos = JSON.stringify(newRawMessageInfos);
+ if (codeVersion > 137) {
+ notification.mutableContent = true;
+ }
if (collapseKey) {
notification.collapseId = collapseKey;
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Nov 25, 10:59 PM (21 h, 29 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2581249
Default Alt Text
D4113.diff (707 B)
Attached To
Mode
D4113: change ios notification structure to make it visible for NotificationService
Attached
Detach File
Event Timeline
Log In to Comment