-
Notifications
You must be signed in to change notification settings - Fork 71
feat: direct routing by default #508
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
base: workstation/9.0-Release
Are you sure you want to change the base?
feat: direct routing by default #508
Conversation
- need to move MPEndpoint and MPDatabaseTable enums to their own files - need to remove MPListenerProtocol from headers
- MPListener stubs become uncalled and unused upon deletion of the MPListenerController class - substituted for a time based wait
MIGRATING.md
Outdated
|
|
||
| ### Direct Routing Enabled by Default | ||
|
|
||
| The SDK now always uses region-specific API endpoints. Previously, this behavior was controlled by a server-side feature flag (`enableDirectRouting`). |
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.
This flag was never set to true, and it's not something we need to publicize given a developer never knew about this server side setting. I'd instead point out that if they have any network security policies, that they'll need to whitelist the new URL that you shared below in What has changed that you share below. I'm not sure about the specifics about iOS, but here's a summary that i plugged into AI to see if there was a comparable thing on IOS since web has such feature.
Background
enableDirectRoutingcontrolled by server-side remote config to determine whether to use region-specific API endpoints. This change removes the feature flag and makes direct routing the default behavior.What Has Changed
enableDirectRoutingproperty fromMPStateMachinedur(direct URL routing) keySDK now always routes to region-specific endpoints (e.g.,
nativesdks.us1.mparticle.cominstead ofnativesdks.mparticle.com)Checklist
Additional Notes
Reference Issue (For employees only. Ignore if you are an outside contributor)