docs(ios): correct iOS autocapture defaults#16482
Open
singhvishalkr wants to merge 1 commit intoPostHog:masterfrom
Open
docs(ios): correct iOS autocapture defaults#16482singhvishalkr wants to merge 1 commit intoPostHog:masterfrom
singhvishalkr wants to merge 1 commit intoPostHog:masterfrom
Conversation
The previous iOS autocapture section stated screen navigation was not enabled by default and showed an example in which captureApplicationLifecycleEvents was commented as 'Disabled by default.' Both claims contradict the posthog-ios SDK: captureScreenViews and captureApplicationLifecycleEvents default to true, while captureElementInteractions (iOS / Mac Catalyst only) defaults to false. - Flip the sentence to say screen navigation autocapture is enabled by default. - Add a Default column to the options table and include the previously undocumented captureElementInteractions option. - Rework the Swift example to show how to disable the defaults while enabling element interactions, with correct inline comments.
d4021c3 to
13807f6
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
Closes #16182.
The iOS autocapture section of /docs/product-analytics/autocapture is wrong in two ways:
config.captureApplicationLifecycleEvents = trueas "Disabled by default."Both contradict the
posthog-iosSDK defaults:Changes
captureElementInteractionsoption (iOS / Mac Catalyst only, defaultfalse).Preview
Before:
After: