Skip to content

Commit

Permalink
[feature][SDK-356] setShowPushnotificationAlert method fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
André Kis authored and André Kis committed Aug 20, 2024
1 parent cdf2a5b commit 82ad701
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ios/PushNotification.m
Original file line number Diff line number Diff line change
Expand Up @@ -368,8 +368,8 @@ - (void)setLanguage:(CDVInvokedUrlCommand *)command {
}

- (void)setShowPushnotificationAlert:(CDVInvokedUrlCommand *)command {
BOOL showPushnotificationAlert = command.arguments[0];
self.pushManager.showPushnotificationAlert = showPushnotificationAlert;
id showPushnotificationAlert = command.arguments[0];
self.pushManager.showPushnotificationAlert = [showPushnotificationAlert boolValue];
}

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

0 comments on commit 82ad701

Please sign in to comment.