Skip to content

Commit

Permalink
Sending the value of body localization key
Browse files Browse the repository at this point in the history
  • Loading branch information
this-Aditya committed May 15, 2024
1 parent 15ab6fd commit 83ff27e
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 83ff27e

Please sign in to comment.