The Kotlin SDK provides Jetpack Compose components and API helpers for integrating Bible content into Android applications. See the source on GitHub.
Getting Started
-
Get your App Key
Register your app at platform.youversion.com to get a free App Key.
-
Install the SDK modules
Make sure
mavenCentral()is included in your repositories, then add the SDK modules to your app-levelbuild.gradle.kts:build.gradle.ktsplatform-coreprovides API access,platform-uiprovides components such asBibleCardandBibleText, andplatform-readerprovides the drop-inBibleReader. Include only the modules your app uses, then sync your project with Gradle files. -
Configure the SDK
Call
YouVersionPlatformConfiguration.configureonce during application startup:SampleApp.ktRegister that class in your manifest:
AndroidManifest.xml -
Display a Bible passage
BibleCardfetches a passage and renders its reference, text, version, and attribution.HomeScreen.kt
That's it! Your Android app can now display Bible content.
Next steps
- Components — explore
BibleCard,BibleText,BibleReader, sign-in, highlights, and Verse of the Day - Copyright & Attribution — display required Bible version copyright when building a custom layout
- Sample app — see the SDK in a working project