question

afroninjamx avatar image
afroninjamx asked

Unlinking a device, giving it to a friend, creating a new account with the same device id.

Hi, I'm just trying to understand what would happen in this scenario:


-User A creates a frictionless login for my game on their device
-User A eventually a acquires a new device and migrates their account by registering it and logging in on the new device
-User A requests that the first device be un-linked. They then give their device to User B.
-User B starts a fresh install of the game and creates a frictionless login using the same unique device ID that User A originally did.

Will user B have their own, completely unique account? Is there any lingering data that would connect user A and B together?

In short, can two accounts be created based on the same unique device id, as long as one of the devices has been properly un-linked first?

Account Management
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

·
Citrus Yan avatar image
Citrus Yan answered

The answer is yes, two accounts are created using the same device id are separate from each other as long as one of the devices has been properly unlinked first.

After unlinking a device id from one player account, using the very device id to login will get an error “user not found”, which means the device id based account no longer exists. You have to log in this device with the parameter “CreateAccount”: true, then a brand new player account will be created.

So, you just have to make sure that the device id has been unlinked, and the rest is taken care of by PlayFab. Don’t worry about a thing.

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.