question

Aleksey avatar image
Aleksey asked

Recived notification showing without "Subject"

Hello! I have a problem with receiving notifications on IOS. The problem is that I receive text without a subject. But if I use template notification, everything is okay. To send notifications via cloud script I use this code

server.SendPushNotification({

Recipient: currentPlayerId,

Subject: args[0],

Message: args[1],

});

Could you please help me?

CloudScriptPush Notifications
3 comments
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Aleksey avatar image Aleksey commented ·

On android works completely fine too

0 Likes 0 ·
Sarah Zhang avatar image Sarah Zhang Aleksey commented ·

We will try to reproduce it.

0 Likes 0 ·
Aleksey avatar image Aleksey Sarah Zhang commented ·

Thanks! Will wait for your answer)

0 Likes 0 ·

1 Answer

·
Sarah Zhang avatar image
Sarah Zhang answered

Did you check this thread for the information?

iOS push notification payload cloudscript - Playfab Community

It showed a solution that send push notification using AdvancedPlatformDelivery.

1 comment
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Aleksey avatar image Aleksey commented ·

Okay, I`ll try this

0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.