Skip to content

Async Adid getter never calling the ADJAdidGetterBlock callback #740

Open
@alessioborraccino

Description

@alessioborraccino

Hi,

While attempting to migrate to adjust 5 from 4, i encountered an issue:
These methods became asynchronous:

open class func adid(completionHandler completion: @escaping ADJAdidGetterBlock)
open class func adid() async -> String?

Since we need to get the adid, we try to fetch it and store it , between other times, also at a certain time after the initialisation of the SDK.
Unfortunately, after the session and attribution are assigned, if ADID is still nil, trying to access it with the new asynchronous functions results in a hang forever, because the completion callback never gets called.

Could you please double check this, and help me out either with a fix or a work around solution?

Alessio Borraccino from Autoscout24

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions