Skip to content

docs(android): 3.x to 4.0 upgrade guide - #21808

Draft
turnipdabeets wants to merge 7 commits into
masterfrom
docs/android-4-upgrade-guide
Draft

turnipdabeets wants to merge 7 commits into
masterfrom
docs/android-4-upgrade-guide

Conversation

@turnipdabeets

@turnipdabeets turnipdabeets commented Oct 31, 2026 •

Copy link
Copy Markdown
Contributor

Important

Hold until posthog-android 4.0 is released. Depends on PostHog/posthog-android#871 (integration PR), including its child PostHog/posthog-android#881 (capture v1), which is still open. PostHog/posthog-android#908 (wireframe removal) is merged into it. This page links /docs/libraries/capture-v1, which #21386 adds, so that merges first. Replay docs stay in #21741 and PostHog/posthog#125537.

Changes

Docs for upgrading posthog-android from 3.x to 4.0, plus the pages 4.0 makes wrong.

  • libraries/android/index.mdx: new "Upgrading from version 3 to version 4" section, following the Flutter 6 guide in docs(flutter): version 6 upgrade guide #20924: requirements, removed APIs, feature flag callbacks, and behavior changes that don't fail the build. It links the SDK migration guide for full detail, the same file docs(libraries): add the capture v1 SDK upgrade guide #21386 links. Capture v1 and replay get a short summary and a link, so docs(libraries): add the capture v1 SDK upgrade guide #21386 and docs(replay): screenshot-only mobile replay for Android and iOS 4.0 #21741 stay the source. The removed APIs table lists PostHogConfig.onFeatureFlags and the defaultValue argument of getFeatureFlag(), and a behavior change covers getFeatureFlag("flag-key", true), which still compiles but now sets sendFeatureFlagEvent. Also renames maxRetries in the options sample and table, drops the onFeatureFlags config row, and updates the evaluationContexts row.
    • The upgrade section also covers: wrapper SDKs (React Native, Flutter, KMP) upgrading through their own package; internal helpers no longer being public; an event options and captureAi example; and behavior bullets for $locale and $app_language, Jetpack Compose now being recorded, Compose masking, super properties winning over SDK values, and dropped or replaced values (empty event names, $-prefixed deep link parameters, a uuid set in beforeSend). The replay bullet links /docs/session-replay/privacy.
    • Config table: adds compression, notes the ~5 MiB per-request cap on maxBatchSize, and drops the removed drawable conversion from sessionReplayConfig. The captureAi* rows and the AI events section are in docs: document captureAi for iOS, Android and Flutter #21963, so they're not repeated here.
  • feature-flags-code-android.mdx: PostHog.onFeatureFlags() before setup() instead of the removed config option, with a note for 3.x readers. feature-flags/adding-feature-flag-code.mdx imports this snippet too, which is why this PR waits for 4.0.
  • install-android.mdx and the android-* tutorials: posthog-android:4.+.
  • Every PostHogAndroidConfig(apiKey = …): now projectToken, which is a compile error otherwise. Only Android snippets are changed on multi-language pages.
  • tutorials/android-session-replay.md: drops sessionReplayConfig.screenshot = true, removed in 4.0.
  • evaluation-contexts.mdx: notes that the legacy evaluationEnvironments option was removed in 4.0.0, for both Android and iOS. The iOS row is here rather than in docs(ios): add the 3.x to 4.0 upgrade guide #21807 because the two rows are adjacent and would conflict, so the PRs merge cleanly in either order.
  • product-analytics/installation/android.eval.yaml: the install rubric requires projectToken instead of apiKey.

Not changed:

  • posthog-server: its API is unchanged, so no server page needs an update.
  • session-replay/_snippets/android-installation.mdx: still has apiKey, but nothing imports it.
  • libraries/kmp/index.mdx: lists debouncerDelayMs as a posthog-kmp option; that's KMP's own API.

Monorepo onboarding: PostHog/posthog#129665 moves the Android onboarding and push setup snippets to projectToken and posthog-android:4.+. PostHog/posthog#125537 covers the replay onboarding's screenshot text.

