Skip to content

Commit

Permalink
fix(ios): localnotificationaction event contains notification id inst…
Browse files Browse the repository at this point in the history
…ead of the action id (#10940)

Fixes TIMOB-27165, Fixes #10939
  • Loading branch information
teunklijn authored and sgtcoolguy committed Oct 2, 2019
1 parent 94d29f2 commit 3a42ee4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion iphone/TitaniumKit/TitaniumKit/Sources/API/TiApp.m
Original file line number Diff line number Diff line change
Expand Up @@ -1376,7 +1376,7 @@ + (NSDictionary *)dictionaryWithUserNotification:(UNNotification *)notification
[event setObject:NULL_IF_NIL(notification.request.content.userInfo) forKey:@"userInfo"];
[event setObject:NULL_IF_NIL(notification.request.content.categoryIdentifier) forKey:@"category"];
[event setObject:NULL_IF_NIL(notification.request.content.threadIdentifier) forKey:@"threadIdentifier"];
[event setObject:NULL_IF_NIL(notification.request.identifier) forKey:@"identifier"];
[event setObject:NULL_IF_NIL(identifier) forKey:@"identifier"];

// iOS 10+ does have "soundName" but "sound" which is a native object. But if we find
// a sound in the APS dictionary, we can provide that one for parity
Expand Down

0 comments on commit 3a42ee4

Please sign in to comment.