Commit 518ee1e3 authored by EddyVerbruggen's avatar EddyVerbruggen
Browse files

[#245] partially

parent 63d9e4f8
Loading
Loading
Loading
Loading
+3 −1
Changes for src/ios/PushPlugin.m: 3 added lines, 1 removed line.
Original line number Diff line number Diff line
@@ -218,11 +218,13 @@
    [self successWithMessage:[NSString stringWithFormat:@"app badge count set to %d", badge]];
}
-(void)successWithMessage:(NSString *)message
{
    if (self.callbackId != nil)
    {
        CDVPluginResult *commandResult = [CDVPluginResult resultWithStatus:CDVCommandStatus_OK messageAsString:message];
    
        [self.commandDelegate sendPluginResult:commandResult callbackId:self.callbackId];
    }
}

-(void)failWithMessage:(NSString *)message withError:(NSError *)error
{