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

fix(adjust-plugin): update for compatibility with Adjust SDK v5 #1048

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

danieloquelis
Copy link

Fix Adjust Plugin Compatibility with Adjust React Native SDK v5

Summary
Adjust released v5 of its [React Native SDK](https://github.com/adjust/react_native_sdk), introducing some breaking changes. The Adjust team has provided a [migration guide](https://dev.adjust.com/en/sdk/migration/react-native/v4-to-v5) detailing these changes.

Currently, these breaking changes cause the analytics-react-native Adjust plugin to fail, as reported in [issue #1036](#1036).

This PR updates the Adjust plugin to be compatible with Adjust React Native SDK v5 while ensuring continued functionality.

Changes

  • Refactored the Adjust integration to align with Adjust v5 API changes.
  • Updated method calls, event handling, and initialization flow to match the new SDK requirements.
  • Ensured backward compatibility where feasible.
  • Added necessary adjustments to maintain proper tracking and attribution behavior.

Testing

  • Verified that the plugin correctly initializes and communicates with Adjust.
  • Ensured events are tracked as expected.
  • Checked for regressions in existing functionality.

Notes
This update is necessary for users who want to upgrade to Adjust SDK v5 while continuing to use analytics-react-native.

Fixes #1036.

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.

analytics-react-native-plugin-adjust not compatible with react-native-adjust v5
1 participant