Skip to content

mParticle attribution listener #254

@JeremiahStephenson

Description

@JeremiahStephenson

I work in a project that is integrated with AppsFlyer and so we set an attribution listener through mParticle for deep links. This works great when the app is not in the foreground but the onResult method of the attribution listener is not called when the app is in the foreground. This can be tested when the app is in split screen mode with another app that has the deep link. When the user taps on the deep link nothing happens in the app I'm working on.
We do set the intent in onNewIntent for the activity but onResult is not called in that scenario. I have noticed that if I also place AppsFlyerLib.getInstance().performOnDeepLinking(intent, context) in onNewIntent that it does resolve the issue but there are concerns that this is not what we should be doing and could have negative side effects.
My question then is should the attribution listener work when the app is open and if not then what is the appropriate way to deal with this issue?

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