Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
04dfb12052 | |||
f0589b9b90 |
@ -1,13 +1,18 @@
|
|||||||
import Foundation
|
import Foundation
|
||||||
import PushMessageDefinitions
|
import PushMessageDefinitions
|
||||||
import SwiftUI
|
|
||||||
|
|
||||||
|
// Use crypto replacement on Linux
|
||||||
#if canImport(CryptoKit)
|
#if canImport(CryptoKit)
|
||||||
import CryptoKit
|
import CryptoKit
|
||||||
#else
|
#else
|
||||||
import Crypto
|
import Crypto
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
// Import network types on Linux
|
||||||
|
#if canImport(FoundationNetworking)
|
||||||
|
import FoundationNetworking
|
||||||
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
A client to interact with a push server.
|
A client to interact with a push server.
|
||||||
*/
|
*/
|
||||||
|
Reference in New Issue
Block a user