Checklist

  • I've read the docs and/or content style guides.
  • Words are spelled using American English
  • Use relative URLs for internal links
  • I've checked the pages added or changed in the Vercel preview build
  • If I moved a page, I added a redirect in vercel.json (no pages moved)

Vale ran on the changed files. On changed lines it reports only product-name capitalization warnings and terms inside code, in line with the rest of these pages. Not rendered locally, and the snippets aren't compiled.

🤖 Agent context

Autonomy: Human-driven (agent-assisted)

Written with Claude Code (Opus 5.5) at the maintainer's request, checked against the posthog-android 4.0 branch and the open PRs' diffs.

🤖 Generated with Claude Code

@github-actions github-actions Bot added docs Improvements or additions to product documentation, "Docs" content PR only touches files under contents/ labels Oct 31, 2026
@github-actions

github-actions Bot commented Oct 31, 2026 •

Copy link
Copy Markdown
Contributor

Deploy preview

Status Details Updated (UTC)
🟢 Ready View preview Nov 04, 2026 11:00PM

Changed pages

Page Source
Capture exceptions for error tracking contents/docs/error-tracking/capture.mdx
Bootstrap Feature Flags contents/docs/feature-flags/bootstrapping.mdx
Cutting feature flag costs contents/docs/feature-flags/cutting-costs.mdx
Evaluation contexts contents/docs/feature-flags/evaluation-contexts.mdx
Android contents/docs/libraries/android/index.mdx
Bootstrapping PostHog SDKs contents/docs/libraries/bootstrapping.mdx
Android Logs installation contents/docs/logs/installation/android.mdx
Android push notifications contents/docs/workflows/push-notifications/android.mdx
How to run A/B tests in Android contents/tutorials/android-ab-tests.md
How to set up analytics in Android contents/tutorials/android-analytics.md
How to set up feature flags in Android contents/tutorials/android-feature-flags.md
How to set up Android remote config contents/tutorials/android-remote-config.md
How to set up Android session replay contents/tutorials/android-session-replay.md

@github-actions

github-actions Bot commented Oct 31, 2026 •

Copy link
Copy Markdown
Contributor

Vale prose linter → found 3 errors, 140 warnings, 11 suggestions in your markdown

Full report → Copy the linter results into an LLM to batch-fix issues.

Linter being weird? Update the rules!

