GameAnalytics / GA-SDK-AIR

Public repository for official GameAnalytics Adobe AIR SDK.
MIT License
5 stars 1 forks source link

Wrong user_id field #6

Open kalashot opened 4 years ago

kalashot commented 4 years ago

Hi "User" event has strange value "\nV\u0002\u0001" in the user_id field instead of idfa number. As a result one device generates many installs when the application is launched more than once. Here is "user" event from live feed log:

"User" event: { arrival_ts: "00:56", country_code: "MD", data: { build: "", category: "user", client_ts: 1582066611, connection_type: "wifi", device: "iPad5,4", ios_app_build: "0.9.871", ios_app_version: "0.9.871", ios_bundle_id: "xxx.xxxxx.xxxxx", ios_idfa: "775BD1B3 - xxxx - xxxx - xxxx - xxxxxxxxxxxx", ios_idfv: "42AF3761 - xxxx - xxxx - xxxx - xxxxxxxxxxxx", manufacturer: "apple", os_version: "ios 13.3", platform: "ios", sdk_version: "air 3.0.7", session_id: "129214b9 - 4976 - 40c2 - b5d7 - 95df19f3b272", session_num: 7, user_id: "\nV\u0002\u0001", v: 2 }, first_in_batch: true, game_id: 93914, ip: "xxx.xxx.xxx.x" }

Thank you

the1schwartz commented 4 years ago

Ok thanks for reporting this. We will try to see if we can replicate this and then make a fix for it.

the1schwartz commented 4 years ago

I have just tested myself with the latest version of the SDK building for iOS and I don't get any problem with the user_id field. You are welcome to send me a small test project if you still are having issues with it.