Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3395573
D4444.id14175.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
880 B
Referenced Files
None
Subscribers
None
D4444.id14175.diff
View Options
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 "TemporalMessageStorage.h"
@interface NotificationService ()
@@ -16,7 +17,11 @@
contentHandler {
self.contentHandler = contentHandler;
self.bestAttemptContent = [request.content mutableCopy];
-
+ NSString *message = self.bestAttemptContent.userInfo[@"messageInfos"];
+ TemporalMessageStorage *temporalStorage =
+ [[TemporalMessageStorage alloc] init];
+ [temporalStorage writeMessage:message];
+ [temporalStorage ensureLockUsable];
// TODO modify self.bestAttemptContent here
self.contentHandler(self.bestAttemptContent);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Dec 2, 6:16 AM (17 h, 31 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2606813
Default Alt Text
D4444.id14175.diff (880 B)
Attached To
Mode
D4444: Write to temporary message storage from NotificationService
Attached
Detach File
Event Timeline
Log In to Comment