Package-level declarations

Types

Link copied to clipboard

Why the SMS Retriever did not deliver a code.

Link copied to clipboard

Why SMS User Consent did not deliver a code.

Functions

Link copied to clipboard
fun SmsRetrieverEffect(length: OtpLength, onCode: (code: String) -> Unit, enabled: Boolean = true, restartKey: Any? = null, onFailure: (SmsRetrieverFailure) -> Unit = {})

Listens once for an SMS that carries the app's hash and delivers its verification code.

fun SmsRetrieverEffect(length: OtpLength, charset: OtpCharset, onCode: (code: String) -> Unit, enabled: Boolean = true, restartKey: Any? = null, onFailure: (SmsRetrieverFailure) -> Unit = {})

Like the numeric overload, with a charset that decides which codes are recognised.

Link copied to clipboard
fun SmsUserConsentEffect(length: OtpLength, onCode: (code: String) -> Unit, charset: OtpCharset = OtpCharset.NUMERIC, enabled: Boolean = true, restartKey: Any? = null, senderPhoneNumber: String? = null, onFailure: (SmsUserConsentFailure) -> Unit = {})

Listens once for an SMS and, after the user allows it, delivers its verification code.