question

Kim Strasser avatar image
Kim Strasser asked

"Push notifications not enabled for account."

I set up push notifications 6 months ago and it worked on iOS and Android devices.

But now, I get this error message when I use PlayFabServerAPI.SendPushNotificationFromTemplate.

"Push notifications not enabled for account."

The players account looks like this:

Why is push notifications not set up in the players account? How can I do the set up?

Push Notifications
10 |1200

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

1 Answer

·
JayZuo avatar image
JayZuo answered

To set up push notification for the player, you will need to call AndroidDevicePushNotificationRegistration or RegisterForIOSPushNotification in client to register the device for the user. For more details, please see Push notifications tutorials.

10 |1200

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

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.