-
-
Notifications
You must be signed in to change notification settings - Fork 80.7k
Question: should iOS background location claims include UIBackgroundModes=location? #86217
Copy link
Copy link
Closed
Closed
Copy link
Labels
P2Normal backlog priority with limited blast radius.Normal backlog priority with limited blast radius.clawsweeper:fix-shape-clearClawSweeper found a clear likely implementation shape for this issue.ClawSweeper found a clear likely implementation shape for this issue.clawsweeper:needs-maintainer-reviewClawSweeper marked this issue as needing maintainer review before automation.ClawSweeper marked this issue as needing maintainer review before automation.clawsweeper:needs-product-decisionClawSweeper marked this issue as needing a product or behavior decision.ClawSweeper marked this issue as needing a product or behavior decision.clawsweeper:needs-security-reviewClawSweeper marked this issue as needing security-sensitive review.ClawSweeper marked this issue as needing security-sensitive review.clawsweeper:no-new-fix-prClawSweeper does not recommend queueing a new automated fix PR for this issue.ClawSweeper does not recommend queueing a new automated fix PR for this issue.clawsweeper:source-reproClawSweeper found a high-confidence source-level issue reproduction.ClawSweeper found a high-confidence source-level issue reproduction.impact:securitySecurity boundary, credential, authz, sandbox, or sensitive-data risk.Security boundary, credential, authz, sandbox, or sensitive-data risk.issue-rating: 🦞 diamond lobsterVery strong issue quality with high-confidence source-level or clear reproduction.Very strong issue quality with high-confidence source-level or clear reproduction.maturity:stableIssue affects a taxonomy feature currently scored M4/M5.Issue affects a taxonomy feature currently scored M4/M5.
Description
Metadata
Metadata
Assignees
Labels
P2Normal backlog priority with limited blast radius.Normal backlog priority with limited blast radius.clawsweeper:fix-shape-clearClawSweeper found a clear likely implementation shape for this issue.ClawSweeper found a clear likely implementation shape for this issue.clawsweeper:needs-maintainer-reviewClawSweeper marked this issue as needing maintainer review before automation.ClawSweeper marked this issue as needing maintainer review before automation.clawsweeper:needs-product-decisionClawSweeper marked this issue as needing a product or behavior decision.ClawSweeper marked this issue as needing a product or behavior decision.clawsweeper:needs-security-reviewClawSweeper marked this issue as needing security-sensitive review.ClawSweeper marked this issue as needing security-sensitive review.clawsweeper:no-new-fix-prClawSweeper does not recommend queueing a new automated fix PR for this issue.ClawSweeper does not recommend queueing a new automated fix PR for this issue.clawsweeper:source-reproClawSweeper found a high-confidence source-level issue reproduction.ClawSweeper found a high-confidence source-level issue reproduction.impact:securitySecurity boundary, credential, authz, sandbox, or sensitive-data risk.Security boundary, credential, authz, sandbox, or sensitive-data risk.issue-rating: 🦞 diamond lobsterVery strong issue quality with high-confidence source-level or clear reproduction.Very strong issue quality with high-confidence source-level or clear reproduction.maturity:stableIssue affects a taxonomy feature currently scored M4/M5.Issue affects a taxonomy feature currently scored M4/M5.
Type
Fields
Priority
None yet
Summary
Static-analysis report, not a device-runtime repro: OpenClaw appears to have docs, runtime code, and plist copy for background location behavior when
Alwayslocation permission is enabled, but the generated iOS background modes omitlocation.I am filing this as an apparent docs/runtime/config mismatch and a maintainer-intent question, not as a confirmed end-to-end runtime bug.
Evidence I checked:
apps/ios/README.mdhas a Location Automation use case and asks QA to verify background location capability.apps/ios/Sources/Model/NodeAppModel.swifthandles backgroundedlocation.getrequests, returnsLOCATION_BACKGROUND_UNAVAILABLEunless the in-app mode isalways, and requiresauthorizedAlwaysfor background access.apps/ios/project.ymlandapps/ios/Sources/Info.plistsay OpenClaw can share location in the background whenAlwaysis enabled.UIBackgroundModesincludesaudioandremote-notification, but notlocation.Semantic TDD Proof
Invariant used for the static proof:
Result:
Command used for the proof from the Semantic TDD repo:
Possible Repairs
If background location is intended, one alignment fix is to add
locationtoUIBackgroundModesin both generated iOS proof surfaces:UIBackgroundModes: - audio + - location - remote-notificationIf background location is not intended for App Store/privacy/review reasons, the alternative valid repair is to remove or soften the background-location claims in README/plist copy and align the runtime behavior accordingly.
Scope
This proves one specific static docs/runtime/config/platform mismatch under the invariant above. It does not claim a full end-to-end device runtime failure or full OpenClaw CI verification.