rememberLauncher
fun rememberLauncher(publishableKey: String, stripeAccountId: String? = null, callback: PaymentLauncher.PaymentResultCallback): PaymentLauncher
Deprecated
Use rememberPaymentLauncher() instead
Replace with
rememberPaymentLauncher(publishableKey, stripeAccountId, callback)
Content copied to clipboard
Create a PaymentLauncher used for Jetpack Compose.
This API uses Compose specific API rememberLauncherForActivityResult to register a ActivityResultLauncher into current activity, it should be called as part of Compose initialization path. The PaymentLauncher created is remembered across recompositions. Recomposition will always return the value produced by composition.