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
Fix: Ensure ClearDefaultEventParameters is wrapped for internal SDK use
Corrects an issue in `analytics/src/swig/analytics.i` that caused a build failure (CS0117) because `FirebaseAnalyticsInternal.ClearDefaultEventParameters` was not being generated.
The problem was that `%ignore firebase::analytics::ClearDefaultEventParameters;` was preventing SWIG from wrapping this function, even though it was later declared in `analytics.i` with the intent to be wrapped for internal C# SDK use.
This commit removes the overly broad `%ignore` for `ClearDefaultEventParameters`. The function is now correctly wrapped by SWIG due to its explicit declaration in the SWIG interface file, making it available as `FirebaseAnalyticsInternal.ClearDefaultEventParameters()`. This allows `FirebaseAnalytics.SetDefaultParameters(null)` to call it as intended, without exposing `ClearDefaultEventParameters` as a new public API on `FirebaseAnalytics` itself.
0 commit comments