Skip to content

Update iOS remote config tutorial to use getFeatureFlagResult#16160

Open
gustavohstrassburger wants to merge 1 commit intomasterfrom
gustavo/ios-remote-config-getfeatureflagresult
Open

Update iOS remote config tutorial to use getFeatureFlagResult#16160
gustavohstrassburger wants to merge 1 commit intomasterfrom
gustavo/ios-remote-config-getfeatureflagresult

Conversation

@gustavohstrassburger
Copy link
Copy Markdown
Contributor

@gustavohstrassburger gustavohstrassburger commented Apr 2, 2026

Problem

The iOS remote config tutorial was using the outdated getFeatureFlagPayload() method instead of the newer getFeatureFlagResult() method.

Changes

  • Updated tutorial documentation to use getFeatureFlagResult() API
  • Modified code example to properly access payload via result?.payload pattern
  • Updated comments to reflect the new method name

How did you test this code?

Reviewed the updated tutorial for accuracy and consistency with the new API pattern.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 2, 2026

Deploy preview

Status Details Updated (UTC)
🟢 Ready View preview Apr 02, 2026 09:51PM

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 2, 2026

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

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

Linter being weird? Update the rules!

contents/tutorials/ios-remote-config.md — 0 errors, 3 warnings, 0 suggestions
Line Severity Message Rule
73:15 warning Capitalize 'Feature Flags' for PostHog's product. Use 'feature flags' for the general industry concept. PostHogBase.ProductNames
137:14 warning Use the Oxford comma before 'and' or 'or' in a list of three or more items. PostHogBase.OxfordComma
147:4 warning Capitalize 'Feature Flags' for PostHog's product. Use 'Feature flags' for the general industry concept. PostHogBase.ProductNames

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants