Closed oscb closed 2 months ago
BREAKING CHANGE: @segment/sovran-react-native is now deprecated. Remove from your dependencies. All functionality is now rolled in the core package.
Required changes:
Remove @segment/sovran-react-native from your dependencies.
@segment/sovran-react-native
iOS: If you are using trackDeeplinks or setAnonymousId from native you'll need to update the imports to
trackDeeplinks
setAnonymousId
- #import <segment_analytics_react_native-Swift.h> + #import "SegmentAnalyticsReactNative-Swift.h"
Overall looks good, had a few minor comments. Also wondering, do we still need to mock Sovran here: https://github.com/segmentio/analytics-react-native/blob/7160d3d669502b390e9d6712c7db39b30c410e91/packages/shared/__mocks__/react-native.ts#L36-L40
Overall looks good, had a few minor comments.
Also wondering, do we still need to mock Sovran here:
https://github.com/segmentio/analytics-react-native/blob/7160d3d669502b390e9d6712c7db39b30c410e91/packages/shared/__mocks__/react-native.ts#L36-L40
No need for that anymore. It's part of the methods that I removed altogether
BREAKING CHANGE: @segment/sovran-react-native is now deprecated. Remove from your dependencies. All functionality is now rolled in the core package.
Required changes:
Remove
@segment/sovran-react-native
from your dependencies.iOS: If you are using
trackDeeplinks
orsetAnonymousId
from native you'll need to update the imports to