[ ] This issue is not security related and can safely be disclosed publicly on GitHub
Environment
Describe your dev environment here, giving as many details as possible. If you have them, make sure to include:
Unity Editor Version: 2022.1.19f1
Unity SDK Version: 14.1.0
Installation Platform & Verison: [Android]
Goals
Fix auto purchase event sended by Facebook SDK.
Expected Results
One in-app purchase should create one auto purchase event on Facebook.
Actual Results
After reinstall of the game Facebook creates duplication of the auto purchase event that was already sent before uninstall of the game. It was a consumable in-app.
Steps to Reproduce
Install the game and make consumable in-app purchase in it.
See that in Facebook Events Manager auto purchase event was received.
Uninstall the game.
Install the game again.
See that in Facebook Events Manager the same auto purchase event was received once again after Facebook SDK Initialization.
Code Samples & Details
We have no code for tracking purchase events in Facebook. It only sended automatically by Facebook SDK.
After in-app purchase was completed Facebook receives purchase event. After that you can uninstall the game and reinstall it once again and the same event with all the same parameters (time, token etc.) will be sended to the Facebook in ~10 seconds after fb_mobile_activate_app event was received.
Checklist
Environment
Describe your dev environment here, giving as many details as possible. If you have them, make sure to include:
2022.1.19f1
14.1.0
[Android]
Goals
Fix auto purchase event sended by Facebook SDK.
Expected Results
One in-app purchase should create one auto purchase event on Facebook.
Actual Results
After reinstall of the game Facebook creates duplication of the auto purchase event that was already sent before uninstall of the game. It was a consumable in-app.
Steps to Reproduce
Code Samples & Details
We have no code for tracking purchase events in Facebook. It only sended automatically by Facebook SDK. After in-app purchase was completed Facebook receives purchase event. After that you can uninstall the game and reinstall it once again and the same event with all the same parameters (time, token etc.) will be sended to the Facebook in ~10 seconds after fb_mobile_activate_app event was received.