Skip to content

Commit

Permalink
fix(ios): notificationReceived - reset flags if message & callback ex…
Browse files Browse the repository at this point in the history
…ist (#329)
  • Loading branch information
erisu authored Dec 9, 2024
1 parent 8b8156a commit 41ef28d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/ios/PushPlugin.m
Original file line number Diff line number Diff line change
Expand Up @@ -558,11 +558,11 @@ - (void)notificationReceived {
CDVPluginResult* pluginResult = [CDVPluginResult resultWithStatus:CDVCommandStatus_OK messageAsDictionary:message];
[pluginResult setKeepCallbackAsBool:YES];
[self.commandDelegate sendPluginResult:pluginResult callbackId:self.callbackId];
}

self.isInline = NO;
self.coldstart = NO;
self.notificationMessage = nil;
self.coldstart = NO;
self.isInline = NO;
self.notificationMessage = nil;
}
}

- (void)clearNotification:(CDVInvokedUrlCommand *)command {
Expand Down

0 comments on commit 41ef28d

Please sign in to comment.