Avoid static privacy API references in PermissionManager #48
All Vouch review confidence checks passed
Residual risk 0.25 = Change Risk (0.63) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.63 · 279 lines diff across 3 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.337
Shallow Review Depth
shallow_review_depth
0.289
Sensitive Paths
sensitive_paths
0.063
Real PR Conversation Timeline
1 comments
"Review active on #48"
general
weight: 0.35
marcprux
This PR extends the existing dynamic API resolution approach used by LocationManager to other permission-related APIs in PermissionManager. This avoids unnecessary privacy usage description requirements for apps that don't use the corresponding functionality.
For example, when uploading my app to App Store Connect, I encountered
ITMS-90683requiringNSMicrophoneUsageDescription, even though my app doesn't even use the microphone. This was caused by static API references in SkipKit which prevented App Store Connect from successfully processing the uploaded build.The changes preserve the existing permission functionality while avoiding these static references. Apps that actually use the corresponding APIs still need to provide the required privacy usage descriptions, while apps that don't use them no longer need to add unnecessary usage descriptions to their
Info.plistjust to satisfy App Store Connect's validation.---
Thank you for contributing to the Skip project! Please use this space to describe your change and add any labels (bug, enhancement, documentation, etc.) to help categorize your contribution.
Please review the contribution guide at https://skip.dev/docs/contributing/ for advice and guidance on making high-quality PRs.
Skip Pull Request Checklist:
swift test-----
I used Codex to help implement and iteratively refine the changes, investigate issues, and run targeted validation checks. I reviewed the changes and manually verified them by building and uploading my own iOS app to TestFlight using the modified Skip package. The upload no longer triggered any
ITMSprivacy-related warnings, and I confirmed that location fetching, camera access, and photo library access still work as expected.-----