Commit dd6fcd00 by Sebastián Katzer

Merge pull request #200 from davidtron/ios-notificationWithId

Convert the id value to a String before comparison
parents a33413a1 08c2fd18
......@@ -568,7 +568,7 @@
for (UILocalNotification* notification in notifications)
{
NSString* notId = [notification.userInfo objectForKey:@"id"];
NSString* notId = [[notification.userInfo objectForKey:@"id"] stringValue];
if ([notId isEqualToString:id]) {
return notification;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment