Skip to content
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

Do destination plugins require settings to work? #1042

Closed
benhandanyan opened this issue Jan 15, 2025 · 1 comment
Closed

Do destination plugins require settings to work? #1042

benhandanyan opened this issue Jan 15, 2025 · 1 comment

Comments

@benhandanyan
Copy link

Relevant code that checks for settings:
https://github.com/segmentio/analytics-react-native/blob/master/packages/core/src/plugin.ts#L119-L130

Most documentation suggests adding plugins like this (using Firebase destination plugin as the example):

segmentClient.add({ plugin: new FirebasePlugin() });

But, from some of my testing it seems that I need something like this instead for it to work:

segmentClient.add({ plugin: new FirebasePlugin(), settings: true });

Am I missing something?

@benhandanyan
Copy link
Author

Oops, looks like i missued a duplicate issue: #717

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

No branches or pull requests

1 participant