You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Call Bugsnag.start()
Call Bugsnag.addFeatureFlag(...)
Call Bugsnag.featureFlags(). It should return flags that were previously set, but instead returns nil
This was the test that we have which caught this:
func testGetFeatureFlagsInternalApiAccessor(){letbugsnag=BugsnagWrapper()// Simple shim to Bugsnag
bugsnag.start(onSendError:{ _ in true })
bugsnag.addFeatureFlag(key:"testKey", value:"testValue")XCTAssertEqual(bugsnag.featureFlags(),[BugsnagFeatureFlag(name:"testKey", variant:"testValue")])}
The text was updated successfully, but these errors were encountered:
Bugsnag.featureFlags()
consistently returnsnil
, even after callingBugsnag.start()
andBugsnag.addFeatureFlag(...)
.This appeared when upgrading from 6.22.1 to 6.23.1. I noticed that #1481 heavily modified this codepath.
Environment
Current configuration:
Steps
Call
Bugsnag.start()
Call
Bugsnag.addFeatureFlag(...)
Call
Bugsnag.featureFlags()
. It should return flags that were previously set, but instead returnsnil
This was the test that we have which caught this:
The text was updated successfully, but these errors were encountered: