Skip to content
This repository was archived by the owner on Jun 27, 2023. It is now read-only.

Commit 727de66

Browse files
caroaguilarfathyb
authored andcommitted
chore(docs): swap config comments to match their respective config option (segmentio#26)
The comments for the `recordScreenViews` and `trackAppLifecycleEvents` were swapped. I just re-ordered the comments so they can match the correct property.
1 parent 3b28fb8 commit 727de66

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

packages/core/src/analytics.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,17 +9,17 @@ export module Analytics {
99

1010
export interface Configuration {
1111
/**
12-
* Whether the analytics client should automatically track application lifecycle events, such as
13-
* "Application Installed", "Application Updated" and "Application Opened".
12+
* Whether the analytics client should automatically make a screen call when a
13+
* view controller is added to a view hierarchy.
14+
* Because the iOS underlying implementation uses method swizzling,
15+
* we recommend initializing the analytics client as early as possible.
1416
*
1517
* Disabled by default.
1618
*/
1719
recordScreenViews?: boolean
1820
/**
19-
* Whether the analytics client should automatically make a screen call when a
20-
* view controller is added to a view hierarchy.
21-
* Because the iOS underlying implementation uses method swizzling,
22-
* we recommend initializing the analytics client as early as possible.
21+
* Whether the analytics client should automatically track application lifecycle events, such as
22+
* "Application Installed", "Application Updated" and "Application Opened".
2323
*
2424
* Disabled by default.
2525
*/

0 commit comments

Comments
 (0)