Commit 2d4033c3 by Sebastián Katzer

Fixed crashing `get` if notification doesn't exist

parent 248f30d3
......@@ -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
......
......@@ -393,7 +393,7 @@
}
result = [CDVPluginResult resultWithStatus:CDVCommandStatus_OK
messageAsDictionary:notifications[0]];
messageAsDictionary:[notifications firstObject]];
[self.commandDelegate sendPluginResult:result
callbackId:command.callbackId];
......
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