mirror of
https://github.com/D-Modem/app.git
synced 2026-11-29 01:48:05 -08:00
- CallKit: the modem's RING rings as a phone call (answered with ATA or turned down on the phone's screen); a call the modem dials is an outgoing call, hung up from the call screen; both in Recents - Fax tab: PDFs, images and text drawn at the fax's width (CoreGraphics, then the shared FaxImage), sent; a ringing call answered as a fax, by hand or every one; received faxes as PDFs in Documents/Faxes - File transfers from the terminal's toolbar: ZMODEM, YMODEM, XMODEM, Kermit; a remote's sz or kermit -s starts receiving by itself, its rz asks for files; received files in Documents/Received (the Files app) - Internet tab: dial-up to an ISP on the shared DialUpJob, the phone's traffic through the new DModemTunnel packet tunnel extension, its packets to the app's PPP over the loopback - the log moves to a button on Home; tabs: Home, Terminal, Fax, Internet, Settings - PeerLine passes LogOut objects (Kotlin lambdas aren't plain closures) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0172Hejd12i4aYikYW9vgpZs
81 lines
3.0 KiB
YAML
81 lines
3.0 KiB
YAML
# SPDX-License-Identifier: AGPL-3.0-only
|
||
# Copyright (C) 2026 Neo-Desktop
|
||
#
|
||
# The iOS app's Xcode project, as text: xcodegen generate (in ios/DModem)
|
||
# makes DModem.xcodeproj. It needs build-apple/DModemEngine.xcframework
|
||
# (ios/build-native.sh) and the shared Kotlin's XCFramework
|
||
# (./gradlew :shared:assembleDModemSharedXCFramework).
|
||
name: DModem
|
||
options:
|
||
bundleIdPrefix: com.neodesktop
|
||
deploymentTarget:
|
||
iOS: "16.0"
|
||
packages:
|
||
DModemKit:
|
||
path: ../DModemKit
|
||
targets:
|
||
DModem:
|
||
type: application
|
||
platform: iOS
|
||
sources: [Sources]
|
||
dependencies:
|
||
- package: DModemKit
|
||
- framework: ../../shared/build/XCFrameworks/release/DModemShared.xcframework
|
||
embed: false
|
||
# the dial-up link's VPN (embedded in the app's PlugIns)
|
||
- target: DModemTunnel
|
||
- sdk: NetworkExtension.framework
|
||
- sdk: CallKit.framework
|
||
info:
|
||
path: Sources/Info.plist
|
||
properties:
|
||
CFBundleDisplayName: D-Modem
|
||
CFBundleShortVersionString: "0.1"
|
||
UILaunchScreen: {}
|
||
UISupportedInterfaceOrientations: [UIInterfaceOrientationPortrait, UIInterfaceOrientationLandscapeLeft, UIInterfaceOrientationLandscapeRight]
|
||
# the modem's call goes on in the background: its speaker (or quiet) keeps the app's audio running
|
||
UIBackgroundModes: [audio]
|
||
NSLocalNetworkUsageDescription: "D-Modem calls another phone with the app on this network, and SIP servers on it."
|
||
NSBonjourServices: [_dmodem._tcp]
|
||
# received files and faxes in the Files app (On My iPhone › D-Modem)
|
||
UIFileSharingEnabled: true
|
||
LSSupportsOpeningDocumentsInPlace: true
|
||
entitlements:
|
||
path: Sources/DModem.entitlements
|
||
properties:
|
||
com.apple.developer.networking.networkextension: [packet-tunnel-provider]
|
||
settings:
|
||
base:
|
||
PRODUCT_BUNDLE_IDENTIFIER: com.neodesktop.dmodem
|
||
PRODUCT_NAME: DModem
|
||
SWIFT_VERSION: "5.9"
|
||
TARGETED_DEVICE_FAMILY: "1,2"
|
||
# (the engine is C++; SystemDNS.c's res_ninit is libresolv's)
|
||
OTHER_LDFLAGS: ["-lc++", "-lresolv"]
|
||
SWIFT_OBJC_BRIDGING_HEADER: Sources/DModem-Bridging-Header.h
|
||
# the dial-up link as the phone's VPN: a packet tunnel, its packets to the app on the loopback
|
||
DModemTunnel:
|
||
type: app-extension
|
||
platform: iOS
|
||
sources: [Tunnel]
|
||
dependencies:
|
||
- sdk: NetworkExtension.framework
|
||
info:
|
||
path: Tunnel/Info.plist
|
||
properties:
|
||
CFBundleDisplayName: D-Modem dial-up
|
||
CFBundleShortVersionString: "0.1"
|
||
NSExtension:
|
||
NSExtensionPointIdentifier: com.apple.networkextension.packet-tunnel
|
||
NSExtensionPrincipalClass: $(PRODUCT_MODULE_NAME).PacketTunnelProvider
|
||
entitlements:
|
||
path: Tunnel/DModemTunnel.entitlements
|
||
properties:
|
||
com.apple.developer.networking.networkextension: [packet-tunnel-provider]
|
||
settings:
|
||
base:
|
||
PRODUCT_BUNDLE_IDENTIFIER: com.neodesktop.dmodem.tunnel
|
||
PRODUCT_NAME: DModemTunnel
|
||
SWIFT_VERSION: "5.9"
|
||
TARGETED_DEVICE_FAMILY: "1,2"
|