mirror of
https://github.com/anomalyco/hex.git
synced 2026-11-22 21:23:02 +01:00
* iOS: move Hex for iPhone to Anomaly's Apple team
(cherry picked from commit 09061502ff)
* Cut Hex Mobile TestFlight betas with a dedicated release tag
Connect the Anomaly app record and pin the mobile package graph. Cut ios-beta prereleases from dev at the scheduled windows or on dispatch, skipping unchanged mobile inputs instead of creating desktop releases or allocating build numbers locally. Prepare the generated project for the Cloud archive after clone.
Verified actionlint, duplicate and desktop-only skips, strict SwiftPM resolution, and an unsigned Release device archive containing the app, keyboard, and widgets. First Xcode Cloud onboarding and signed distribution are still pending.
---------
Co-authored-by: Kit Langton <kit.langton@gmail.com>
19 lines
592 B
Swift
19 lines
592 B
Swift
import AppIntents
|
|
import SwiftUI
|
|
import WidgetKit
|
|
|
|
@available(iOS 18.0, *)
|
|
struct HexDictationControl: ControlWidget {
|
|
static let kind = "anomaly.hex.mobile.control.dictate"
|
|
|
|
var body: some ControlWidgetConfiguration {
|
|
StaticControlConfiguration(kind: Self.kind) {
|
|
ControlWidgetButton(action: ToggleHexControlIntent()) {
|
|
Label("Dictate", systemImage: "mic.fill")
|
|
Text("Hex")
|
|
}
|
|
}
|
|
.displayName("Dictate with Hex")
|
|
.description("Starts or finishes on-device dictation and copies the text.")
|
|
}
|
|
}
|