Skip to content

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

Closed
danieloquelis wants to merge 1 commit intosegmentio:masterfrom
danieloquelis:fix/adjust-plugin
Closed

fix(adjust-plugin): update for compatibility with Adjust SDK v5#1048
danieloquelis wants to merge 1 commit intosegmentio:masterfrom
danieloquelis:fix/adjust-plugin

Conversation

@danieloquelis
Copy link
Copy Markdown

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.

@sunitaprajapati89
Copy link
Copy Markdown
Contributor

Already done here

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

2 participants