File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -233,6 +233,8 @@ @implementation RNCPushNotificationIOS
233
233
formattedNotification[@" title" ] = RCTNullIfNil (content.title );
234
234
formattedNotification[@" subtitle" ] = RCTNullIfNil (content.subtitle );
235
235
formattedNotification[@" body" ] = RCTNullIfNil (content.body );
236
+ formattedNotification[@" badge" ] = RCTNullIfNil (content.badge );
237
+ formattedNotification[@" sound" ] = RCTNullIfNil (content.sound );
236
238
formattedNotification[@" category" ] = RCTNullIfNil (content.categoryIdentifier );
237
239
formattedNotification[@" thread-id" ] = RCTNullIfNil (content.threadIdentifier );
238
240
formattedNotification[@" userInfo" ] = RCTNullIfNil (RCTJSONClean (content.userInfo ));
@@ -250,6 +252,8 @@ @implementation RNCPushNotificationIOS
250
252
formattedRequest[@" title" ] = RCTNullIfNil (content.title );
251
253
formattedRequest[@" subtitle" ] = RCTNullIfNil (content.subtitle );
252
254
formattedRequest[@" body" ] = RCTNullIfNil (content.body );
255
+ formattedRequest[@" badge" ] = RCTNullIfNil (content.badge );
256
+ formattedRequest[@" sound" ] = RCTNullIfNil (content.sound );
253
257
formattedRequest[@" category" ] = RCTNullIfNil (content.categoryIdentifier );
254
258
formattedRequest[@" thread-id" ] = RCTNullIfNil (content.threadIdentifier );
255
259
formattedRequest[@" userInfo" ] = RCTNullIfNil (RCTJSONClean (content.userInfo ));
You can’t perform that action at this time.
0 commit comments