contents/docs/error-tracking/capture.mdx — 0 errors, 5 warnings, 1 suggestions
Line Severity Message Rule
19:49 suggestion Address the reader directly. Use 'you' instead of 'the user'. PostHogDocs.DirectAddress
31:46 warning Capitalize 'Error Tracking' for PostHog's product. Use 'error tracking' for the general industry concept. PostHogBase.ProductNames
327:28 warning Capitalize 'Error Tracking' for PostHog's product. Use 'error tracking' for the general industry concept. PostHogBase.ProductNames
346:428 warning Capitalize 'Data Warehouse' for PostHog's product. Use 'data warehouse' for the general industry concept. PostHogBase.ProductNames
583:33 warning Capitalize 'Error Tracking' for PostHog's product. Use 'error tracking' for the general industry concept. PostHogBase.ProductNames
599:101 warning 'runtime's' is a possible misspelling. PostHogBase.Spelling
contents/docs/feature-flags/bootstrapping.mdx — 0 errors, 2 warnings, 0 suggestions
Line Severity Message Rule
184:21 warning Capitalize 'Feature Flags' for PostHog's product. Use 'feature flags' for the general industry concept. PostHogBase.ProductNames
185:47 warning Capitalize 'Feature Flags' for PostHog's product. Use 'feature flags' for the general industry concept. PostHogBase.ProductNames
contents/docs/feature-flags/cutting-costs.mdx — 0 errors, 23 warnings, 0 suggestions
Line Severity Message Rule
21:1 warning Capitalize 'Feature Flags' for PostHog's product. Use 'Feature flags' for the general industry concept. PostHogBase.ProductNames
21:102 warning Capitalize 'Feature Flags' for PostHog's product. Use 'feature flags' for the general industry concept. PostHogBase.ProductNames
23:30 warning Capitalize 'Feature Flags' for PostHog's product. Use 'feature flags' for the general industry concept. PostHogBase.ProductNames
26:63 warning Capitalize 'Feature Flags' for PostHog's product. Use 'feature flags' for the general industry concept. PostHogBase.ProductNames
37:1 warning Capitalize 'Feature Flags' for PostHog's product. Use 'Feature flags' for the general industry concept. PostHogBase.ProductNames
61:127 warning Capitalize 'Feature Flags' for PostHog's product. Use 'feature flags' for the general industry concept. PostHogBase.ProductNames
65:118 warning Capitalize 'Feature Flags' for PostHog's product. Use 'feature flags' for the general industry concept. PostHogBase.ProductNames
67:96 warning Capitalize 'Feature Flags' for PostHog's product. Use 'feature flags' for the general industry concept. PostHogBase.ProductNames
69:99 warning Capitalize 'Feature Flags' for PostHog's product. Use 'feature flags' for the general industry concept. PostHogBase.ProductNames
69:195 warning Capitalize 'Surveys' for PostHog's product. Use 'surveys' for the general industry concept. PostHogBase.ProductNames
69:240 warning Capitalize 'Feature Flags' for PostHog's product. Use 'feature flags' for the general industry concept. PostHogBase.ProductNames
69:275 warning Capitalize 'Surveys' for PostHog's product. Use 'surveys' for the general industry concept. PostHogBase.ProductNames
75:17 warning Capitalize 'Feature Flags' for PostHog's product. Use 'feature flags' for the general industry concept. PostHogBase.ProductNames
75:95 warning Capitalize 'Surveys' for PostHog's product. Use 'surveys' for the general industry concept. PostHogBase.ProductNames
75:115 warning Capitalize 'Surveys' for PostHog's product. Use 'surveys' for the general industry concept. PostHogBase.ProductNames
92:36 warning 'ETags' is a possible misspelling. PostHogBase.Spelling
92:151 warning Use 'PostHog' instead of 'posthog'. Vale.Terms
104:107 warning Capitalize 'Feature Flags' for PostHog's product. Use 'feature flags' for the general industry concept. PostHogBase.ProductNames
256:214 warning Capitalize 'Feature Flags' for PostHog's product. Use 'feature flags' for the general industry concept. PostHogBase.ProductNames
256:229 warning Capitalize 'Session Replay' for PostHog's product. Use 'session replay' for the general industry concept. PostHogBase.ProductNames
256:249 warning Capitalize 'Surveys' for PostHog's product. Use 'surveys' for the general industry concept. PostHogBase.ProductNames
272:42 warning Capitalize 'Feature Flags' for PostHog's product. Use 'feature flags' for the general industry concept. PostHogBase.ProductNames
272:69 warning Capitalize 'Surveys' for PostHog's product. Use 'surveys' for the general industry concept. PostHogBase.ProductNames
contents/docs/feature-flags/evaluation-contexts.mdx — 0 errors, 10 warnings, 0 suggestions
Line Severity Message Rule
13:75 warning Capitalize 'Feature Flags' for PostHog's product. Use 'feature flags' for the general industry concept. PostHogBase.ProductNames
28:9 warning Capitalize 'Feature Flags' for PostHog's product. Use 'feature flags' for the general industry concept. PostHogBase.ProductNames
42:69 warning Capitalize 'Feature Flags' for PostHog's product. Use 'feature flags' for the general industry concept. PostHogBase.ProductNames
43:21 warning Don't put a comma after 'e.g.,'. Write 'i.e.' or 'e.g.' with no comma after it. PostHogBase.LatinAbbreviationComma
44:13 warning Don't put a comma after 'e.g.,'. Write 'i.e.' or 'e.g.' with no comma after it. PostHogBase.LatinAbbreviationComma
44:37 warning Use 'API' instead of 'api'. Vale.Terms
45:17 warning Don't put a comma after 'e.g.,'. Write 'i.e.' or 'e.g.' with no comma after it. PostHogBase.LatinAbbreviationComma
60:64 warning Don't put a comma after 'e.g.,'. Write 'i.e.' or 'e.g.' with no comma after it. PostHogBase.LatinAbbreviationComma
161:237 warning Use the Oxford comma before 'and' or 'or' in a list of three or more items. PostHogBase.OxfordComma
167:16 warning Capitalize 'Feature Flags' for PostHog's product. Use 'feature flags' for the general industry concept. PostHogBase.ProductNames
contents/docs/integrate/_snippets/install-android.mdx — 0 errors, 2 warnings, 0 suggestions
Line Severity Message Rule
2:53 warning Avoid trivializing words. 'easily' can sound dismissive to the reader. PostHogDocs.Trivializers
4:1 warning Avoid trivializing words. 'All you need to do' can sound dismissive to the reader. PostHogDocs.Trivializers
contents/docs/integrate/feature-flags-code/_snippets/feature-flags-code-android.mdx — 0 errors, 10 warnings, 0 suggestions
Line Severity Message Rule
1:13 warning Capitalize 'Feature Flags' for PostHog's product. Use 'feature flags' for the general industry concept. PostHogBase.ProductNames
15:18 warning Capitalize 'Feature Flags' for PostHog's product. Use 'feature flags' for the general industry concept. PostHogBase.ProductNames
29:20 warning Capitalize 'Feature Flags' for PostHog's product. Use 'feature flags' for the general industry concept. PostHogBase.ProductNames
31:38 warning Capitalize 'Feature Flags' for PostHog's product. Use 'feature flags' for the general industry concept. PostHogBase.ProductNames
43:83 warning Capitalize 'Feature Flags' for PostHog's product. Use 'feature flags' for the general industry concept. PostHogBase.ProductNames
45:39 warning Capitalize 'Feature Flags' for PostHog's product. Use 'feature flags' for the general industry concept. PostHogBase.ProductNames
78:100 warning Capitalize 'Experiments' for PostHog's product. Use 'experiments' for the general industry concept. PostHogBase.ProductNames
80:89 warning Use 'X' instead of 'x'. Vale.Terms
82:15 warning Capitalize 'Feature Flags' for PostHog's product. Use 'feature flags' for the general industry concept. PostHogBase.ProductNames
84:91 warning 'refetch' is a possible misspelling. PostHogBase.Spelling
contents/docs/libraries/android/index.mdx — 0 errors, 52 warnings, 8 suggestions
Line Severity Message Rule
6:18 warning Use 'GitHub' instead of 'github'. Vale.Terms
6:37 warning Use 'PostHog' instead of 'posthog'. Vale.Terms
6:45 warning Use 'Android' instead of 'android'. Vale.Terms
115:163 suggestion Address the reader directly. Use 'you' instead of 'the user'. PostHogDocs.DirectAddress
115:201 suggestion Address the reader directly. Use 'you' instead of 'the user'. PostHogDocs.DirectAddress
130:106 suggestion Address the reader directly. Use 'you' instead of 'the user'. PostHogDocs.DirectAddress
159:49 suggestion Address the reader directly. Use 'you' instead of 'the user'. PostHogDocs.DirectAddress
161:66 suggestion Address the reader directly. Use 'you' instead of 'the User'. PostHogDocs.DirectAddress
161:131 suggestion Address the reader directly. Use 'you' instead of 'the User'. PostHogDocs.DirectAddress
163:5 warning 'Removing stored Super Properties' heading should be in sentence case, and product names should be capitalized. PostHogBase.SentenceCase
175:69 warning Avoid trivializing words. 'simply' can sound dismissive to the reader. PostHogDocs.Trivializers
243:10 suggestion Address the reader directly. Use 'you' instead of 'the user'. PostHogDocs.DirectAddress
243:94 suggestion Address the reader directly. Use 'you' instead of 'the user'. PostHogDocs.DirectAddress
243:103 warning Capitalize 'Logs' for PostHog's product. Use 'logs' for the general industry concept. PostHogBase.ProductNames
291:8 warning Capitalize 'Experiments' for PostHog's product. Use 'experiments' for the general industry concept. PostHogBase.ProductNames
291:55 warning Capitalize 'Feature Flags' for PostHog's product. Use 'feature flags' for the general industry concept. PostHogBase.ProductNames
291:128 warning Capitalize 'Feature Flags' for PostHog's product. Use 'feature flags' for the general industry concept. PostHogBase.ProductNames
301:28 warning Capitalize 'Experiments' for PostHog's product. Use 'experiments' for the general industry concept. PostHogBase.ProductNames
301:54 warning Capitalize 'Feature Flags' for PostHog's product. Use 'feature flags' for the general industry concept. PostHogBase.ProductNames
335:4 warning Capitalize 'Error Tracking' for PostHog's product. Use 'Error tracking' for the general industry concept. PostHogBase.ProductNames
335:4 warning 'Error tracking' heading should be in sentence case, and product names should be capitalized. PostHogBase.SentenceCase
337:11 warning Capitalize 'Error Tracking' for PostHog's product. Use 'error tracking' for the general industry concept. PostHogBase.ProductNames
337:52 warning Capitalize 'Error Tracking' for PostHog's product. Use 'error tracking' for the general industry concept. PostHogBase.ProductNames
341:12 warning Capitalize 'Logs' for PostHog's product. Use 'logs' for the general industry concept. PostHogBase.ProductNames
345:4 warning Capitalize 'Session Replay' for PostHog's product. Use 'Session replay' for the general industry concept. PostHogBase.ProductNames
345:4 warning 'Session replay' heading should be in sentence case, and product names should be capitalized. PostHogBase.SentenceCase
347:12 warning Capitalize 'Session Replay' for PostHog's product. Use 'session replay' for the general industry concept. PostHogBase.ProductNames
347:74 warning Avoid trivializing words. 'all you need to do' can sound dismissive to the reader. PostHogDocs.Trivializers
351:11 warning Capitalize 'Surveys' for PostHog's product. Use 'surveys' for the general industry concept. PostHogBase.ProductNames
364:62 warning Capitalize 'Feature Flags' for PostHog's product. Use 'feature flags' for the general industry concept. PostHogBase.ProductNames
364:93 warning Capitalize 'Surveys' for PostHog's product. Use 'surveys' for the general industry concept. PostHogBase.ProductNames
364:117 warning Capitalize 'Session Replay' for PostHog's product. Use 'session replay' for the general industry concept. PostHogBase.ProductNames
364:132 warning Capitalize 'Error Tracking' for PostHog's product. Use 'error tracking' for the general industry concept. PostHogBase.ProductNames
366:130 warning Capitalize 'Logs' for PostHog's product. Use 'logs' for the general industry concept. PostHogBase.ProductNames
426:43 warning Capitalize 'Logs' for PostHog's product. Use 'logs' for the general industry concept. PostHogBase.ProductNames
426:51 warning 'Logcat' is a possible misspelling. PostHogBase.Spelling
440:75 warning Capitalize 'Error Tracking' for PostHog's product. Use 'error tracking' for the general industry concept. PostHogBase.ProductNames
448:83 warning 'deduplicating' is a possible misspelling. PostHogBase.Spelling
449:44 warning Capitalize 'Feature Flags' for PostHog's product. Use 'feature flags' for the general industry concept. PostHogBase.ProductNames
450:69 warning Capitalize 'Feature Flags' for PostHog's product. Use 'feature flags' for the general industry concept. PostHogBase.ProductNames
456:39 warning Capitalize 'Session Replay' for PostHog's product. Use 'session replay' for the general industry concept. PostHogBase.ProductNames
457:101 warning 'Logcat' is a possible misspelling. PostHogBase.Spelling
458:56 warning Capitalize 'Logs' for PostHog's product. Use 'logs' for the general industry concept. PostHogBase.ProductNames
459:71 warning Capitalize 'Error Tracking' for PostHog's product. Use 'error tracking' for the general industry concept. PostHogBase.ProductNames
459:208 warning Capitalize 'Error Tracking' for PostHog's product. Use 'error tracking' for the general industry concept. PostHogBase.ProductNames
505:42 warning Use 'X' instead of 'x'. Vale.Terms
505:92 warning Capitalize 'Session Replay' for PostHog's product. Use 'session replay' for the general industry concept. PostHogBase.ProductNames
509:315 warning Use 'X' instead of 'x'. Vale.Terms
537:49 warning Use 'Android' instead of 'android'. Vale.Terms
571:245 warning Use 'X' instead of 'x'. Vale.Terms
599:5 warning Capitalize 'Session Replay' for PostHog's product. Use 'Session replay' for the general industry concept. PostHogBase.ProductNames
599:240 warning 'Jetpack' is a possible misspelling. PostHogBase.Spelling
602:263 warning Capitalize 'Session Replay' for PostHog's product. Use 'session replay' for the general industry concept. PostHogBase.ProductNames
603:231 warning Use 'UUID' instead of 'uuid'. Vale.Terms
603:284 warning Use 'UUID' instead of 'uuid'. Vale.Terms
606:119 warning Capitalize 'Session Replay' for PostHog's product. Use 'session replay' for the general industry concept. PostHogBase.ProductNames
606:135 warning Capitalize 'Surveys' for PostHog's product. Use 'surveys' for the general industry concept. PostHogBase.ProductNames
606:144 warning Capitalize 'Error Tracking' for PostHog's product. Use 'error tracking' for the general industry concept. PostHogBase.ProductNames
606:230 warning Capitalize 'Feature Flags' for PostHog's product. Use 'feature flags' for the general industry concept. PostHogBase.ProductNames
608:3 warning 'FAQ' heading should be in sentence case, and product names should be capitalized. PostHogBase.SentenceCase
contents/docs/logs/installation/android.mdx — 0 errors, 2 warnings, 0 suggestions
Line Severity Message Rule
2:13 warning Use 'ID' instead of 'id'. Vale.Terms
4:15 warning Use 'Android' instead of 'android'. Vale.Terms
contents/docs/product-analytics/_snippets/how-to-capture-anonymous-events-android.mdx — 3 errors, 0 warnings, 0 suggestions
Line Severity Message Rule
3:81 error Hi, Andy here... use an en dash ( – ) with spaces. On Mac, holding down the Option and hyphen key will give you an en dash. PostHogBase.EnDash
5:44 error Hi, Andy here... use an en dash ( – ) with spaces. On Mac, holding down the Option and hyphen key will give you an en dash. PostHogBase.EnDash
7:43 error Hi, Andy here... use an en dash ( – ) with spaces. On Mac, holding down the Option and hyphen key will give you an en dash. PostHogBase.EnDash
contents/docs/workflows/push-notifications/android.mdx — 0 errors, 5 warnings, 2 suggestions
Line Severity Message Rule
12:94 suggestion Address the reader directly. Use 'you' instead of 'the user'. PostHogDocs.DirectAddress
16:72 warning 'classpath' is a possible misspelling. PostHogBase.Spelling
48:37 warning 'unregisters' is a possible misspelling. PostHogBase.Spelling
48:127 warning Use 'ID' instead of 'id'. Vale.Terms
50:18 warning 'unregistration' is a possible misspelling. PostHogBase.Spelling
94:66 warning 'classpath' is a possible misspelling. PostHogBase.Spelling
95:102 suggestion Address the reader directly. Use 'you' instead of 'the user'. PostHogDocs.DirectAddress
contents/tutorials/android-ab-tests.md — 0 errors, 4 warnings, 0 suggestions
Line Severity Message Rule
13:205 warning 'Jetpack' is a possible misspelling. PostHogBase.Spelling
200:15 warning Use the Oxford comma before 'and' or 'or' in a list of three or more items. PostHogBase.OxfordComma
206:54 warning Capitalize 'Experiments' for PostHog's product. Use 'experiments' for the general industry concept. PostHogBase.ProductNames
267:18 warning Capitalize 'Feature Flags' for PostHog's product. Use 'feature flags' for the general industry concept. PostHogBase.ProductNames
contents/tutorials/android-analytics.md — 0 errors, 11 warnings, 0 suggestions
Line Severity Message Rule
12:88 warning Use 'PostHog' instead of 'posthog'. Vale.Terms
12:126 warning Use 'Android' instead of 'android'. Vale.Terms
13:87 warning Use 'PostHog' instead of 'posthog'. Vale.Terms
19:2 warning Capitalize 'Product Analytics' for PostHog's product. Use 'Product analytics' for the general industry concept. PostHogBase.ProductNames
58:17 warning 'sharedPreferences' is a possible misspelling. PostHogBase.Spelling
189:28 warning 'xml' is a possible misspelling. PostHogBase.Spelling
208:109 warning Use 'Gradle' instead of 'gradle'. Vale.Terms
225:8 warning Use 'Android' instead of 'android'. Vale.Terms
226:12 warning Use 'PostHog' instead of 'posthog'. Vale.Terms
231:17 warning 'const' is a possible misspelling. PostHogBase.Spelling
233:17 warning 'const' is a possible misspelling. PostHogBase.Spelling
contents/tutorials/android-feature-flags.md — 0 errors, 4 warnings, 0 suggestions
Line Severity Message Rule
2:22 warning Capitalize 'Feature Flags' for PostHog's product. Use 'feature flags' for the general industry concept. PostHogBase.ProductNames
16:2 warning Capitalize 'Feature Flags' for PostHog's product. Use 'Feature flags' for the general industry concept. PostHogBase.ProductNames
175:15 warning Use the Oxford comma before 'and' or 'or' in a list of three or more items. PostHogBase.OxfordComma
186:44 warning Capitalize 'Feature Flags' for PostHog's product. Use 'feature flags' for the general industry concept. PostHogBase.ProductNames
contents/tutorials/android-remote-config.md — 0 errors, 3 warnings, 0 suggestions
Line Severity Message Rule
12:127 warning 'Jetpack' is a possible misspelling. PostHogBase.Spelling
72:15 warning Capitalize 'Feature Flags' for PostHog's product. Use 'feature flags' for the general industry concept. PostHogBase.ProductNames
179:4 warning Capitalize 'Feature Flags' for PostHog's product. Use 'Feature flags' for the general industry concept. PostHogBase.ProductNames
contents/tutorials/android-session-replay.md — 0 errors, 7 warnings, 0 suggestions
Line Severity Message Rule
2:30 warning Capitalize 'Session Replay' for PostHog's product. Use 'session replay' for the general industry concept. PostHogBase.ProductNames
10:2 warning Capitalize 'Session Replay' for PostHog's product. Use 'Session replay' for the general industry concept. PostHogBase.ProductNames
173:11 warning Capitalize 'Session Replay' for PostHog's product. Use 'Session replay' for the general industry concept. PostHogBase.ProductNames
229:15 warning Use the Oxford comma before 'and' or 'or' in a list of three or more items. PostHogBase.OxfordComma
229:171 warning Capitalize 'Session Replay' for PostHog's product. Use 'session replay' for the general industry concept. PostHogBase.ProductNames
238:4 warning '3. (Optional) Mask sensitive data' heading should be in sentence case, and product names should be capitalized. PostHogBase.SentenceCase
266:18 warning Capitalize 'Feature Flags' for PostHog's product. Use 'feature flags' for the general industry concept. PostHogBase.ProductNames

