Skip to content

"Application Installed" event triggers without advertisingId raise condition #194

@0aps

Description

@0aps

Team,

  When instantiating the Analytics class with trackApplicationLifecycleEvents using the plugin PluginIdfa, the "Application Installed" event is triggered without the ATT prompt information (i.e advertisingId) IF the user waits too much to decide for a selection in the prompt. If the user allows the prompt quickly, the data gets passed to the event but if they delay the ALLOW decision, the "Application Installed" event is triggered without the ATT data.

  This could be workaround by manually requesting tracking authorization (requestTrackingAuthorization) before initializing the Analytics class but in my mind the SDK should handle this automatically, sort of await the decision of the prompt before sending the lifecycle events.

  If I'm not mistaken, I think the issue might be around the fact this is not awaitable (you can't in the constructor but this is probably why)
Image

Regards,
Ángel

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