Skip to content

Commit

Permalink
feature: trying to get the message from alert part of the payload
Browse files Browse the repository at this point in the history
  • Loading branch information
Jérémy Tonneau committed Jan 11, 2016
1 parent 6044a02 commit af92138
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/nl/vanvianen/android/gcm/GCMIntentService.java
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ protected void onMessage(Context context, Intent intent) {
launcherIntent.addCategory(Intent.CATEGORY_LAUNCHER);

String title = (String) data.get("title");
String message = (String) data.get("message");
String message = (String) notificationSettings.get("alert");
String ticker = (String) data.get("ticker");

Log.i(LCAT, "Title: " + title);
Expand Down

0 comments on commit af92138

Please sign in to comment.