Skip to content

Commit 83b5683

Browse files
allenktvryanwilson
authored andcommitted
Deprecate setMinimumSessionInterval (#2305)
1 parent 0f32878 commit 83b5683

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Firebase/Core/Public/FIRAnalyticsConfiguration.h

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,13 @@ NS_SWIFT_NAME(AnalyticsConfiguration)
3030
+ (FIRAnalyticsConfiguration *)sharedInstance NS_SWIFT_NAME(shared());
3131

3232
/**
33+
* Deprecated.
3334
* Sets the minimum engagement time in seconds required to start a new session. The default value
3435
* is 10 seconds.
3536
*/
36-
- (void)setMinimumSessionInterval:(NSTimeInterval)minimumSessionInterval;
37+
- (void)setMinimumSessionInterval:(NSTimeInterval)minimumSessionInterval
38+
DEPRECATED_MSG_ATTRIBUTE(
39+
"Sessions are started immediately. More information at https://bit.ly/2FU46av");
3740

3841
/**
3942
* Sets the interval of inactivity in seconds that terminates the current session. The default

0 commit comments

Comments
 (0)