Move every Calls build to works.oficina.calls
Human
Prompt
2. Bundle IDs → works.oficina.calls on every build (Paul ruled works.oficina.* for all ten builds): Mac Sparkle build (native/mac-updates.json bundle_id, native/scripts/bundle-mac.py CFBundleIdentifier), iOS app (net.amadan.oficina.calls.ios → works.oficina.calls), broadcast extension (→ works.oficina.calls.broadcast), and any App Group / keychain service names derived from them. Don't touch the portal; list exactly what Paul must register. Keep the oficina-calls:// scheme working.
From this commit's own message. The prompt ledger has no entries for it — which is what a squashed, rebased or amended commit looks like, and what every commit looks like in a repo without a ledger.
Summary
Mac Info.plist and mac-updates.json are works.oficina.calls; the iPhone app is works.oficina.calls and its broadcast extension works.oficina.calls.broadcast; the App Group is group.works.oficina.calls; the kept sign-in's keychain service is works.oficina.calls; the oficina-calls URL type is renamed works.oficina.calls.join with the scheme unchanged. The iOS README's portal steps name the new identifiers.
Agent notes
Deliberately unchanged: os_log subsystems and dispatch queue labels (net.amadan.oficina.calls, in Paul's log show commands), and the aggregate-device UID prefix net.amadan.oficina.calls.pair. (changing it would orphan aggregates the old build made). Server APNs topics are env config (CALLS_APNS_TOPIC_IOS/MACOS), not in this repo's code.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
6 files changed,
+34
−33
native/apple/Sources/CallsKit/SessionStore.swift+1 −1native/apple/Tests/CallsKitTests/KeptSignInTests.swift+1 −1native/ios/README.md+21 −23native/ios/project.yml+5 −5native/mac-updates.json+1 −1native/scripts/bundle-mac.py+5 −2
diff --git a/native/apple/Sources/CallsKit/SessionStore.swift b/native/apple/Sources/CallsKit/SessionStore.swift| index 3e3767e..1546a5f 100644 |
| --- a/native/apple/Sources/CallsKit/SessionStore.swift |
| +++ b/native/apple/Sources/CallsKit/SessionStore.swift |
| @@ -40,7 +40,7 @@ public struct KeychainSessionStore: SessionStore { |
| private let service: String |
| private let account = "session" |
| - public init(service: String = "net.amadan.oficina.calls") { |
| + public init(service: String = "works.oficina.calls") { |
| self.service = service |
| } |
diff --git a/native/apple/Tests/CallsKitTests/KeptSignInTests.swift b/native/apple/Tests/CallsKitTests/KeptSignInTests.swift| index efffd2a..4dee45b 100644 |
| --- a/native/apple/Tests/CallsKitTests/KeptSignInTests.swift |
| +++ b/native/apple/Tests/CallsKitTests/KeptSignInTests.swift |
| @@ -225,7 +225,7 @@ final class KeptSignInTests: XCTestCase { |
| guard ProcessInfo.processInfo.environment["CALLS_KEYCHAIN_TEST"] == "1" else { |
| throw XCTSkip("Set CALLS_KEYCHAIN_TEST=1 to use this machine's Keychain.") |
| } |
| - let store = KeychainSessionStore(service: "net.amadan.oficina.calls.test-\(UUID().uuidString)") |
| + let store = KeychainSessionStore(service: "works.oficina.calls.test-\(UUID().uuidString)") |
| defer { store.clear() } |
| XCTAssertNil(store.load()) |
| store.save(kept) |
diff --git a/native/ios/README.md b/native/ios/README.md| index 83fa1fb..28f31d6 100644 |
| --- a/native/ios/README.md |
| +++ b/native/ios/README.md |
| @@ -85,43 +85,41 @@ still ends when the app goes to the background. If the broadcast is stopped |
| from outside while Calls is in the background, the call ends too. |
| The App Group is one build setting, `CALLS_APP_GROUP` in `project.yml` |
| -(`group.net.amadan.oficina.calls`). It feeds both targets' entitlements and the |
| +(`group.works.oficina.calls`). It feeds both targets' entitlements and the |
| `CallsAppGroup` key in both Info.plists. The extension's bundle identifier is the |
| app's plus `.broadcast`. The app looks for its extension by that rule, so the |
| two must stay in step. |
| +**Identifiers.** Paul ruled on 2026-11-14 that every Oficina build is |
| +`works.oficina.<app>`, App Store and direct download, iPhone and Mac. So the |
| +iPhone app is `works.oficina.calls`, the same identifier as the Mac app, and its |
| +extension is `works.oficina.calls.broadcast`. Earlier builds were |
| +`net.amadan.oficina.calls.ios` (development) and `works.oficina.meet` |
| +(`release/calls-testflight`); both are retired. To iOS a new identifier is a new |
| +app: it installs beside the old one, signed out, and asks for the camera and |
| +microphone again. |
| + |
| **Signing.** The simulator build is unsigned, so it has no App Group and cannot |
| broadcast; ReplayKit broadcasts need a device anyway. Before the first signed |
| device build, in the Apple Developer portal (Certificates, Identifiers & |
| Profiles): |
| -1. Identifiers → App Groups → **+** → `group.net.amadan.oficina.calls`. |
| -2. Identifiers → `net.amadan.oficina.calls.ios` → enable **App Groups** → |
| - choose that group. (Push stays as it is.) |
| -3. Identifiers → **+** → App IDs → App → `net.amadan.oficina.calls.ios.broadcast`, |
| - description "Calls broadcast", with **App Groups** enabled and the same group. |
| +1. Identifiers → App Groups → **+** → `group.works.oficina.calls`, description |
| + "Oficina Calls". |
| +2. Identifiers → **+** → App IDs → App → explicit `works.oficina.calls`, |
| + description "Oficina Calls", with **App Groups** enabled and that group |
| + chosen. Enable **Push Notifications** too if knocks should reach the phone. |
| +3. Identifiers → **+** → App IDs → App → explicit `works.oficina.calls.broadcast`, |
| + description "Oficina Calls broadcast", with **App Groups** enabled and the |
| + same group. |
| 4. `CALLS_DEVELOPMENT_TEAM=<team> make iphone-device`. Automatic signing makes |
| both development profiles once the identifiers exist, and |
| `-allowProvisioningUpdates` can also create steps 1–3 for you if you would |
| rather let Xcode do it. |
| -A TestFlight or App Store build needs distribution profiles for **both** bundle |
| -identifiers, and the extension goes up inside the app. |
| - |
| -**The TestFlight release branch differs.** `release/calls-testflight` ships |
| -under the bundle identifier `works.oficina.meet`, not |
| -`net.amadan.oficina.calls.ios`. When screen sharing reaches that branch it |
| -needs, in its `project.yml`: |
| - |
| -- `CALLS_APP_GROUP: group.works.oficina.meet` |
| -- the `CallsBroadcast` target's `PRODUCT_BUNDLE_IDENTIFIER: |
| - works.oficina.meet.broadcast` (the app finds its extension as its own |
| - identifier plus `.broadcast`, so this one is not a free choice) |
| - |
| -and, in the Apple Developer portal, the App Group `group.works.oficina.meet` |
| -enabled on both `works.oficina.meet` and `works.oficina.meet.broadcast`, with |
| -distribution profiles for both. The development values above stay as they are |
| -on main. |
| +A TestFlight or App Store build needs App Store distribution profiles for **both** |
| +identifiers, and the extension goes up inside the app. The `works.oficina.meet` |
| +identifiers and profiles are no longer used by any build. |
| ## Verification |
diff --git a/native/ios/project.yml b/native/ios/project.yml| index f842718..57c2623 100644 |
| --- a/native/ios/project.yml |
| +++ b/native/ios/project.yml |
| @@ -1,6 +1,6 @@ |
| name: CallsPhone |
| options: |
| - bundleIdPrefix: net.amadan.oficina |
| + bundleIdPrefix: works.oficina |
| deploymentTarget: |
| iOS: '17.0' |
| packages: |
| @@ -16,7 +16,7 @@ settings: |
| # the iPhone's screen crosses lives in its container. One setting |
| # feeds both entitlements and both Info.plists' CallsAppGroup key, so |
| # a build under another bundle identifier changes it here and only here. |
| - CALLS_APP_GROUP: group.net.amadan.oficina.calls |
| + CALLS_APP_GROUP: group.works.oficina.calls |
| targets: |
| CallsPhone: |
| type: application |
| @@ -36,7 +36,7 @@ targets: |
| path: ../build/ios-info.plist |
| properties: |
| CFBundleURLTypes: |
| - - CFBundleURLName: net.amadan.oficina.calls.join |
| + - CFBundleURLName: works.oficina.calls.join |
| CFBundleURLSchemes: [oficina-calls] |
| CallsAppGroup: $(CALLS_APP_GROUP) |
| # Audio, so a call sharing the whole screen survives the person |
| @@ -54,7 +54,7 @@ targets: |
| settings: |
| base: |
| ASSETCATALOG_COMPILER_APPICON_NAME: AppIcon |
| - PRODUCT_BUNDLE_IDENTIFIER: net.amadan.oficina.calls.ios |
| + PRODUCT_BUNDLE_IDENTIFIER: works.oficina.calls |
| TARGETED_DEVICE_FAMILY: '1,2' |
| GENERATE_INFOPLIST_FILE: YES |
| INFOPLIST_KEY_CFBundleDisplayName: Calls |
| @@ -84,7 +84,7 @@ targets: |
| product: CallsBroadcastKit |
| settings: |
| base: |
| - PRODUCT_BUNDLE_IDENTIFIER: net.amadan.oficina.calls.ios.broadcast |
| + PRODUCT_BUNDLE_IDENTIFIER: works.oficina.calls.broadcast |
| TARGETED_DEVICE_FAMILY: '1,2' |
| CallsPhoneTests: |
| type: bundle.unit-test |
diff --git a/native/mac-updates.json b/native/mac-updates.json| index 2dbacce..21953ce 100644 |
| --- a/native/mac-updates.json |
| +++ b/native/mac-updates.json |
| @@ -1,5 +1,5 @@ |
| { |
| - "bundle_id": "net.amadan.oficina.calls", |
| + "bundle_id": "works.oficina.calls", |
| "feed_url": "https://raw.amadan.net/oficina/native-releases/main/calls/appcast.xml", |
| "public_ed_key": "/FxO7cZnM7P5c9ZrUPUJvpCnR65sNmrzte+I5vHarE8=", |
| "keychain_account": "oficina", |
diff --git a/native/scripts/bundle-mac.py b/native/scripts/bundle-mac.py| index 18313a2..9eb00c2 100644 |
| --- a/native/scripts/bundle-mac.py |
| +++ b/native/scripts/bundle-mac.py |
| @@ -70,10 +70,13 @@ for size in (16, 32, 128, 256, 512): |
| subprocess.run(['iconutil', '-c', 'icns', str(iconset), '-o', |
| str(bundle / 'Resources/CallsMac.icns')], check=True) |
| info = { |
| - 'CFBundleURLTypes': [{'CFBundleURLName': 'net.amadan.oficina.calls.join', |
| + 'CFBundleURLTypes': [{'CFBundleURLName': 'works.oficina.calls.join', |
| 'CFBundleURLSchemes': ['oficina-calls']}], |
| 'CFBundleName': 'Calls', 'CFBundleDisplayName': 'Calls', |
| - 'CFBundleIdentifier': 'net.amadan.oficina.calls', |
| + # Paul, 2026-11-14: every Oficina build, Sparkle and App Store, Mac and |
| + # iPhone, is works.oficina.<app>. mac-updates.json names the same ID, and |
| + # mac_updates.py refuses a release whose Info.plist disagrees with it. |
| + 'CFBundleIdentifier': 'works.oficina.calls', |
| 'CFBundleExecutable': 'CallsMac', 'CFBundlePackageType': 'APPL', |
| 'CFBundleIconFile': 'CallsMac.icns', 'CFBundleIconName': 'AppIcon', |
| 'CFBundleShortVersionString': '0.1.0', 'CFBundleVersion': '1', |