Skip to content

Commit b56f432

Browse files
committed
chore: update sample notification title format
1 parent 7b0384e commit b56f432

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

sample/ios/NotificationService/NotificationService.m

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ @implementation NotificationService
2020
- (void)didReceiveNotificationRequest:(UNNotificationRequest *)request withContentHandler:(void (^)(UNNotificationContent * _Nonnull))contentHandler {
2121
self.contentHandler = contentHandler;
2222
self.bestAttemptContent = [request.content mutableCopy];
23+
self.bestAttemptContent.title = [NSString stringWithFormat:@"[RN]%@", self.bestAttemptContent.title];
2324
self.contentHandler(self.bestAttemptContent);
2425
[NotifeeExtensionHelper populateNotificationContent:request
2526
withContent: self.bestAttemptContent

0 commit comments

Comments
 (0)