From c7039b6b0f6ab0f99fefecac07196ada6da2221a Mon Sep 17 00:00:00 2001 From: Isidro Henoch Date: Fri, 3 Dec 2021 21:18:33 -0600 Subject: Inits the project --- shared/src/iosMain/kotlin/mx/trackermap/TrackerMap/Platform.kt | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 shared/src/iosMain/kotlin/mx/trackermap/TrackerMap/Platform.kt (limited to 'shared/src/iosMain/kotlin/mx') diff --git a/shared/src/iosMain/kotlin/mx/trackermap/TrackerMap/Platform.kt b/shared/src/iosMain/kotlin/mx/trackermap/TrackerMap/Platform.kt new file mode 100644 index 0000000..4c557dd --- /dev/null +++ b/shared/src/iosMain/kotlin/mx/trackermap/TrackerMap/Platform.kt @@ -0,0 +1,7 @@ +package mx.trackermap.TrackerMap + +import platform.UIKit.UIDevice + +actual class Platform actual constructor() { + actual val platform: String = UIDevice.currentDevice.systemName() + " " + UIDevice.currentDevice.systemVersion +} \ No newline at end of file -- cgit v1.2.3