When displaying Bible text, always display the Bible version's copyright attribution in accordance with its license agreement.
Components that handle attribution for you
The following components fetch and display attribution with the passage — no extra work is required:
BibleCard
BibleReader
Both components prefer the version's brief copyright value and fall back to promotionalContent when the brief value is unavailable.
If attribution matters for your screen and you do not need a custom layout, prefer one of these components.
Displaying attribution yourself
BibleText gives you full control over layout and does not display the passage reference, Bible version, or copyright. When you use it, you are responsible for displaying appropriate attribution.
Fetch the BibleVersion with YouVersionApi.bible.version(...) and render its copyright near the passage, falling back to promotionalContent when needed. The example waits for the metadata request before showing the passage so the text is never displayed without its attribution lookup having completed.
AttributedPassage.kt
import androidx.compose.foundation.layout.Columnimport androidx.compose.foundation.layout.Spacerimport androidx.compose.foundation.layout.heightimport androidx.compose.material3.Textimport androidx.compose.runtime.Composableimport androidx.compose.runtime.LaunchedEffectimport androidx.compose.runtime.getValueimport androidx.compose.runtime.mutableStateOfimport androidx.compose.runtime.rememberimport androidx.compose.runtime.setValueimport androidx.compose.ui.Modifierimport androidx.compose.ui.graphics.Colorimport androidx.compose.ui.unit.dpimport androidx.compose.ui.unit.spimport com.youversion.platform.core.api.YouVersionApiimport com.youversion.platform.core.bibles.domain.BibleReferenceimport com.youversion.platform.core.bibles.models.BibleVersionimport com.youversion.platform.ui.views.BibleTextimport kotlinx.coroutines.CancellationException@Composablefun AttributedPassage(reference: BibleReference) { var version by remember(reference.versionId) { mutableStateOf<BibleVersion?>(null) } var failed by remember(reference.versionId) { mutableStateOf(false) } LaunchedEffect(reference.versionId) { try { version = YouVersionApi.bible.version(reference.versionId) } catch (error: CancellationException) { throw error } catch (error: Exception) { failed = true } } when { failed -> Text("Unable to load copyright attribution for this passage.") version == null -> Text("Loading…") else -> Column { BibleText(reference = reference) Spacer(modifier = Modifier.height(12.dp)) version?.let { it.copyright ?: it.promotionalContent }?.let { attribution -> Text( text = attribution, color = Color.Gray, fontSize = 12.sp, ) } } }}
The BibleVersion metadata provides two related fields:
copyright — brief attribution to display near the verses.
promotionalContent — a fuller copyright or publisher notice, suitable for a version-details, settings, or about screen and used as the nearby attribution fallback when copyright is unavailable.
Some public-domain versions may not provide copyright text. Treat a successful response with a missing field differently from a failed metadata request.