fix: observability instance already exists#121
Merged
mario-launchdarkly merged 2 commits intomainfrom Jan 15, 2026
Merged
Conversation
abelonogov-ld
approved these changes
Jan 15, 2026
abelonogov-ld
pushed a commit
that referenced
this pull request
Jan 16, 2026
🤖 I have created a release *beep* *boop* --- ## [0.17.0](0.16.0...0.17.0) (2026-01-16) ### Features * Add diagnostic of service version starting ([#119](#119)) ([8264275](8264275)) * Event queue early stop in buffer overflow ([#118](#118)) ([4be2201](4be2201)) * SR manual start/stop ([#124](#124)) ([c4e1afb](c4e1afb)) ### Bug Fixes * crash reporting with kscrash not captured ([#122](#122)) ([88e97f9](88e97f9)) * observability instance already exists ([#121](#121)) ([8a03120](8a03120)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). <!-- CURSOR_SUMMARY --> --- > [!NOTE] > **Release 0.17.0** > > - Adds diagnostic of service version at start, event queue early stop on buffer overflow, and Session Replay manual start/stop > - Fixes KSCrash reports not captured and "observability instance already exists" error > - Bumps version to `0.17.0` in `CHANGELOG.md`, `.release-please-manifest.json`, podspecs, and `Sources/LaunchDarklyObservability/Version.swift` > > <sup>Written by [Cursor Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit d5a714b. This will update automatically on new commits. Configure [here](https://cursor.com/dashboard?tab=bugbot).</sup> <!-- /CURSOR_SUMMARY -->
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Note
Prevents multiple runtime initializations of Observability and enables identity checks for safe setup.
Observeclass-bound by addingAnyObjectto allow===identity checksObservabilityClientFactory.noOpto a static singleton and use it as the default inLDObserveObservability.registerto compareLDObserve.shared.client === ObservabilityClientFactory.noOpand throwPluginError.observabilityInstanceAlreadyExistif already initializedPluginErrorwith user-facing error descriptionWritten by Cursor Bugbot for commit d0991f3. This will update automatically on new commits. Configure here.