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
In version 4.x, adid could be retrieved synchronously. After upgrading to version 5.x, it has become asynchronous.
So there are three points of concern:
1. Is the retrieval of the adid a one-time asynchronous callback, or does it work as a continuous asynchronous callback (similar to being in a listening state after setting the method)?
2. Does this method retrieve the adid before or after Adjust.initSdk(config) is initialized?
3. Is it possible for the retrieved value to be null?
The text was updated successfully, but these errors were encountered:
Getter for adid is a one time callback, not a subscription type (like attribution callback is, for example). In this issue it was discussed a bit more in detail around this topic, so you might find some interesting things to read about behavior and reasoning for the change.
In the current implementation, adid getter always expects SDK to be initialized in order to return the value. If invoked before the initialization, your callback will be cached and pinged with the value after the SDK gets initialized.
Good question, this is what the discussions around v5 implementation were mostly about, but that aside - it is not possible to get this callback triggered with null value (this was the biggest v4 complaint for many which we were trying to solve with v5 approach).
In case you have any other questions or doubts, feel free to ping.
In version 4.x, adid could be retrieved synchronously. After upgrading to version 5.x, it has become asynchronous.
So there are three points of concern:
1. Is the retrieval of the adid a one-time asynchronous callback, or does it work as a continuous asynchronous callback (similar to being in a listening state after setting the method)?
2. Does this method retrieve the adid before or after Adjust.initSdk(config) is initialized?
3. Is it possible for the retrieved value to be null?
The text was updated successfully, but these errors were encountered: