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

[PLAT-7591] Feature flags #1227

Merged
merged 11 commits into from
Dec 21, 2021

Conversation

nickdowell
Copy link
Contributor

Goal

Implements feature flags - a formal way to express which optional features / experiments have been enabled in an app session.

Design

Follows the Engineering Design.

Changeset

  • Adds the BugsnagFeatureFlag class and BugsnagFeatureFlagStore protocol.
  • BSGFeatureFlagStore.m implements the basic manipulation and serialization of feature flags.
  • BugsnagClient persists feature flags using the existing "state" metadata mechanism (also used to persist app, context and user info.)

Testing

Covered by new unit tests and amended E2E scenarios.

@github-actions
Copy link

github-actions bot commented Nov 15, 2021

Infer: No issues found 🎉

OCLint: No issues found 🎉

Bugsnag.framework binary size increased by 45,256 bytes from 1,255,256 to 1,300,512

Generated by 🚫 Danger

@kstenerud kstenerud self-requested a review November 16, 2021 13:57
@nickdowell nickdowell changed the base branch from next to integration/feature-flags December 20, 2021 15:36
@nickdowell nickdowell merged commit ec60639 into integration/feature-flags Dec 21, 2021
@nickdowell nickdowell deleted the nickdowell/feature-flags branch December 21, 2021 10:26
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.

4 participants