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

enableSegmentIntegration() is deprecated! #2

Open
rodrigocoliveira opened this issue Jan 22, 2021 · 3 comments
Open

enableSegmentIntegration() is deprecated! #2

rodrigocoliveira opened this issue Jan 22, 2021 · 3 comments

Comments

@rodrigocoliveira
Copy link

Hello @umangmoe

I am receiving an error saying that the enableSegmentIntegration() is deprecated and I need to use enablePartnerIntegration(IntegrationPartner) instead.

But I can't understand what is this IntegrationPartner instance and how should I configure it. I am currently trying to integrate Segment with the android moengage SDK (iOS works perfectly).

Thank you

@umangmoe
Copy link
Collaborator

Hello @rodrigocoliveira

Would request you to follow https://docs.moengage.com/docs/android-integration for integrating the SDK. I am guessing you have added com.moengage:moe-android-sdk:11.0.02 as a dependency in your application along with com.moengage:moengage-segment-integration:4.3.00 which isn't required.

Currently, 4.3.00 and 11.0.02 are not compatible and we are working on releasing support for version 11.0.02 and above, which should be available by end of next week. We will add details around enablePartnerIntegration(IntegrationPartner) in the documentation once we release support for 11.0.02 and above.

Thanks

@rodrigocoliveira
Copy link
Author

Perfect... that is exactly what I am doing com.moengage:moe-android-sdk:11.0.02 as a dependency in your application along with com.moengage:moengage-segment-integration:4.3.00 ...

But what do you mean with "it isn't required. Is it possible to not add moengage-segment-integration and connect MoEngage and Segment?

I am following here to update for the next release.

Thank you very much

@umangmoe
Copy link
Collaborator

When you add com.moengage:moengage-segment-integration:4.3.00 to your application it pulls the required and compatible version of moe-android-sdk since moe-android-sdk is added as a transitive dependency to the moengage-segment-integration and you need not explicitly add the dependency.

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

2 participants