aboutsummaryrefslogtreecommitdiff
path: root/shared/src/iosMain
diff options
context:
space:
mode:
authorIsidro Henoch <imhenoch@protonmail.com>2021-12-03 21:18:33 -0600
committerIsidro Henoch <imhenoch@protonmail.com>2021-12-03 21:18:33 -0600
commitc7039b6b0f6ab0f99fefecac07196ada6da2221a (patch)
treeab598ce96300b71607f9501bbb52b5ac6ea4528c /shared/src/iosMain
downloadetbsa-trackermap-mobile-c7039b6b0f6ab0f99fefecac07196ada6da2221a.tar.gz
etbsa-trackermap-mobile-c7039b6b0f6ab0f99fefecac07196ada6da2221a.tar.bz2
etbsa-trackermap-mobile-c7039b6b0f6ab0f99fefecac07196ada6da2221a.zip
Inits the project
Diffstat (limited to 'shared/src/iosMain')
-rw-r--r--shared/src/iosMain/kotlin/mx/trackermap/TrackerMap/Platform.kt7
1 files changed, 7 insertions, 0 deletions
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