Repository navigation
feat(app): turn CarPlay on for iOS EAS builds - #18
Merged
Merged
Conversation
Apple granted team BU9RD766GN the CarPlay Audio entitlement (2026-11-27) and it is on for the com.getsubwave.app App ID, so a signed device build now carries com.apple.developer.carplay-audio. eas.json sets SUBWAVE_CARPLAY=1 under each profile's ios.env, never at profile level or for Android; the flag stays so a build can leave CarPlay out. A test pins that, and the docs say CarPlay is granted and on.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Apple granted team BU9RD766GN the CarPlay Audio entitlement on 2026-11-27, and "CarPlay Audio App (CarPlay framework)" is now on for the
com.getsubwave.appApp ID. So a signed device build can carrycom.apple.developer.carplay-audio, and every EAS iOS build now turns the CarPlay app on."development" / "development-device" / "preview" / "production" "ios": { "image": "macos-tahoe-26.6-xcode-27.1", + "env": { "SUBWAVE_CARPLAY": "1" } }ios.env, never in a profile-levelenv(which would reach Android) and never underandroid. A profile that extendsproduction, like feat(app): Android Auto error states, Stations tab, and a build flag #17'sproduction-autoandapk, inherits it for iOS only, so this doesn't conflict with feat(app): Android Auto error states, Stations tab, and a build flag #17.plugins/withCarPlay.jsis unchanged: unset, the Info.plist and entitlements are what they are without the plugin. Dropping it from a profile'sios.envcuts a build without CarPlay. A plain localnpx expo prebuild -p iosstill has no CarPlay.scripts/carplay-plugin.test.tschecks that every iOS profile sets the flag and that no profile sets it at profile level or for Android.CLAUDE.md, thedocs/TESTING.mdCarPlay section and the plugin's header now say the grant landed and CarPlay is on in EAS builds.docs/RELEASE.mdgets a note under the iOS store build.Evidence
The
SUBWAVE_CARPLAY=1 npx expo prebuild -p ios --cleanand Release build below are the same ones that failed on #15 withEntitlement com.apple.developer.carplay-audio not found and could not be included in profile:The widget extension (
SUBWAVELive.appex) signs with its own profile and, as expected, has no CarPlay entitlement.npm test: 594 passed, 5 skipped (the checks that need a station checkout).npm run lint: clean apart from the existing warning inonboarding.tsx.npx expo-updates fingerprint:generate --platform iosgives the same hash with and without the flag. Flag-on and flag-off binaries share a runtime version, so OTAs reach both. That's fine, because their JS is identical.docs/TESTING.md). They need a car or DeviceHub's CarPlay Simulator with a USB iPhone, which a development-device build can now be signed for.Merge Danger
Door: two-way
Blast Radius: every iOS build from the next
eas buildon; Android untouchedThe next iOS store build ships the CarPlay app: the new scene manifest (
UIApplicationSupportsMultipleScenestrue,SubwavePhoneSceneDelegateas the phone delegate, the CarPlay scene) and the entitlement. That phone delegate now runs on every iPhone launch, and on iPad a second window is refused. It's a binary change, so OTA can't reach existing installs. To roll back, take the flag out ofproduction.ios.envand cut a new build.