Skip to content

Commit

Permalink
Merge pull request #465 from this-Aditya/loc
Browse files Browse the repository at this point in the history
Sending the value of body localization key.
  • Loading branch information
yatharthranjan authored May 15, 2024
2 parents 15ab6fd + 83ff27e commit 885c9cf
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ private ApnsConfig.Builder getApnsConfigBuilder(FcmDownstreamMessage message, Du
apsAlertBuilder.addTitleLocalizationArg(titleLocArgs);

String bodyLocKey = getString(notificationMessage.getNotification().get("body_loc_key"));
if (bodyLocKey != null) apsAlertBuilder.setLocalizationKey("body_loc_key");
if (bodyLocKey != null) apsAlertBuilder.setLocalizationKey(bodyLocKey);

String bodyLocArgs = getString(notificationMessage.getNotification().get("body_loc_args"));
if (bodyLocKey != null && bodyLocArgs != null)
Expand Down

0 comments on commit 885c9cf

Please sign in to comment.