Skip to content

Commit

Permalink
fix(android): LocalNotification action not dismissing notification (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
jcesarmobile authored Jun 16, 2020
1 parent b8bd6ab commit 6f5504b
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,9 @@ public JSObject handleNotificationActionPerformed(Intent data, NotificationStora
dataJson.put("inputValue", input.toString());
}
String menuAction = data.getStringExtra(LocalNotificationManager.ACTION_INTENT_KEY);
if (menuAction != DEFAULT_PRESS_ACTION) {
dismissVisibleNotification(notificationId);
}

dismissVisibleNotification(notificationId);

dataJson.put("actionId", menuAction);
JSONObject request = null;
try {
Expand Down

0 comments on commit 6f5504b

Please sign in to comment.