Summary
The _experiments.androidProfilingOptions option was deprecated in favor of _experiments.profilingOptions in #5611 (2026-02). Its JSDoc already states it "will be removed in the next major version." Fallback code currently resolves profilingOptions ?? androidProfilingOptions for backwards compatibility.
Per the SDK Deprecation Lifecycle Standard, this should be removed in the next major (v9).
Action for v9
packages/core/src/js/options.ts (~line 499): remove the androidProfilingOptions type definition from the _experiments block.
packages/core/src/js/client.ts (~line 255): drop the ?? this._options._experiments?.androidProfilingOptions fallback.
packages/core/src/js/wrapper.ts (~lines 67, 309, 316-317): remove the androidProfilingOptions parameter and the profilingOptions ?? androidProfilingOptions compat resolution.
- Update/adjust any related tests.
References
Summary
The
_experiments.androidProfilingOptionsoption was deprecated in favor of_experiments.profilingOptionsin #5611 (2026-02). Its JSDoc already states it "will be removed in the next major version." Fallback code currently resolvesprofilingOptions ?? androidProfilingOptionsfor backwards compatibility.Per the SDK Deprecation Lifecycle Standard, this should be removed in the next major (v9).
Action for v9
packages/core/src/js/options.ts(~line 499): remove theandroidProfilingOptionstype definition from the_experimentsblock.packages/core/src/js/client.ts(~line 255): drop the?? this._options._experiments?.androidProfilingOptionsfallback.packages/core/src/js/wrapper.ts(~lines 67, 309, 316-317): remove theandroidProfilingOptionsparameter and theprofilingOptions ?? androidProfilingOptionscompat resolution.References
iOS UI Profiling)_experiments.profilingOptions_experimentsreplay options compat shim in v9 #5882