2 Commits
0.3.0 ... 0.4.2

Author SHA1 Message Date
04dfb12052 Import network module on linux 2022-06-09 15:40:40 +02:00
f0589b9b90 Remove unused import 2022-06-09 13:58:58 +02:00

View File

@ -1,13 +1,18 @@
import Foundation
import PushMessageDefinitions
import SwiftUI
// Use crypto replacement on Linux
#if canImport(CryptoKit)
import CryptoKit
#else
import Crypto
#endif
// Import network types on Linux
#if canImport(FoundationNetworking)
import FoundationNetworking
#endif
/**
A client to interact with a push server.
*/