Skip to content

Track Lockdown Mode status as a device property#331

Open
jkmassel wants to merge 1 commit intotrunkfrom
jkmassel/track-ldm-global-enabled
Open

Track Lockdown Mode status as a device property#331
jkmassel wants to merge 1 commit intotrunkfrom
jkmassel/track-ldm-global-enabled

Conversation

@jkmassel
Copy link
Copy Markdown
Contributor

@jkmassel jkmassel commented Apr 2, 2026

Summary

The WordPress iOS app doesn't work correctly under Lockdown Mode. We'll put mitigations in place, but I'd like to know how many users this affects.

Technical Details:

  • Read the LDMGlobalEnabled UserDefaults key and include it in mutable device properties as device_info_lockdown_mode_enabled (YES/NO).
  • The value is cached once per process lifetime since toggling Lockdown Mode requires a device restart.

Test plan

  • Verify iOS tests pass via bundle exec fastlane ios test
  • Confirm device_info_lockdown_mode_enabled appears in event payloads

  • I have considered if this change warrants release notes and have added them to the appropriate section in the CHANGELOG.md if necessary.

🤖 Generated with Claude Code

Read the LDMGlobalEnabled UserDefaults key and include it in mutable
device properties as device_info_lockdown_mode_enabled. The value is
cached for the lifetime of the process since toggling Lockdown Mode
requires a device restart.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@jkmassel jkmassel requested a review from mokagio April 2, 2026 16:17
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.

1 participant