-
Notifications
You must be signed in to change notification settings - Fork 195
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
refactor: merge sovran into core lib #924
Conversation
examples/E2E-73/android/app/src/main/java/com/analyticsreactnativee2e73/MainApplication.kt
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall looks good, had a few minor comments.
Also wondering, do we still need to mock Sovran here:
analytics-react-native/packages/shared/__mocks__/react-native.ts
Lines 36 to 40 in 7160d3d
Sovran: { | |
getConstants: () => ({ | |
ON_STORE_ACTION: 'ON_STORE_ACTION', | |
}), | |
}, |
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` or `setAnonymousId` from native you'll need to update the imports to ```diff - #import <segment_analytics_react_native-Swift.h> + #import "SegmentAnalyticsReactNative-Swift.h" ``` fix: remove test logs fix: remove sovran as dependency on all plugins fix: pr fixes fix: remove buildjson
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