question

justindooley avatar image
justindooley asked

Xsolla Login sets city to Los Angeles

When logging in via the Xsolla launcher the playfab country and City of the user are updated to USA and Los Angeles. Is there a way to correct this?

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

·
Seth Du avatar image
Seth Du answered

PlayFab doesn’t have region settings on Game Manager. When Xsolla integrates with PlayFab, Xsolla login server will send request to PlayFab server, it can be reason that the player's Country and City is always in Los Angeles. You may refer to Xsolla's document on --Xsolla Documentation - PlayFab storage. As a workaround, you may cache Country and City information in PlayFab via Player Data or Objects.

2 comments
10 |1200

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

justindooley avatar image justindooley commented ·

Is there a way to once logged in to the application to push an updated location from the client directly to the server post login?

0 Likes 0 ·
JayZuo avatar image JayZuo ♦ justindooley commented ·

PlayFab looks up the IP address of the incoming login request in a mapping table to determine an approximate location from which the player might be connecting. So, unless you call another PlayFab Login API again from the client directly, there is no way to get the location info updated.

Please understand the precision on this geolocation is very low, as it’s limited by the accuracy and precision of the IP lookup tables. If you need a more accuracy location, you may gather it from the device by yourself.

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.