question

ajincs4redappletech avatar image
ajincs4redappletech asked

Playfab Push Notification error in android unity setup

I stuck in SendPushNotification playfab Api. When I call the api in postman then it shows the error as per attached screenshot. 6015-api-response.png

Push Notifications
api-response.png (63.2 KiB)
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

·
Simon Cui avatar image
Simon Cui answered

The error message indicates the player’s device has not been registered for push notification. You can refer to Getting Started with Android Studio and Push Notifications - PlayFab | Microsoft Learn and Push Notification for Android - PlayFab | Microsoft Learn to setup push notification for android service. Then you can call Platform Specific Methods - Android Device Push Notification Registration - REST API (PlayFab Client) | Microsoft Learn to register the Android device to receive 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.

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.