Page MenuHomePhabricator

D4444.id14357.diff
No OneTemporary

D4444.id14357.diff

diff --git a/native/ios/NotificationService/NotificationService.mm b/native/ios/NotificationService/NotificationService.mm
--- a/native/ios/NotificationService/NotificationService.mm
+++ b/native/ios/NotificationService/NotificationService.mm
@@ -1,4 +1,5 @@
#import "NotificationService.h"
+#import "TemporaryMessageStorage.h"
@interface NotificationService ()
@@ -16,7 +17,12 @@
contentHandler {
self.contentHandler = contentHandler;
self.bestAttemptContent = [request.content mutableCopy];
-
+ NSString *message = self.bestAttemptContent.userInfo[@"messageInfos"];
+ if (message) {
+ TemporaryMessageStorage *temporaryStorage =
+ [[TemporaryMessageStorage alloc] init];
+ [temporaryStorage writeMessage:message];
+ }
// TODO modify self.bestAttemptContent here
self.contentHandler(self.bestAttemptContent);

File Metadata

Mime Type
text/plain
Expires
Mon, Dec 2, 6:18 AM (17 h, 53 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2606677
Default Alt Text
D4444.id14357.diff (875 B)

Event Timeline