From 35962fe1a20c9cb7685e5465c888a293e03de682 Mon Sep 17 00:00:00 2001 From: Stephen Cooper <1970249+scooper4711@users.noreply.github.com> Date: Mon, 19 Oct 2026 23:53:14 +0200 Subject: [PATCH] fix: Open Mapsmith by its new bundle ID --- Sources/ScrollkeeperKit/Sharing/HandoffRequest.swift | 2 +- Tests/ScrollkeeperKitTests/HandoffTests.swift | 2 +- docs/specs/app-handoff/design.md | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Sources/ScrollkeeperKit/Sharing/HandoffRequest.swift b/Sources/ScrollkeeperKit/Sharing/HandoffRequest.swift index fc1f6a4..67089de 100644 --- a/Sources/ScrollkeeperKit/Sharing/HandoffRequest.swift +++ b/Sources/ScrollkeeperKit/Sharing/HandoffRequest.swift @@ -16,7 +16,7 @@ public enum HandoffApp: String, CaseIterable, Sendable { public var bundleIdentifier: String { switch self { - case .mapsmith: "com.github.scooper4711.Mapsmith" + case .mapsmith: "io.github.scooper4711.Mapsmith" case .pluck: "io.github.scooper4711.pluck" } } diff --git a/Tests/ScrollkeeperKitTests/HandoffTests.swift b/Tests/ScrollkeeperKitTests/HandoffTests.swift index 23bab5a..f7fbd0d 100644 --- a/Tests/ScrollkeeperKitTests/HandoffTests.swift +++ b/Tests/ScrollkeeperKitTests/HandoffTests.swift @@ -51,7 +51,7 @@ import Testing #expect(app.accepts(URL(filePath: "/maps/forest.png"))) #expect(!app.accepts(URL(filePath: "/maps/readme.txt"))) #expect(!app.accepts(URL(filePath: "/maps/noextension"))) - #expect(app.bundleIdentifier == "com.github.scooper4711.Mapsmith") + #expect(app.bundleIdentifier == "io.github.scooper4711.Mapsmith") #expect(app.name == "Mapsmith") } diff --git a/docs/specs/app-handoff/design.md b/docs/specs/app-handoff/design.md index bbacfe7..cab3bdd 100644 --- a/docs/specs/app-handoff/design.md +++ b/docs/specs/app-handoff/design.md @@ -58,7 +58,7 @@ to open the files with and the file types it accepts. | Key | Bundle identifier | Accepts | |---|---|---| -| `mapsmith` | `com.github.scooper4711.Mapsmith` | PDF, images | +| `mapsmith` | `io.github.scooper4711.Mapsmith` | PDF, images | | `pluck` | `io.github.scooper4711.pluck` | PDF | `HandoffApp.canOpen(_:)` says whether an edition's download suits the app: a