Skip to content

Commit 5c96829

Browse files
committed
Fix compilation on android
1 parent 32eb1f5 commit 5c96829

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

Sources/JSONLogger.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
#if canImport(Android)
2+
import Android
3+
#endif
14
import Foundation
25

36
import GenericJSON

Tests/JSONLoggerTests/Helpers/FileHandleHelper.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
#if canImport(Android)
2+
import Android
3+
#endif
14
import Foundation
25

36

0 commit comments

Comments
 (0)