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

refactor: merge sovran into core lib #924

Merged
merged 1 commit into from
Apr 2, 2024
Merged

refactor: merge sovran into core lib #924

merged 1 commit into from
Apr 2, 2024

Conversation

oscb
Copy link
Contributor

@oscb oscb commented Feb 27, 2024

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

- #import <segment_analytics_react_native-Swift.h>
+ #import "SegmentAnalyticsReactNative-Swift.h"

@oscb oscb changed the base branch from master to beta March 22, 2024 21:46
examples/README.md Outdated Show resolved Hide resolved
Copy link

@chrisradek chrisradek left a 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:

Sovran: {
getConstants: () => ({
ON_STORE_ACTION: 'ON_STORE_ACTION',
}),
},

@oscb
Copy link
Contributor Author

oscb commented Apr 1, 2024

Overall looks good, had a few minor comments.

Also wondering, do we still need to mock Sovran here:

Sovran: {
getConstants: () => ({
ON_STORE_ACTION: 'ON_STORE_ACTION',
}),
},

No need for that anymore. It's part of the methods that I removed altogether

@oscb oscb requested a review from chrisradek April 1, 2024 22:59
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
@oscb oscb merged commit 5d2c217 into beta Apr 2, 2024
7 checks passed
@oscb oscb deleted the removeSovran branch April 2, 2024 16:30
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.

2 participants