Skip to content

Commit f3d7733

Browse files
committed
Add support for alertTitle
1 parent 8dc1492 commit f3d7733

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ios/RNVoipPushNotification/RNVoipPushNotificationManager.m

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ + (UILocalNotification *)UILocalNotification:(id)json
4444
NSDictionary<NSString *, id> *details = [self NSDictionary:json];
4545
UILocalNotification *notification = [UILocalNotification new];
4646
notification.fireDate = [RCTConvert NSDate:details[@"fireDate"]] ?: [NSDate date];
47+
notification.alertTitle = [RCTConvert NSString:details[@"alertTitle"]];
4748
notification.alertBody = [RCTConvert NSString:details[@"alertBody"]];
4849
notification.alertAction = [RCTConvert NSString:details[@"alertAction"]];
4950
notification.soundName = [RCTConvert NSString:details[@"soundName"]] ?: UILocalNotificationDefaultSoundName;

0 commit comments

Comments
 (0)