Summary#
- Adds explicit iOS Keychain access-group configuration for mobile app variants.
- Covers the development bundle identifier with a small Expo config regression test.
- Keeps credential storage on SecureStore; no insecure fallback storage is added.
The mobile app stores connection credentials through expo-secure-store, which uses the iOS Keychain. During iOS simulator pairing, SecureStore previously failed with:
Calling the 'getValueWithKeyAsync' function has failed
A required entitlement isn't present.
The Expo iOS config did not explicitly declare a bundle-scoped Keychain access group. This adds $(AppIdentifierPrefix)<bundle identifier> for each app variant.
Test plan#
Notes#
This app uses Expo native tooling/dev-client style builds, not Expo Go.
On this Xcode simulator setup, the installed simulator app still reports empty embedded entitlements because Xcode reports ENTITLEMENTS_ALLOWED = NO. The runtime pairing and SecureStore read-back flow was validated successfully.
Note
Low Risk
Narrow native signing/entitlement config change for Keychain; no new storage paths or auth logic.
Overview
Fixes iOS SecureStore failures during simulator pairing (getValueWithKeyAsync / missing entitlement) by declaring an explicit keychain-access-groups entitlement in Expo iOS config.
Each app variant gets $(AppIdentifierPrefix)<variant bundle id> so Keychain access matches the signed bundle; credential storage still goes through expo-secure-store only.
Reviewed by [Cursor Bugbot](https://cursor.com/bugbot) for commit 28535248333e95103d13a3ddf4caed8dffdb0941. Bugbot is set up for automated code reviews on this repo. Configure [here](https://www.cursor.com/dashboard/bugbot).
Note
Add keychain-access-groups entitlement to iOS builds#
Adds ios.entitlements to app.config.ts with a keychain-access-groups entry set to $(AppIdentifierPrefix)<bundleIdentifier>. This configures the app to participate in the correct iOS keychain access group at runtime.
Macroscope summarized 2853524.
Important
Review skipped#
Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the
.coderabbit.yamlfile in this repository. To trigger a single review, invoke the@coderabbitai reviewcommand.⚙️ Run configuration
Configuration used: Repository UI
Review profile: CHILL
Plan: Pro Plus
Run ID:
39232b97-656d-4384-9682-9b139e1c4ad0You can disable this status message by setting the
reviews.review_statustofalsein the CodeRabbit configuration file.Use the checkbox below for a quick retry:
✨ Finishing Touches
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
❤️ Share