feat: initial api support

This commit is contained in:
LavaDesu 2025-04-14 21:07:05 +10:00
parent ad50e700d4
commit 4dd63b7d1d
Signed by: cilly
GPG key ID: 6500251E087653C9
20 changed files with 156 additions and 62 deletions

View file

@ -0,0 +1,7 @@
package moe.lava.banksia
import android.util.Log
actual fun log(tag: String, msg: String) {
Log.i(tag, msg)
}

View file

@ -1,9 +0,0 @@
package moe.lava.banksia
import android.os.Build
class AndroidPlatform : Platform {
override val name: String = "Android ${Build.VERSION.SDK_INT}"
}
actual fun getPlatform(): Platform = AndroidPlatform()