-
Notifications
You must be signed in to change notification settings - Fork 197
Closed
Labels
Description
Hello! This is both a bug report and feature request to support react-native-adjust
v5, which was released about 3 months ago. It seems that the latest version of @segment/analytics-react-native-plugin-adjust
(v0.7.0) is not compatible with the api changes that were made in react-native-adjust
v5, causing the Segment client to fail to initialise altogether.
analytics-react-native
version: 2.20.3- Integrations versions (if used):
- React Native version: 0.72.15
- iOS or Android or both? both
Steps to reproduce
- run
yarn add @segment/analytics-react-native-plugin-adjust react-native-adjust
as in the segment installation instructions - try to run your app after executing the rest of the segment installation instructions
Expected behavior
No errors
Actual behavior
The segment client fails to initialise with the error
'An internal error occurred: ', { [Error: Client did not initialize correctly]
type: 8,
innerError: [TypeError: adjustConfig.setAttributionCallbackListener is not a function (it is undefined)] }
leopic and tiagodwsjeanregisser and christopherPiero