question

element808 avatar image
element808 asked

Push Notification Device Token (Unreal Engine 4)

Is there a way to get the device token for push notifications in UE4?

Push Notificationsunreal
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

·
Sarah Zhang avatar image
Sarah Zhang answered

PlayFab supports Push Notifications for Android and iOS. The official documents provide the tutorials based on Unity3D Engine. You can navigate to the FCM’s Set up a C++ client documentation for the sample code to Access the device registration token if you are using Unreal 4 C++. This method would be suitable for pushing notification for Android.

For iOS, you need to rely on the default behavior of how iOS handles push notifications. We haven’t found a corresponding native supports from UE4 to push notification for iOS. You may need to search for a third-party plugin to implement it. Please navigate to Unreal official forum for more professional supports about pushing iOS notifications on Unreal.

Besides, you can try to add a feature request to add the examples based on Unreal in the tutorial of PlayFab push notifications.

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.

element808 avatar image element808 commented ·

Thanks for the info, Sarah. I'll figure it out :)

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.