Package-level declarations

Types

Link copied to clipboard
sealed interface SmsConsentError

Reasons the SMS User Consent flow can end without a code.

Functions

Link copied to clipboard
fun SmsUserConsentEffect(codeLength: Int, onCodeReceive: (code: String) -> Unit, onError: (error: SmsConsentError) -> Unit, senderPhoneNumber: String? = null, restartKey: Any? = Unit)

Reads a one-time code from the next incoming SMS using Google's SMS User Consent API.