Ana içeriğe geç
Bu sayfa henüz Türkçeye çevrilmedi; İngilizce sürümü gösteriliyor.
Versiyon: 1.0

Tech Stack

The technologies used in each Fenpo app, and why they were chosen.

Windows​

AreaChoiceWhy
Runtime.NET 10 LTS, C# 14Long-term support
UIWinUI 3, Windows App SDKMica, Fluent, Segoe UI Variable and Windows notifications come natively, so Fenpo feels like part of Windows
PackagingMSIX (single-project packaging), full trustA package identity is required for phone line transport, app notifications, the share target, the startup task and the File Explorer command
BluetoothWinRT Windows.Devices.Bluetooth.* (GATT client and server, RFCOMM)The built-in stack, no extra drivers
OBEX, MAPFenpo's own codeNo maintained .NET library exists
MVVMCommunityToolkit.MvvmSource-generated, lightweight, standard with WinUI
Tray iconH.NotifyIcon.WinUIWinUI 3 has no built-in tray support
Hosting, DI, loggingMicrosoft.Extensions.Hosting, DependencyInjection, Logging + Serilog (file)A natural structure for background services
DataSQLite, Microsoft.Data.SqliteMessage cache, notification history, icon cache, clipboard history
ProtocolGoogle.Protobuf + Grpc.Tools (message generation only)One schema shared with the phone apps, without gRPC
TLSSslStream, TLS 1.3, mutual certificate pinningBuilt in, no extra dependency
DiscoveryDnsServiceRegister (dnsapi.dll)Built-in mDNS on Windows, no Bonjour install needed
File transfer (compatibility)LocalSend v2.2 protocolWorks with LocalSend apps on iOS, Android and macOS, even without the Fenpo phone app
QR codesQRCoderSmall, no dependencies
ThemeSystem / Light / DarkThe main window, tray panel and call window follow the same setting
LanguageSystem language / Turkish / English, .resw resourcesWindows notifications use the same language
Virtual cameraMFCreateVirtualCamera + a .NET 10 Native AOT COM media sourceStays in C#; Native AOT does not load the .NET runtime into the Frame Server process
Video decodingMedia Foundation H.264 decoder, rendered to Fenpo's own swap chainCamera preview, screen mirroring and Fenpo Kamera share the same decoder
TestsxUnit v3, NSubstituteBluetooth parsers are tested with recorded byte sequences

Not chosen:

  • WPF: mature, but Mica, modern notifications and Fluent controls need extra libraries, and it feels less like Windows 11.
  • Avalonia, .NET MAUI, Electron, Tauri: Fenpo runs only on Windows and depends deeply on the WinRT Bluetooth APIs, so a cross-platform layer would add weight, not value.
  • A separate Windows service (LocalSystem): the Bluetooth and notification APIs need the user session and a package identity.

iPhone​

AreaChoiceWhy
Language, UISwift, SwiftUIWidgets, Live Activities and Control Center buttons can only be written in SwiftUI
Minimum iOSiOS 18.0AccessorySetupKit and ControlWidget arrived in iOS 18
BluetoothCoreBluetooth (central, bluetooth-central background mode, state restoration) + AccessorySetupKitWaking in the background and reliable reconnection
NetworkNetwork.framework: NWConnection (TLS 1.3, certificate pinning), NWBrowser (Bonjour)Built in
CryptoCryptoKit + Keychain shared through an App GroupECDSA P-256 certificates, AES-GCM
Shortcuts and systemApp Intents, WidgetKit, ActivityKit, ControlWidgetClipboard, send, ring, lock with one tap from anywhere
FilesShare Extension, File Provider Extension, PhotoKit
CameraAVFoundation + VideoToolbox (HEVC/H.264 hardware encoding)Low latency, low battery use
Screen mirroringReplayKit Broadcast Upload ExtensionEncoding is done by VideoToolbox
Protocolswift-protobuf (SPM)The only external dependency
Project fileXcodeGen (project.yml)Readable YAML instead of .xcodeproj, with clean git diffs
TestsSwift Testing

Not chosen: .NET for iOS / MAUI and Flutter / React Native, because widgets, Control Center and Live Activity extensions require SwiftUI anyway.

Android​

Kotlin, Jetpack Compose and Material 3, built with Gradle Kotlin DSL.

Shared​

AreaChoice
ProtocolOne set of .proto files; the apps negotiate features with Hello.capabilities
CIGitHub Actions
Interface languagesTurkish and English