question

Jose Jonatas avatar image
Jose Jonatas asked

URGENT: In the project i have two login (customid/device for notification). Conflicts

LoginWithCustomID runs first (LOGIN)

LoginWithAndroidDeviceID runs second (PUSH NOTIFICATION)

when I run any playFab function (PurchaseItem, update...) the notification login (LoginWithAndroidDeviceID) playFabId is referenced
Push NotificationsPlayer Inventory
b24j6.png (4.5 KiB)
wpf80.png (92.3 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

·
Gosen Gao avatar image
Gosen Gao answered

Both APIs you are using are Anonymous login mechanisms, they will create two different accounts for the new players. In the common scenario, you should use only one login method at a time. After players login your game, you can use link API to link the Android Device or other platform accounts to an exist account.

If you have the requirement that needs to maintain 2 accounts in a single client at the same time, you can define and initialize PlayFabClientInstance API separately.

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.