~repos /only-bible-app

#kotlin#android#ios

git clone https://pyrossh.dev/repos/only-bible-app.git

The only bible app you will ever need. No ads. No in-app purchases. No distractions.



file:

composeApp/src/commonMain/kotlin/dev/pyrossh/onlyBible/Platform.kt



package dev.pyrossh.onlyBible
import androidx.compose.runtime.Composable
import androidx.compose.ui.unit.Dp
enum class Platform {
Android,
IOS
}
expect fun getPlatform(): Platform
@Composable
expect fun getScreenWidth(): Dp
@Composable
expect fun getScreenHeight(): Dp
@Composable
expect fun playClickSound()
expect object ShareKit {
fun shareText(text: String)
}
@Composable
expect fun onThemeChange(themeType: ThemeType)
expect object SpeechService {
fun init(onStarted: () -> Unit, onEnded: () -> Unit)
fun dispose(onStarted: () -> Unit, onEnded: () -> Unit)
fun startTextToSpeech(voiceName: String, text: String)
fun stopTextToSpeech()
}