Skip to content

Commit 05e055d

Browse files
committed
Add a deprecated ParameterGroupId
1 parent 21ff551 commit 05e055d

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

analytics/src/FirebaseAnalytics.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -292,6 +292,10 @@ public static void SetUserId(string userId) {
292292
public static void SetUserProperty(string name, string property) {
293293
FirebaseAnalyticsInternal.SetUserProperty(name, property);
294294
}
295+
296+
/// @deprecated Use ParameterGroupID instead
297+
[System.Obsolete("Use ParameterGroupID instead.")]
298+
public static string ParameterGroupId { get { return ParameterGroupID; } }
295299
}
296300

297301
}

docs/readme.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,8 @@ Release Notes
7474
### Upcoming
7575
- Changes
7676
- Analytics: Renamed ParameterGroupId to ParameterGroupID, to be
77-
consistent with other similarly named variables.
77+
consistent with other similarly named variables. ParameterGroupId
78+
is considered deprecated, and will be removed in the future.
7879
- Analytics: Deprecated the Dispose functions, as they are no longer
7980
necessary for cleaning up memory.
8081

0 commit comments

Comments
 (0)