Skip to content

Commit 21344c5

Browse files
committed
Deprecate setMinimumSessionInterval
1 parent fa2aa4f commit 21344c5

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Firebase/Core/Public/FIRAnalyticsConfiguration.h

+4-1
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)