@posthog posthog Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PostHog Review · Standard · reviewed 2559fe8: 2 Should fix.

This is the only automatic review while this pull request is a draft. Comment @posthog review to review new changes sooner. Otherwise, a review of the new changes runs when you mark it ready for review.

See this review and its findings in PostHog Review. Comment @posthog review --deep for a Deep review. A Deep review takes longer and looks deeper than a Standard review.

@github-actions

github-actions Bot commented Oct 31, 2026 •

Copy link
Copy Markdown
Contributor

Bundle report

Total JS (gzip)

11.71 MiB (+1214.8 KiB / +11.3%)

Largest changed named chunks
Chunk Gzip Δ vs master
app.js 1091.1 KiB -1267.6 KiB / -53.7%
0f1f293f0cdc17eb638f3148b85189840d0555db.js 451.9 KiB new
7538f87a61bdb20f85b1fcaad7d5d42393ae7a16.js 172.0 KiB new
91e74178.js 137.5 KiB new
3afd1070ac61e8ec84eb60228820d3198f21798c.js 130.0 KiB new
439ba29c2852b6208a931389af573b1c8e78d695.js 116.3 KiB new
ed5f1d72.js 89.0 KiB new
3845d317.js 76.1 KiB new
a203f972.js 74.3 KiB new
8a91923e.js 71.2 KiB new
95c5570d.js 71.0 KiB new
0a17e3b6.js 69.4 KiB new
a5d8b23a.js 68.5 KiB new
92cf6460.js 66.6 KiB new
fc84a20c.js 65.9 KiB new

