-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature Request: Raise an event once at attribution is fetched at the native layers. #56
Comments
Hey @markgibaud-vtail thanks for raising this! The blocker for us currently is migrating the SDK initialization logic ( Now, since attribution can happen quite quickly after initialization, we require Obviously, there are some assumptions we could and are revisiting here; do we need to initialize exactly in |
Hi @willpassidomo thanks for the reply and description! I imagined it wasn't straight forward. One option is checking out how
Not causing us any huge issues so far though, just a code convenience, so happy for this to go into the backlog until there are more requests around it! |
Tracking internally as ticket #76390. This is in the backlog, but as it's not high priority I can't give a reasonably accurate ETA at this time. We'll update this ticket when more information is available. |
Tracking internally as https://go.mparticle.com/work/SQDSDKS-2772 |
Not rocket science here, I suspect this is only not already done as a matter of time/resources! Hoping this request may help.
At the moment the
react-native-mparticle
only has a method to synchronously get attributions from the likes of Branch, Adjust , etc. This is obviously tricky as on one hand we don't want to call this too early, as in that case there will be no attribution to fetch and it will ultimately not be logged when/if it does arrive. However if we put this call later on in our onboarding flow, the user may quit the app before the attribution is recorded.In order to be able to log the attribution as soon as it is available, it would be great to have the
onAttributionComplete
callbacks at the native layer raise an event on the JS layer, that we can subscribe to, and deliver the necessary payload with attribution data.The text was updated successfully, but these errors were encountered: