Closed T-10810 closed 3 years ago
This also does not have anything to do with this repo, You have some pretty bot-like behavior. @shreyas1599 could you please check #217 and check the linked issue this "user" made, and see if you agree that this is a bot? Thanks.
Found the issue of duplicate attribution callback invocation:
This method is called whenever Adjust SDK receives new attribution data from server and compares it to previous locally stored data. The problem is in costAmount comparison:
isEqualToNumber
method returns false if both NSNumber objects arenil
.This was always an issue I believe, however it seems that up until 8pm UTC March 23rd, servers were returning 0 for costAmount rather than null, so comparing 0s worked properly. Again, the issue started in all our iOS app versions at the same time which have multiple versions of Adjust SDKs.
Can you confirm my guess of servers changing costAmount from 0 to null if no cost is present for install attribution?
_Originally posted by @sergiymomot in https://github.com/adjust/ios_sdk/issues/518#issuecomment-808459235_