Skip to content

feat: add callbacks to appsflyer plugin#1053

Merged
alanjcharles merged 1 commit intosegmentio:masterfrom
lennartschoch:add-callbacks-to-appsflyer-plugin
May 19, 2025
Merged

feat: add callbacks to appsflyer plugin#1053
alanjcharles merged 1 commit intosegmentio:masterfrom
lennartschoch:add-callbacks-to-appsflyer-plugin

Conversation

@lennartschoch
Copy link
Contributor

This PR passes the three callbacks used in the appsflyer plugin out of the plugin as props.
Appsflyer docs mention that the onDeepLink callback must be configured before initializing the SDK and as far as my testing goes, the callback cannot be defined more than once per SDK instance.

By adding props for the used callbacks, it's possible to use the callback logic used by the plugin and still specify custom deep link handlers.

Let me know if I'm missing something or if there is a better or easier way to solve this!

Copy link
Contributor

@alanjcharles alanjcharles left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks again!

@alanjcharles alanjcharles merged commit 7e7fda1 into segmentio:master May 19, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants