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

Add DefaultProjectSettings in Analytics.Builder #662

Merged
merged 15 commits into from
May 21, 2020
Merged

Conversation

prayansh
Copy link
Contributor

@prayansh prayansh commented May 21, 2020

##Summary
This change introduces a new Analytics.Builder option to include default project settings in case Segment.com cannot be reached (preventing fetching project settings from Segment).

How to use

goto https://cdn-settings.segment.com/v1/projects/YOUR_WRITE_KEY/settings and create a ValueMap of the JSON and set it as the default using builder.defaultProjectSettings(valueMap). Sample available here

@prayansh prayansh merged commit ddddd43 into master May 21, 2020
@prayansh prayansh deleted the levi-project-settings branch June 1, 2020 19:03
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