diff --git a/NucleicRemote/NucleicRemote/Models/HostConnection.swift b/NucleicRemote/NucleicRemote/Models/HostConnection.swift index e020876..d3234e9 100644 --- a/NucleicRemote/NucleicRemote/Models/HostConnection.swift +++ b/NucleicRemote/NucleicRemote/Models/HostConnection.swift @@ -370,6 +370,9 @@ final class HostConnection { channel: channel, identity: identity, hostStaticKey: hostStaticKey, mode: mode, deviceID: deviceID, deviceLabel: UIDevice.current.name, pushToken: PushRegistrar.shared.tokenHex, + // Our own bundle id is the exact APNs topic the relay must address; per-channel + // TestFlight builds are suffixed (…`.canary`), so a hardcoded topic would `BadTopic`. + pushTopic: Bundle.main.bundleIdentifier, releaseChannel: BuildInfo.current.channel.releaseChannel, // Mesh "join": advertise roster gossip so a host pushes its group view — the phone // then auto-learns and connects to every Mac in the mesh, not just the one it scanned.