You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Version used: 2.21.1
Devices/Android version reproduced on: Pixel 3a API 31
Hello all,
I am seeing an issue where survey responses are being recorded twice for some users. To debug what was happening I used Proxyman to see the requests that were being sent from the device and I can easily reproduce the bug.
We have a follow up question after the initial 1-5 rating. If there are any configuration changes during runtime between the submission of the first survey question and the submission of the follow up question, it results in a duplicated value stored in wootric. It appears that this is because the unique_link that is sent with the request is different after the configuration change.
First question POST:
[...]score=5&account_id=5492&end_user_id=388574083&survey%5Bchannel%5D=mobile&priority=0&survey%5Bunique_link%5D=bab116ccef062076746356e7fd8327701f9346340c034f8faa94178608329948&os_name=Android&os_version=12&sdk_version=android-2.21.1
Second question POST (after screen rotate):
[...]score=5&account_id=5492&end_user_id=388574083&survey%5Bchannel%5D=mobile&text=duplicate&priority=0&survey%5Bunique_link%5D=aeda2bcb581733945a154d43b6b4df41159598128ef7a15e2007096c306cf734&os_name=Android&os_version=12&sdk_version=android-2.21.1
The text was updated successfully, but these errors were encountered:
Version used: 2.21.1
Devices/Android version reproduced on: Pixel 3a API 31
Hello all,
I am seeing an issue where survey responses are being recorded twice for some users. To debug what was happening I used Proxyman to see the requests that were being sent from the device and I can easily reproduce the bug.
We have a follow up question after the initial 1-5 rating. If there are any configuration changes during runtime between the submission of the first survey question and the submission of the follow up question, it results in a duplicated value stored in wootric. It appears that this is because the
unique_link
that is sent with the request is different after the configuration change.First question POST:
[...]score=5&account_id=5492&end_user_id=388574083&survey%5Bchannel%5D=mobile&priority=0&survey%5Bunique_link%5D=
bab116ccef062076746356e7fd8327701f9346340c034f8faa94178608329948
&os_name=Android&os_version=12&sdk_version=android-2.21.1Second question POST (after screen rotate):
[...]score=5&account_id=5492&end_user_id=388574083&survey%5Bchannel%5D=mobile&text=duplicate&priority=0&survey%5Bunique_link%5D=
aeda2bcb581733945a154d43b6b4df41159598128ef7a15e2007096c306cf734
&os_name=Android&os_version=12&sdk_version=android-2.21.1The text was updated successfully, but these errors were encountered: