Skip to content

Commit

Permalink
Merge Fix issue #75
Browse files Browse the repository at this point in the history
  • Loading branch information
Ani Sinanaj authored and kopiro committed Feb 9, 2018
1 parent 48af688 commit 31582f6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion android/src/ti/goosh/IntentService.java
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,8 @@ private void parseNotification(Bundle bundle) {
alert = data.getAsJsonPrimitive("alert").getAsString();
}

if (alert.isEmpty()) {
if (alert.isEmpty() || !data.has("alert")) {
showNotification = false;
alert = TiApplication.getInstance().getAppInfo().getName();
}

Expand Down

0 comments on commit 31582f6

Please sign in to comment.