Commit 2d4033c3 authored by Sebastián Katzer's avatar Sebastián Katzer
Browse files

Fixed crashing `get` if notification doesn't exist

parent 248f30d3
Loading
Loading
Loading
Loading
+3 −0
Changes for CHANGELOG.md: 3 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -3,6 +3,9 @@ ChangeLog

Please also read the [Upgrade Guide](https://github.com/katzer/cordova-plugin-local-notifications/wiki/Upgrade-Guide) for more information.

#### Version 0.8.3 (not yet released)
- Fixed crashing `get(ID)` if notification doesn't exist

#### Version 0.8.2 (08.11.2015)
- Submitted to npm
- Initial support for the `windows` platform
+1 −1
Changes for src/ios/APPLocalNotification.m: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -393,7 +393,7 @@
        }

        result = [CDVPluginResult resultWithStatus:CDVCommandStatus_OK
                                    messageAsDictionary:notifications[0]];
                               messageAsDictionary:[notifications firstObject]];

        [self.commandDelegate sendPluginResult:result
                                    callbackId:command.callbackId];