Eager graph (modules shipped in each entrypoint's initial chunks)

Entrypoint Eager size Budget Modules
✅ app 9.94 MiB (-11210.8 KiB / -52.4%) report-only 1024
Largest modules in the app closure
Module Size
css ./node_modules/.pnpm/[email protected][email protected]/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[8].oneOf[1].use[1]!./node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[8].oneOf[1].use[2]!./src/styles/global.css 838.7 KiB
./src/components/Stickers/Stickers.tsx 696.4 KiB
./node_modules/.pnpm/@[email protected][email protected][email protected][email protected]/node_modules/@posthog/icons/dist/posthog-icons.es.js 354.8 KiB
./node_modules/.pnpm/[email protected]_@[email protected][email protected]/node_modules/react-markdown/lib/react-markdown.js + 88 modules 351.4 KiB
./node_modules/.pnpm/[email protected][email protected][email protected][email protected]/node_modules/framer-motion/dist/es/render/components/motion/proxy.mjs + 126 modules 287.2 KiB
./node_modules/.pnpm/[email protected][email protected]/node_modules/cloudinary-core/cloudinary-core.js 281.9 KiB
./src/components/SearchUI/index.tsx + 87 modules 273.1 KiB
./gatsby-browser.tsx + 59 modules 259.1 KiB
./node_modules/.pnpm/@[email protected][email protected]/node_modules/@posthog/brand/dist/generated/hoggies/svg/construction-1.mjs 248.5 KiB
./src/components/Pricing/PricingSlider/Slider.tsx + 87 modules 240.2 KiB
./node_modules/.pnpm/@[email protected][email protected]/node_modules/@posthog/brand/dist/generated/hoggies/svg/construction-2.mjs 228.2 KiB
./node_modules/.pnpm/@[email protected][email protected]/node_modules/@posthog/brand/dist/generated/hoggies/svg/magnifying-glass.mjs 221.7 KiB
./src/hooks/skills.tsx + 2 modules 150.7 KiB
./src/hooks/useProduct.ts + 9 modules 150.0 KiB
./src/components/Icons/Icons.tsx 147.4 KiB

Eager-graph budgets are report-only until a baseline is established. Sizes are gzip of public/**/*.js; eager size is webpack module source bytes for the modules actually shipped in the entrypoint's initial chunks (post-tree-shake).

turnipdabeets and others added 2 commits November 4, 2026 16:48
- add $locale and $app_language, Compose replay and masking, super property
  precedence, and dropped or replaced event values to the behavior changes
- add event options and captureAi examples
- note that wrapper SDKs upgrade through their own package and that internal
  helpers are no longer public
- add the compression option and the 5 MiB request cap to the config table,
  and drop the removed drawable conversion
- require projectToken in the Android install eval

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Both 4.0 guides edit adjacent rows of the evaluation-contexts table, so
the Android and iOS rows now live in this PR only (iOS 4.0 guide drops
its copy). Both say "removed in 4.0.0", matching the table's versions.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

content PR only touches files under contents/ docs Improvements or additions to product documentation, "Docs"

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants